This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_varbetter


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]