gdb
[Top][All Lists]
Advanced

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

[Gdb] gdb output: Note: breakpoint -1 (disabled) also set at pc 0x0


From: Jeffrey Chang
Subject: [Gdb] gdb output: Note: breakpoint -1 (disabled) also set at pc 0x0
Date: Sat, 2 Dec 2006 18:07:34 -0500

Hi,

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
Warning:
Cannot insert breakpoint 2.
Error accessing memory address 0x0: Input/output error.

(gdb)


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.

--- Jeffrey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]