This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/22754] New: spurious duplicate breakpoint warning with dprintf
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 27 Jan 2018 05:38:38 +0000
- Subject: [Bug breakpoints/22754] New: spurious duplicate breakpoint warning with dprintf
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22754
Bug ID: 22754
Summary: spurious duplicate breakpoint warning with dprintf
Product: gdb
Version: 8.0.1
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
If I set a breakpoint and then use dprintf at the same location,
I get a note from gdb. Here's an example from gdb running on itself:
(gdb) b main
Breakpoint 1 at 0x419d90: file ../../binutils-gdb/gdb/gdb.c, line 25.
(gdb) dprintf main,"%d\n", argc
Note: breakpoint 1 also set at pc 0x419d90.
Dprintf 2 at 0x419d90: file ../../binutils-gdb/gdb/gdb.c, line 25.
I think it would be better not to give the warning, as a breakpoint
and a dprintf are different sorts of things.
--
You are receiving this mail because:
You are on the CC list for the bug.