[PATCH] Add command resetbpnum for reset $bpnum
Stan Shebs
stanshebs@earthlink.net
Mon Sep 19 17:26:00 GMT 2011
On 9/18/11 9:16 AM, Hui Zhu wrote:
> Hi,
>
> I found we never set the breakpoint number back in GDB. And sometime,
> I fount that user need reset $bpnum to the current last number.
> So I make a patch add command resetbpnum for reset $bpnum to the last
> number of the current breakpoints.
>
>
I tend to think this would not be a good idea. Although I don't know
that we have a formal requirement that breakpoint numbers are all unique
within a session, it's certainly a common assumption that we rely on
when looking at user transcripts, testsuite runs, etc.
So before breaking before one of the longest-standing UI design
decisions in GDB, it seems like we ought to get a little more
understanding of why a user might want to reset breakpoint numbering.
Stan
stan@codesourcery.com
More information about the Gdb-patches
mailing list