public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/11746] Be able to set breakpoints using partial source paths
       [not found] <bug-11746-4717@http.sourceware.org/bugzilla/>
@ 2012-03-20 22:43 ` keiths at redhat dot com
  2014-09-12 22:23 ` sergiodj at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: keiths at redhat dot com @ 2012-03-20 22:43 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=11746

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-03-20
                 CC|                            |keiths at redhat dot com
   Target Milestone|7.1                         |7.5
     Ever Confirmed|0                           |1

--- Comment #2 from Keith Seitz <keiths at redhat dot com> 2012-03-20 22:43:11 UTC ---
I believe Tom fixed this:

2012-01-16  Tom Tromey  <tromey@redhat.com>

        * NEWS: Add item.
        * symtab.h (compare_filenames_for_search): Declare.
        * symtab.c (compare_filenames_for_search): New function.
        (iterate_over_some_symtabs): Use it.
        * symfile.h (struct quick_symbol_functions)
        <map_symtabs_matching_filename>: Change spec.
        * psymtab.c (partial_map_symtabs_matching_filename): Use
        compare_filenames_for_search.  Update for new spec.
        * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
        compare_filenames_for_search.  Update for new spec.
        * breakpoint.c (clear_command): Use compare_filenames_for_search.

$ ./gdb -nx -q foobar 
Reading symbols from /home/keiths/tmp/foobar...done.
(gdb) b foo/x.c:5
Breakpoint 1 at 0x400478: file foo/x.c, line 5.
(gdb) b bar/x.c:1
Breakpoint 2 at 0x400484: file bar/x.c, line 1.
(gdb) inf br
Num     Type           Disp Enb Address            What
1       breakpoint     keep y   0x0000000000400478 in main at foo/x.c:5
2       breakpoint     keep y   0x0000000000400484 in foo at bar/x.c:1

Doug, do you want to verify/confirm and close (if appropriate)?

-- 
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] 5+ messages in thread

* [Bug breakpoints/11746] Be able to set breakpoints using partial source paths
       [not found] <bug-11746-4717@http.sourceware.org/bugzilla/>
  2012-03-20 22:43 ` [Bug breakpoints/11746] Be able to set breakpoints using partial source paths keiths at redhat dot com
@ 2014-09-12 22:23 ` sergiodj at redhat dot com
  2014-09-12 22:32 ` dje at google dot com
  2014-09-12 22:32 ` dje at google dot com
  3 siblings, 0 replies; 5+ messages in thread
From: sergiodj at redhat dot com @ 2014-09-12 22:23 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=11746

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #3 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
Doug, could you please take a look and close this bug if appropriate?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/11746] Be able to set breakpoints using partial source paths
       [not found] <bug-11746-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-09-12 22:32 ` dje at google dot com
@ 2014-09-12 22:32 ` dje at google dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2014-09-12 22:32 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=11746

--- Comment #4 from dje at google dot com ---
(In reply to Sergio Durigan Junior from comment #3)
> Doug, could you please take a look and close this bug if appropriate?

Indeed it is.

@ruffy:play$ cat foo/main.c
int
main ()
{
  bar ();
  baz ();
  return 0;
}
@ruffy:play$ cat foo/bar/x.c
void
bar (void)
{
  return;
}
@ruffy:play$ cat foo/baz/x.c
void
baz (void)
{
  return;
}
@ruffy:play$ gcc -g foo/main.c foo/bar/x.c foo/baz/x.c
@ruffy:play$ gdb a.out
[...]
Reading symbols from a.out...done.
(gdb) b x.c:4
Breakpoint 1 at 0x400510: x.c:4. (2 locations)
(gdb) d
Delete all breakpoints? (y or n) y
(gdb) b bar/x.c:4
Breakpoint 2 at 0x400510: file foo/bar/x.c, line 4.
(gdb) b baz/x.c:4
Breakpoint 3 at 0x400517: file foo/baz/x.c, line 4.
(gdb) q

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/11746] Be able to set breakpoints using partial source paths
       [not found] <bug-11746-4717@http.sourceware.org/bugzilla/>
  2012-03-20 22:43 ` [Bug breakpoints/11746] Be able to set breakpoints using partial source paths keiths at redhat dot com
  2014-09-12 22:23 ` sergiodj at redhat dot com
@ 2014-09-12 22:32 ` dje at google dot com
  2014-09-12 22:32 ` dje at google dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2014-09-12 22:32 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=11746

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from dje at google dot com ---
fix confirmed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug breakpoints/11746] Be able to set breakpoints using partial source paths
  2010-06-23 23:46 [Bug breakpoints/11746] New: " dje at google dot com
@ 2010-06-23 23:47 ` dje at google dot com
  0 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2010-06-23 23:47 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From dje at google dot com  2010-06-23 23:47 -------
Errr, make the last sentence read:

..., IWBN if "break bar/x.c:42" worked.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11746

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-12 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11746-4717@http.sourceware.org/bugzilla/>
2012-03-20 22:43 ` [Bug breakpoints/11746] Be able to set breakpoints using partial source paths keiths at redhat dot com
2014-09-12 22:23 ` sergiodj at redhat dot com
2014-09-12 22:32 ` dje at google dot com
2014-09-12 22:32 ` dje at google dot com
2010-06-23 23:46 [Bug breakpoints/11746] New: " dje at google dot com
2010-06-23 23:47 ` [Bug breakpoints/11746] " dje at google 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).