This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/12464] New: breakpoint number cannot be accessedfrom "commands" body
- From: "rtc at gmx dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 4 Feb 2011 18:45:14 +0000
- Subject: [Bug breakpoints/12464] New: breakpoint number cannot be accessedfrom "commands" body
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12464
Summary: breakpoint number cannot be accessed from "commands"
body
Product: gdb
Version: unknown
Status: NEW
Severity: enhancement
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: rtc@gmx.de
It would be nice to have a convenience variable inside a "commands" body that
contains the number of the associated breakpoint. I imagine something like:
break
commands
printf "This is breakpoint %d\n", $_break
end
--
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.