error message : I'm sorry, Dave, I can't do that. Symbolformat 'elf32-xc16x' unknown.
Bhushan Attarde
Bhushan.Attarde@kpitcummins.com
Mon Sep 24 11:07:00 GMT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpu-xc16x.c
Type: application/octet-stream
Size: 2660 bytes
Desc: cpu-xc16x.c
URL: <http://sourceware.org/pipermail/gdb/attachments/20070924/ca12ca79/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32-xc16x.c
Type: application/octet-stream
Size: 13706 bytes
Desc: elf32-xc16x.c
URL: <http://sourceware.org/pipermail/gdb/attachments/20070924/ca12ca79/attachment-0001.obj>
More information about the Gdb
mailing list