NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/46476: on i386, gdb silently fails to set a breakpoint on PaX-MPROTECTed binary



On May 23,  4:45pm, dyoung%ojctech.com@localhost (dyoung%ojctech.com@localhost) 
wrote:
-- Subject: toolchain/46476: on i386, gdb silently fails to set a breakpoint 

Works on current, what version is it broken (kernel version, userland version,
gdb version)?

GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from 
/net/shiny/src-6/NetBSD/cvsroot/src/external/gpl3/gdb/bin/gdb/hello...done.
(gdb) break main
Breakpoint 1 at 0x8048709: file hello.c, line 6.
(gdb) r
Starting program: 
/net/shiny/src-6/NetBSD/cvsroot/src/external/gpl3/gdb/bin/gdb/hello 
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x8048709: Input/output error.
Cannot insert breakpoint -1.
Temporarily disabling shared library breakpoints:
breakpoint #-1

(gdb) q



Home | Main Index | Thread Index | Old Index