This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Watchpoints: support for thread <thread_num> parameters
- From: Andreas Schwab <schwab at suse dot de>
- To: luisgpm at linux dot vnet dot ibm dot com
- Cc: Daniel Jacobowitz <drow at false dot org>, Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Tue, 13 Nov 2007 16:38:50 +0100
- Subject: Re: [patch] Watchpoints: support for thread <thread_num> parameters
- References: <1187298178.5853.11.camel@localhost> <uwsvuv4re.fsf@gnu.org> <1187365616.4520.14.camel@localhost> <20071011193558.GE30810@caradoc.them.org> <1192134591.18528.1.camel@localhost> <1194961811.4820.3.camel@localhost>
Luis Machado <luisgpm@linux.vnet.ibm.com> writes:
> + /* Make sure that we actually have parameters to parse. */
> + if (arg != NULL && strlen (arg) >= 1)
if (arg != NULL && arg[0] != '\0')
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."