Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 1998 05:10:37 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Cc:        dyson@freebsd.org
Subject:   gdb breakpoints broken
Message-ID:  <199801191810.FAA22505@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
Recent vm changes seem to have broken breakpoints:

---
Script started on Tue Jan 20 05:06:21 1998
ttyv0:bde@alphplex:/tmp> gdb /bin/cat
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)...
(gdb) b *0x1020
Breakpoint 1 at 0x1020
(gdb) r
Starting program: /bin/cat 
Cannot insert breakpoint 1:
Error accessing memory address 0x1020: Bad address.
(gdb) q
The program is running.  Quit anyway (and kill it)? (y or n) y
ttyv0:bde@alphplex:/tmp> exit

Script done on Tue Jan 20 05:06:37 1998
---

PT_WRITE_{D,I} fails.  PT_READ_I works.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801191810.FAA22505>