public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/12464] New: breakpoint number cannot be accessed from "commands" body
@ 2011-02-04 18:45 rtc at gmx dot de
  2022-11-19 13:54 ` [Bug breakpoints/12464] " cvs-commit at gcc dot gnu.org
  2022-11-19 14:03 ` philippe.waroquiers at skynet dot be
  0 siblings, 2 replies; 3+ messages in thread
From: rtc at gmx dot de @ 2011-02-04 18:45 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-19 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-04 18:45 [Bug breakpoints/12464] New: breakpoint number cannot be accessed from "commands" body rtc at gmx dot de
2022-11-19 13:54 ` [Bug breakpoints/12464] " cvs-commit at gcc dot gnu.org
2022-11-19 14:03 ` philippe.waroquiers at skynet dot be

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).