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] Add possibility to stop at thread events


>>>>> "Pierre" == Pierre Muller <muller@ics.u-strasbg.fr> writes:

Pierre>   The patch below adds the possibility to stop
Pierre> the debuggee each time a thread is created or exited.

Pierre> +  add_setshow_zinteger_cmd ("stop-on-thread-events", class_support,
Pierre> +			    &stop_on_thread_events, _("\

Did you consider making this a "catch" command instead?  And
consequently having it show up in "info break"?

I think catch commands are preferable to other ad hoc "stopping"
commands, because users can put commands on a catch, but they can't
readily put commands on something like this.

Tom


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