This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB/Coldfire bug
- To: Paul Breed <pbreed at yahoo dot com>
- Subject: Re: GDB/Coldfire bug
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 16 Feb 2000 18:15:38 +1100
- CC: gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <20000125215209.14490.qmail@web3501.mail.yahoo.com>
Paul Breed wrote:
>
> I'm a bit lost on how to solve my GDB problem.
> If this is the wrong newslist can you suggest the
> proper one?
>
> I am trying to use GDB/Insite in a cross compiler
> environment. I have a S/W GDB Stub running on the
> Coldfire. It seems to work great.
>
> GDB seems to have some problems....
> c -> continue works.
> s -> Step works.
> break x -> works.
> info locals works etc...
>
> n ->Step over does not work. It tries to read
> things off the stack and gets confused.
>
> >From what research I've done online I believe this
> problem is not really GDB, I believe it is a problem
> with the debugging information generated by the
> compiler. (gcc 2.95.2 configured for m68k-elf)
Ah. m68k. One thing. I recently fixed a bug to do with m68k stack
dumps - a back trace would fall off the end of the stack.
Was this with the most recent version of GDB?
Andrew
Wed Dec 8 19:56:48 1999 Andrew Cagney <cagney@b1.cygnus.com>
* frame.h, blockframe.c: Rename default_frame_chain_valid to
file_frame_chain_valid. Rename alternate_frame_chain_valid to
func_frame_chain_valid.
* config/sparc/tm-sparclite.h, config/mips/tm-mipsv4.h,
config/m88k/tm-delta88v4.h, config/m68k/tm-m68kv4.h,
config/m68k/tm-monitor.h, config/i386/tm-i386nw.h,
config/i386/tm-i386v4.h, config/h8300/tm-h8300.h: Update.
* mips-tdep.c (mips_gdbarch_init): Update.