[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] user-defined command with variable no. of arguments
From: |
Philipp Krueckel |
Subject: |
[Gdb] user-defined command with variable no. of arguments |
Date: |
Mon, 25 Jun 2001 11:40:27 +0200 |
Hi,
how can I create a user-defined command that takes a variable number of
arguments?
The documentation of gdb mentions just the fixed argument case:
define adder
print $arg0 + $arg1 + $arg2
But how can I define a command which takes any number of arguments?
Thanks a log in advance,
Philipp
________________________________________________________________________
Philipp Krueckel phone: +49 (2407) 9558-80
Synopsys fax: +49 (2407) 9558-44
System Level Design vmail: +1 (650) 584 4141, box 9413
Kaiserstr. 100 email: address@hidden
52134 Herzogenrath, Germany web: http://www.synopsys.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] user-defined command with variable no. of arguments,
Philipp Krueckel <=