public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* fixing 'backtrace through sleep' on the cheap
@ 2003-08-04 23:40 Michael Elizabeth Chastain
  0 siblings, 0 replies; only message in thread
From: Michael Elizabeth Chastain @ 2003-08-04 23:40 UTC (permalink / raw)
  To: gdb

In a nutshell, the problem is that gdb 6.0 does a lot worse than
gdb 5.3 when it's backtracing through functions with no debug info
and a failed prologue analysis.

I'm about to write a patch for the i386 prologue analyzer so that it
recognizes a few more instructions that are turning up in common
prologues, particularly the code for 'sleep' in glibc 2.2.93-5-rh.

I don't know whether such a patch has any chance of approval.
I'm hoping this message will flush out any disapproval
before the patch plops onto the mailing list.

Elena Z suggested this earlier today, and I think it's the best way
forward since we have a gdb 6.0 release coming shortly.

For gdb 6.1 I agree with Daniel J's suggestion to use the 'abstract
interpretation' machinery in s390-tdep.c.

Michael C

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-04 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 23:40 fixing 'backtrace through sleep' on the cheap Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).