From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3812 invoked by alias); 7 Feb 2013 20:51:24 -0000 Received: (qmail 3791 invoked by uid 48); 7 Feb 2013 20:51:23 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15117] New: gdb should handle break foo.c:$conv_var better Date: Thu, 07 Feb 2013 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00212.txt.bz2 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.