This is the mail archive of the gdb-patches@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]

Re: [PATCH] Add command resetbpnum for reset $bpnum


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


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