gdb/1736: Can not set breakpoints in the vsyscall page

Mark Kettenis mark.kettenis@xs4all.nl
Mon Jul 18 18:18:00 GMT 2005


The following reply was made to PR external/1736; it has been noted by GNATS.

From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: gdb-gnats@sourceware.org
Cc:  
Subject: Re: gdb/1736: Can not set breakpoints in the vsyscall page
Date: Mon, 18 Jul 2005 20:17:16 +0200 (CEST)

 [ Adding some blurb to make it possible to kfail for *-*-openbsd*. ]
 
 OpenBSD has a very similar issue.  Here the "signal trampoline" lives
 on a page that is mapped read-only at a random location in user space.
 This means that setting breakpoints is impossible too.  It's probably
 not desirable to change this in OpenBSD, so GDB should really fallback
 to single-stepping.
 
 It's likely that other BSD's have the same issue, although modern
 versions of NetBSD shouldn't be affected since their signal
 trampolines live in libc.
 
 Mark



More information about the Gdb-prs mailing list