This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/15165] New: problems saving dprintf breakpoints
- From: "keiths at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 Feb 2013 01:22:26 +0000
- Subject: [Bug breakpoints/15165] New: problems saving dprintf breakpoints
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15165
Bug #: 15165
Summary: problems saving dprintf breakpoints
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: keiths@redhat.com
Classification: Unclassified
(gdb) dprintf main,"hello"
Dprintf 1 at 0x4004dc: file comma.cc, line 13.
(gdb) save breakpoints bps
../../gdb/gdb/breakpoint.c:13309: internal-error: unhandled breakpoint type 29
A problem internal to GDB has been detected,
further debugging may prove unreliable.
We need to add a dprintf_print_recreate to "do the right thing."
There are no tests for this in the test suite at all (or the internal error
would have been seen long before now).
As a side note, simply adding bp_dprintf to the if/else chain in
bkpt_print_recreate isn't sufficient. It produces output like:
dprintf main
commands
printf "hello"
continue
end
which is invalid input. [dprintf /must/ have a format string argument]
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.