From: Tom Tromey <tromey@adacore.com>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Add some error checking to DWARF assembler
Date: Wed, 31 Mar 2021 09:24:47 -0600 [thread overview]
Message-ID: <874kgrtkg0.fsf@tromey.com> (raw)
In-Reply-To: <87im5oxixi.fsf@tromey.com> (Tom Tromey's message of "Thu, 18 Mar 2021 15:15:21 -0600")
Andrew> Maybe I'm over thinking this, but you could change this to:
Tom> Here's the definitive (IMNSHO) over-thinking approach. It works by
Tom> having the helper proc set the necessary variables for the caller.
Tom> One problem I thought of with that approach is that if you typo the code
Tom> in one case, you could pick up a local variable set from some previous
Tom> case.
Tom> Switching this to use an array that's cleared after every opcode avoids
Tom> this problem.
I'm checking this in now.
Tom
next prev parent reply other threads:[~2021-03-31 15:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 15:58 Tom Tromey
2021-03-18 17:15 ` Andrew Burgess
2021-03-18 18:22 ` Tom Tromey
2021-03-18 21:15 ` Tom Tromey
2021-03-31 15:24 ` Tom Tromey [this message]
2021-03-31 20:07 ` Andrew Burgess
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=874kgrtkg0.fsf@tromey.com \
--to=tromey@adacore.com \
--cc=gdb-patches@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).