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/12464] New: breakpoint number cannot be accessedfrom "commands" body


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.


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