This is the mail archive of the gdb-prs@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]

tdep/2316: H8300 ELF binary not readable in gdb: elf32-h8300 unknown


>Number:         2316
>Category:       tdep
>Synopsis:       H8300 ELF binary not readable in gdb: elf32-h8300 unknown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 16:08:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     hiren@eecs.berkeley.edu
>Release:        GNU gdb 6.7.50_20070912
>Organization:
>Environment:
Cygwin
>Description:
I have cross-compiled for the h8300 architecture and the above mentioned snapshot of the gdb CVS is used. Using h8300-elf-gcc, I create an executable in the ELF format. However, when trying to load the file in h8300-elf-gdb, using file test-file, it gives me the following error:

I'm sorry, Dave, I can't do that.  Symbol format `elf32-h8300' unknown.
>How-To-Repeat:
With --target=h8300-elf
1. Compile binutils (2.13)
2. Compile gcc (3.2.1) core
3. Compile gdb (6.7.50_20070912)

Write a small test program: (Any will do)
Compile using:
h8300-elf-gcc -c test-prog.c
h8300-elf-ld -o test-prog.elf test-prog.o

Start GDB:
1. file test-prog.elf
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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