This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Use watchpoint's language when re-parsing expression


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]