gdb output: Note: breakpoint -1 (disabled) also set at pc 0x0
2006-12-02 23:07:34 GMT
I've recently encountered this error on my system:
# gdb ./myprogram
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...b mainUsing host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) b main
Breakpoint 1 at 0x8057c39: file ../../src/myprogram.cpp, line 111.
(gdb) b mylibrary.hpp:342
Note: breakpoint -1 (disabled) also set at pc 0x0.
Breakpoint 2 at 0x0: file ../../src/mylibrary.hpp, line 342.
(gdb) run -f ../../test/config.xml
Starting program: /path/to/myprogram -f ../../test/config.xml
Cannot insert breakpoint 2.
Error accessing memory address 0x0: Input/output error.
I've no clue on where this "breakpoint -1" comes from. "myprogarm" is a C++ programs linked with C++ template-based libaries, including STL & Boost.
Any hint on what to check for this type of problem is appreciated.
_______________________________________________ Gdb mailing list Gdb <at> gnu.org http://lists.gnu.org/mailman/listinfo/gdb