This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add possibility to stop at thread events
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 02 Sep 2009 20:50:39 -0600
- Subject: Re: [RFC] Add possibility to stop at thread events
- References: <000301ca2be3$f534a8c0$df9dfa40$@u-strasbg.fr>
- Reply-to: tromey at redhat dot com
>>>>> "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