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: [RFC] New threadnum command for breakpoints


On Fri, 2006-07-28 at 16:03 +0200, Andreas Schwab wrote:
> Frederic RISS <frederic.riss@st.com> writes:
> 
> > The attached patch doesn't try to solve the parsing issue, but it simply
> > adds a 'threadnum' command that one can use to (un)set the thread of a
> > particular breakpoint.  I'm not sure about the command name, because it
> > will conflict with the thread command. Suggestions appreciated.
> 
> Make it a subcommand of the thread command.

I thought of that, but I didn't like it: it mixes breakpoint and thread
functionality in a way that doesn't seem right... but that's just a
personal feeling that we take care not to . You suggest something like:

(gdb) thread breakpoint <bp> <tid>

Anyone else prefers it this way? 

Fred.


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