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

gdb doesn't work right?



Hi,

I just noticed that gdb behaves unexpectedly with the latest snapshot:

OpenBSD 3.8-current (GENERIC) #207: Tue Oct 25 06:58:11 MDT 2005


/usr/src/usr.bin/mg% gdb ./mg
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-openbsd3.8"...
(gdb) break findbuffer
Breakpoint 1 at 0x1c005814: file file.c, line 186.
(gdb) run .
Starting program: /usr/src/usr.bin/mg/mg .
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1c005814: Input/output error.
Cannot insert breakpoint -2.
Error accessing memory address 0xafd2624: Input/output error.

What's going on? Are you already aware of this?



# Han