Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: stepping over longjmp
Date: Fri, 04 Aug 2006 13:19:00 -0000	[thread overview]
Message-ID: <20060804131913.GB26799@nevyn.them.org> (raw)
In-Reply-To: <17619.308.218261.761948@kahikatea.snap.net.nz>

On Fri, Aug 04, 2006 at 08:11:32PM +1200, Nick Roberts wrote:
> 
> With current CVS GDB and Fedora Core 5 i686 i386 GNU/Linux (2.6.17-1.2157 but
> also 2.6.15) when I try to step over longjmp (using next) I get the following
> error:
> 
>   Warning:
>   Cannot insert breakpoint -59.
>   Error accessing memory address 0x226092c5: Input/output error.
> 
> ISTR that this was also the case with FC4 and have only recently realised that
> you can step usefully step over a longjmp call after trying it on Mandrake 9
> (2.4.19)
> 
> Is this a known kernel problem or a bug in GDB?

Has nothing to do with the kernel.  I imagine that this is the problem
I discussed on this list a while ago, CC'd to libc-alpha; glibc now
uses a canary in the jmp_buf which GDB has no way to access.

Does export LD_POINTER_GUARD=0 make a difference?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-08-04 13:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04  8:13 Nick Roberts
2006-08-04 13:19 ` Daniel Jacobowitz [this message]
2006-08-04 22:20   ` Nick Roberts
2006-08-04 23:45     ` Daniel Jacobowitz
2006-08-05  2:10       ` Nick Roberts
2006-08-05  2:33         ` Daniel Jacobowitz
2006-08-05  6:10           ` Nick Roberts
2006-08-05 12:28             ` Eli Zaretskii
2006-08-05 12:40         ` Mark Kettenis
2006-08-05 14:07           ` 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=20060804131913.GB26799@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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