This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 'next' command broken on sparc
- From: Mark Kettenis <kettenis at gnu dot org>
- To: stueken at conterra dot de
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 15 Feb 2005 21:07:58 -0500 (EST)
- Subject: Re: 'next' command broken on sparc
- References: <421208A4.7060607@conterra.de>
Date: Tue, 15 Feb 2005 15:35:16 +0100
From: =?ISO-8859-1?Q?Dieter_St=FCken?= <stueken@conterra.de>
I frequently observe the 'next' command not to stop
at then next line. Instead the program continues to the end.
Similar problems are reported some time ago in conjunction
with mips, threads or shlibs.
I doubt that this is related to the MIPS issue. Unfortunately it's
not easy to establish what the cause is. I noticed that you use gcc
3.4.3. It might be that the compiler is optimizing in ways that GDB
looses track. If you can't produce a smallish example that shows the
problem, can you provide me with the disassembled code from the
function where things go wrong, and the functions that are called by
that function around that point?
Mark