Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Core file shows stack correctly with GDB 5.3.9 but not with GDB 6.8
@ 2009-10-13 13:47 Avi Gozlan
  2009-10-13 14:14 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Gozlan @ 2009-10-13 13:47 UTC (permalink / raw)
  To: gdb; +Cc: Avi Gozlan

Hello,

Usually, when we open core files using GDB 6.8 the stack shows correctly (while GDB 5.3.9 shows '?? ()' for several frames).

However, from time to time we encounter core files for which the opposite is correct. Namely, we can see the stack correctly with 5.3.9 but not with 6.8.

This phenomenon happens on the same machine and executables are compiled using the same environment. We have no idea regarding the cause of this weird behavior. 

I would be thankful if you could shed some light on this issue.

Regards,

Avi

Email secured by Check Point

Email secured by Check Point


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Core file shows stack correctly with GDB 5.3.9 but not with  GDB 6.8
  2009-10-13 13:47 Core file shows stack correctly with GDB 5.3.9 but not with GDB 6.8 Avi Gozlan
@ 2009-10-13 14:14 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2009-10-13 14:14 UTC (permalink / raw)
  To: Avi Gozlan; +Cc: gdb

On Tue, Oct 13, 2009 at 03:46:47PM +0200, Avi Gozlan wrote:
> Hello,
> 
> Usually, when we open core files using GDB 6.8 the stack shows correctly (while GDB 5.3.9 shows '?? ()' for several frames).
> 
> However, from time to time we encounter core files for which the opposite is correct. Namely, we can see the stack correctly with 5.3.9 but not with 6.8.

What platform?  Also, I'm not aware of any GDB release marked "5.3.9".
If there was one, it would be very obsolete; GDB 5.3 was released in
December 2002.

> This phenomenon happens on the same machine and executables are compiled using the same environment. We have no idea regarding the cause of this weird behavior. 
> 
> I would be thankful if you could shed some light on this issue.

There's not enough information to make any useful statement.  In
general, don't focus on things that work on an older release - instead
focus on things that don't work on the new release.  In other words
the question is "why can't GDB 6.8 handle this core file".

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-13 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-13 13:47 Core file shows stack correctly with GDB 5.3.9 but not with GDB 6.8 Avi Gozlan
2009-10-13 14:14 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox