This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Function syntax
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sourceware dot org
- Date: Mon, 09 Jun 2008 17:55:10 -0600
- Subject: Re: Function syntax
- References: <m31w3ketw3.fsf_-_@fleche.redhat.com> <20080608182128.GA6248@caradoc.them.org> <1213018581.11485.7.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> I actually prefer the $func(...) syntax. Using $(func args) doesn't feel
Thiago> natural for non-LISP hackers. The former approach IMHO fits better with
Thiago> the current GDB syntax, and also with the imperative language used in
Thiago> the inferior.
Perhaps we can find a third syntax. As I said in my previous note, I
would prefer not to share the namespace with convenience variables.
I was thinking maybe some puncutation other than "$" -- but it is hard
to see what would work.
Tom