Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Simon Richter <Simon.Richter@hogyros.de>
Cc: gdb@sourceware.org
Subject: Re: Stepping over longjmp presumably broken for glibc
Date: Sat, 24 Dec 2005 11:59:00 -0000	[thread overview]
Message-ID: <uwthuzowo.fsf@gnu.org> (raw)
In-Reply-To: <43AC3B63.7090705@hogyros.de> (message from Simon Richter on Fri, 	23 Dec 2005 19:01:07 +0100)

> Date: Fri, 23 Dec 2005 19:01:07 +0100
> From: Simon Richter <Simon.Richter@hogyros.de>
> Cc: gdb@sourceware.org
> 
> Eli Zaretskii wrote:
> 
> > If glibc maintainers actively fight the debugger's ability to debug
> > their code, we will never succeed in catching up with them.  So I'd
> > rather they stopped with that attitude and started cooperating with
> > us.  I can ask RMS to try to influence the glibc team, if you think
> > this will help.
> 
> I think it's another issue of debug vs. non-debug binaries. Any debugger 
> will have a hard time finding the end of a higher-language construct in 
> a non-debug binary. A debug binary on the other hand should not intermix 
> constructs and take care to have enough hints for the debugger to find 
> out stuff. A glibc for debugging should hence store usable pointers, and 
> people should use a debug build when debugging the glibc.

Are we talking about the same thing?  I'm not talking about stepping
inside setjmp and longjmp, I'm talking about stepping thru code that
calls longjmp.  When you `step' or `next' thru such a code, you want
GDB to follow the jump as the running code will.  This should happen
even if the library does not have debugging info in it.


  reply	other threads:[~2005-12-24 11:59 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 21:17 Daniel Jacobowitz
2005-12-23  3:32 ` Jim Blandy
2005-12-23  8:25 ` Eli Zaretskii
2005-12-23 13:20   ` Daniel Jacobowitz
2005-12-23 15:16     ` Eli Zaretskii
2005-12-23 15:20       ` Daniel Jacobowitz
2005-12-23 17:07         ` Eli Zaretskii
2005-12-23 17:09           ` Daniel Jacobowitz
2005-12-23 17:46             ` Eli Zaretskii
2005-12-23 18:01               ` Simon Richter
2005-12-24 11:59                 ` Eli Zaretskii [this message]
2005-12-24 16:23               ` Daniel Jacobowitz
2005-12-24 16:36                 ` Eli Zaretskii
2005-12-24 16:59                   ` Daniel Jacobowitz
2005-12-26  4:06                   ` Jim Blandy
2005-12-26  5:19                     ` Eli Zaretskii
2005-12-27  4:24                       ` Jim Blandy
2005-12-30  2:38                         ` Daniel Jacobowitz
2005-12-30  9:32                           ` Mark Kettenis
2005-12-30 16:25                             ` Daniel Jacobowitz
2006-01-02  5:25                               ` Jim Blandy
2006-01-06 19:43                                 ` Daniel Jacobowitz
2006-01-06 20:28                                   ` Jim Blandy
2006-01-06 20:36                                     ` Daniel Jacobowitz
2006-01-06 20:53                                       ` Jim Blandy
2006-01-06 21:27                                       ` Mark Kettenis
2006-01-06 21:28                                         ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uwthuzowo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Simon.Richter@hogyros.de \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox