public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/31891] New: linespec should combine file- and symbol-searching
@ 2024-06-13 16:30 tromey at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: tromey at sourceware dot org @ 2024-06-13 16:30 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31891
           Summary: linespec should combine file- and symbol-searching
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

While working on this patch:

https://sourceware.org/pipermail/gdb-patches/2024-June/209954.html

... I found an oddity in linespec.

If you use "break file.c:function", linespec will first
expand all CUs mentioning "file.c" -- see collect_symtabs_from_filename.

However, it's more efficient to do file and symbol matching
at the same time, via expand_symtabs_matching.

-- 
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:[~2024-06-13 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 16:30 [Bug breakpoints/31891] New: linespec should combine file- and symbol-searching tromey at sourceware dot org

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).