This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2497: breakpoint.c:4161: internal-error: allegedly permanent breakpoint is not actually inserted
- From: dave dot anglin at nrc-cnrc dot gc dot ca
- To: gdb-gnats at sources dot redhat dot com
- Date: 10 Aug 2008 17:56:08 -0000
- Subject: gdb/2497: breakpoint.c:4161: internal-error: allegedly permanent breakpoint is not actually inserted
- Reply-to: dave dot anglin at nrc-cnrc dot gc dot ca
>Number: 2497
>Category: gdb
>Synopsis: breakpoint.c:4161: internal-error: allegedly permanent breakpoint is not actually inserted
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Aug 10 17:58:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dave Anglin
>Release: 6.8.50.20080810-cvs
>Organization:
>Environment:
hppa64-hp-hpux11.11
>Description:
int
main ()
{
return 0;
}
# gcc -o main -g main.c
# gdb/gdb main
GNU gdb (GDB) 6.8.50.20080810-cvs
Copyright (C) 2008 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 "hppa64-hp-hpux11.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) r
Starting program: /xxx/gnu/gdb/objdir/main
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
warning: Loadable segment ".tbss" outside of ELF segments
warning: Loadable segment ".tbss" outside of ELF segments
Program exited normally.
(gdb) break main
Breakpoint 1 at 0x4000000000002a38: file main.c, line 4.
../../src/gdb/breakpoint.c:4161: internal-error: allegedly permanent breakpoint is not actually inserted
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
Or,
# gdb/gdb main
GNU gdb (GDB) 6.8.50.20080810-cvs
Copyright (C) 2008 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 "hppa64-hp-hpux11.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) break main
Breakpoint 1 at 0x4000000000002a38: file main.c, line 4.
(gdb) r
Starting program: /xxx/gnu/gdb/objdir/main
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
warning: Loadable segment ".tbss" outside of ELF segments
warning: Loadable segment ".tbss" outside of ELF segments
Breakpoint 1, main () at main.c:4
4 return 0;
(gdb) c
Continuing.
Program exited normally.
(gdb) del 1
../../src/gdb/breakpoint.c:4161: internal-error: allegedly permanent breakpoint is not actually inserted
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
This problem doesn't seem to be present in 6.8.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: