This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_varbetter
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 07 Feb 2013 20:51:23 +0000
- Subject: [Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_varbetter
- Auto-submitted: auto-generated
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.