This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Avoid recursivly defined user functions.
- From: Andreas Schwab <schwab at suse dot de>
- To: Don Howard <dhoward at redhat dot com>
- Cc: Michael Snyder <msnyder at redhat dot com>, <Hilfinger at cs dot berkeley dot edu>,<gdb-patches at sources dot redhat dot com>
- Date: Tue, 09 Apr 2002 23:20:43 +0200
- Subject: Re: [RFA] Avoid recursivly defined user functions.
- References: <Pine.LNX.4.33.0204091325540.25679-100000@theotherone.redhat-remotie.org>
Don Howard <dhoward@redhat.com> writes:
|> Can you explain what you mean by "command invocation with arguments"?
You can pass arguments even to a user defined command (referenced in the
body with $argN), but your check compares the whole line with the command
name, so if you pass any arguments to a recursive invocation you'll miss
it.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."