This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Calling class-methods in pascal (fpc)
- From: Tom Tromey <tromey at redhat dot com>
- To: Joost van der Sluis <joost at cnoc dot nl>
- Cc: gdb at sourceware dot org, Pierre Free Pascal <pierre at freepascal dot org>
- Date: Wed, 05 Oct 2011 12:04:20 -0600
- Subject: Re: Calling class-methods in pascal (fpc)
- References: <1316461626.3660.12.camel@feddie.cnoc.lan>
>>>>> "Joost" == Joost van der Sluis <joost@cnoc.nl> writes:
I didn't see a response to this.
Joost> Now to be able to fix this properly, I need to know what the function of
Joost> parse_expression() is compared to evaluate_expression()? To me it looks
Joost> like it that parse_expression is not needed at all.
parse_expression parses a string and yields an expression object (struct
expression).
evaluate_expression evaluates a struct expression.
Basically you want this split so that you can parse some expressions
once, then evaluate them many times. E.g., breakpoint conditions work
this way.
Tom