Re: [patch] Watchpoints: support for thread <thread_num> parameters

Andreas Schwab
2007-11-13T15:38:59Z

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."