This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9573] Breakpoints discard file/line numberinformations
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 1 Aug 2011 16:44:11 +0000
- Subject: [Bug breakpoints/9573] Breakpoints discard file/line numberinformations
- Auto-submitted: auto-generated
- References: <bug-9573-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9573
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |tromey at redhat dot com
Resolution| |FIXED
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-08-01 16:43:19 UTC ---
I made a multi-location breakpoint and it seems to work fine for me:
(gdb)
-break-insert thefile.c:3
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="thefile.c:3"},{number="1.1",enabled="y",addr="0x000000000040048b",func="n",file="b/thefile.c",fullname="/home/tromey/gnu/PRS/rh499176/SubdirCase/b/thefile.c",line="3"},{number="1.2",enabled="y",addr="0x000000000040047b",func="m",file="b/thefile.c",fullname="/home/tromey/gnu/PRS/rh499176/SubdirCase/a/thefile.c",line="3"}
(gdb)
-break-list
^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<MULTIPLE>",times="0",original-location="thefile.c:3"},{number="1.1",enabled="y",addr="0x000000000040048b",func="n",file="b/thefile.c",fullname="/home/tromey/gnu/PRS/rh499176/SubdirCase/b/thefile.c",line="3"},{number="1.2",enabled="y",addr="0x000000000040047b",func="m",file="b/thefile.c",fullname="/home/tromey/gnu/PRS/rh499176/SubdirCase/a/thefile.c",line="3"}]}
If it still fails for you, please reopen and provide a simple test case.
--
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.