[uClinux-dev] gdb problem form m68k-coff platform

David McCullough davidm at snapgear.com
Fri Nov 23 18:50:17 EST 2001


Jivin Frederic Gobry lays it down ...
> Hi,
> 
> I'd like to use gdb to check the location of failures in some
> excutables built with m68k-pic-coff-gcc. I don't need to run the
> actual program with gdbserver, as I got a nice kernel trace of the
> problem.
> 
> So I thought compiling gdb-4.18 with --target=m68k-unknown-coff would
> provide me with a working tool. Unfortunately, I get the following
> nice message:
> 
> > I'm sorry, Dave, I can't do that.  Symbol format `coff-m68k' unknown.
> 
> After investigating, it seems gdb is not built to read coff files in
> spite of the target value. Forcing the initialization of the coff
> format causes gdb to crash when it opens the symbol table.
> 
> Is this a known problem ? Am I supposed to use the full gdb/gdbserver
> stuff ?

With gdb-5.0,  ./configure --target=m68k-coff appears to work.

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102, Oz
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list