This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Use watchpoint's language when re-parsing expression
- From: Andreas Schwab <schwab at suse dot de>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 May 2017 09:37:55 +0200
- Subject: Re: [RFA] Use watchpoint's language when re-parsing expression
- Authentication-results: sourceware.org; auth=none
- References: <20170518023916.19913-1-tom@tromey.com>
On Mai 17 2017, Tom Tromey <tom@tromey.com> wrote:
> So, in the end I made a hook to let each language choose what
> expression to use. I made all the languages other than Rust use the C
> expression, because that is the status quo ante. However, this is
> probably not truly correct. After this patch, at least, it is easy to
> correct by someone who knows the language(s) in question.
The docs say that gdb is supposed to support C style casts in every
language. Also, there is the {type} operator that is also supported in
every language.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."