public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/9573] Breakpoints discard file/line number informations
       [not found] <bug-9573-4717@http.sourceware.org/bugzilla/>
@ 2011-08-01 16:44 ` tromey at redhat dot com
  0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2011-08-01 16:44 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-01 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9573-4717@http.sourceware.org/bugzilla/>
2011-08-01 16:44 ` [Bug breakpoints/9573] Breakpoints discard file/line number informations tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).