public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_var better
@ 2013-02-07 20:51 dje at google dot com
  2023-12-14 19:29 ` [Bug breakpoints/15117] " ssbssa at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dje at google dot com @ 2013-02-07 20:51 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15117
           Summary: gdb should handle break foo.c:$conv_var better
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com
    Classification: Unclassified


(gdb) set $main_lineno = 6
(gdb) b hello.c:$main_lineno
Undefined convenience variable or function "$main_lineno" not defined in
"hello.c".
Make breakpoint pending on future shared library load? (y or [n]) n

gdb knows it has a convenience variable, seems like it should have done the
expected thing.
At the very least a better error message is warranted. :-)

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

* [Bug breakpoints/15117] gdb should handle break foo.c:$conv_var better
  2013-02-07 20:51 [Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_var better dje at google dot com
@ 2023-12-14 19:29 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-14 19:29 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |7.8
         Resolution|---                         |FIXED

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
I've just tried this, and it works for me even with the oldest version I could
test with, which is gdb-7.8.

I don't know when exactly this was fixed, but a test for this was added here:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=c888a17da5c7b06eec4b1ed21e4afe84f9a41347

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

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

end of thread, other threads:[~2023-12-14 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 20:51 [Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_var better dje at google dot com
2023-12-14 19:29 ` [Bug breakpoints/15117] " ssbssa 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).