List Info

Thread: RE: error message : I'm sorry, Dave, I can't do that. Symbolformat 'elf32-xc16x' unknown.




RE: error message : I'm sorry, Dave, I can't do that. Symbolformat 'elf32-xc16x' unknown.
country flaguser name
United States
2007-09-24 05:07:50
Hi Daniel,

	First of all thanks for your reply.
I searched " bfd_get_elf_phdr_upper_bound"
function, I found it in the
following files:
 
bfdbfd-in.h
bfdbfd-in2.h
bfdelf.c
gdbconfigure.ac
gdbconfigure
gdbelfread.c

but I didn't find this function in any of the processor
specific file so
I am little confused where to add this function to work for
our target.

For reference I am sending "elf32-xc16x.c" &
cpu-xc16x.c" files as
attachment to this mail.

 
 
Best Regards,
Bhushan Attarde
-----Original Message-----
From: Daniel Jacobowitz [mailto:drowfalse.org] 
Sent: Wednesday, September 19, 2007 7:54 PM
To: Bhushan Attarde
Cc: gdbsourceware.org
Subject: Re: error message : I'm sorry, Dave, I can't do
that.
Symbolformat 'elf32-xc16x' unknown.

On Wed, Sep 19, 2007 at 07:35:25PM +0530, Bhushan Attarde
wrote:
> And got the following output :
> 
> test_flavour 3.. our flavour  5...
> test_flavour 2.. our flavour  5...
> test_flavour 1.. our flavour  5...
> I'm sorry, Dave, I can't do that.  Symbol format
'elf32-xc16x'
unknown.

This means that GDB supports a.out, coff, and ecoff.  4 and
5 are
xcoff and ELF.

Earlier versions of GDB always included ELF support.  New
versions
only include ELF support if they detect ELF support in BFD,
by
compiling a program which uses bfd_get_elf_phdr_upper_bound
(see
gdb/configure.ac).  So is this function missing from BFD
for xc16x?  If so how?  It looks to me like it should be
there.

-- 
Daniel Jacobowitz
CodeSourcery

  
  
Re: error message : I'm sorry, Dave, I can't do that. Symbolformat 'elf32-xc16x' unknown.
country flaguser name
United States
2007-09-24 06:08:02
On Mon, Sep 24, 2007 at 03:37:50PM +0530, Bhushan Attarde
wrote:
> but I didn't find this function in any of the processor
specific file so
> I am little confused where to add this function to work
for our target.

Is it in libbfd.a?  What does gdb/config.log say about it?

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )