Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Use watchpoint's language when re-parsing expression
Date: Thu, 18 May 2017 07:37:00 -0000	[thread overview]
Message-ID: <mvminky1up8.fsf@suse.de> (raw)
In-Reply-To: <20170518023916.19913-1-tom@tromey.com> (Tom Tromey's message of	"Wed, 17 May 2017 20:39:16 -0600")

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


  reply	other threads:[~2017-05-18  7:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18  2:39 Tom Tromey
2017-05-18  7:37 ` Andreas Schwab [this message]
2017-05-18 21:42   ` Tom Tromey
2017-05-19 13:51     ` Joel Brobecker
2017-05-19 14:32       ` Pedro Alves
2017-05-20  4:07         ` Tom Tromey
2017-05-20  8:24           ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvminky1up8.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox