This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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:
 
bfd\bfd-in.h
bfd\bfd-in2.h
bfd\elf.c
gdb\configure.ac
gdb\configure
gdb\elfread.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:drow@false.org] 
Sent: Wednesday, September 19, 2007 7:54 PM
To: Bhushan Attarde
Cc: gdb@sourceware.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

Attachment: cpu-xc16x.c
Description: cpu-xc16x.c

Attachment: elf32-xc16x.c
Description: elf32-xc16x.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]