From: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
To: Tom Tromey <tom@tromey.com>
Cc: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH][gdb/testsuite] Support .debug_aranges in dwarf assembly
Date: Fri, 27 Aug 2021 13:03:43 -0400 [thread overview]
Message-ID: <5100b9c9-0a69-d392-1d45-9affe992acff@polymtl.ca> (raw)
In-Reply-To: <87tujaoofr.fsf@tromey.com>
On 2021-08-27 12:14 p.m., Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>
> Simon> Could we consistently use the
> Simon> "options" pattern, such as the one used by aranges and cu?
>
> Yeah, that would be fine by me.
>
>>> This is nested in 'aranges', but that's weird style in Tcl.
>>> It redefines the proc every time 'aranges' is invoked.
>>> I think it's better to just namespace scope this.
>
> Simon> But doing it this way makes it so that you can only invoke arange when
> Simon> you are in aranges' body, isn't that useful? I guess the downside to
> Simon> redefining the proc everytime is performance, but that's really not a
> Simon> concern here (it runs quickly enough).
>
> To do that, it also have to delete the 'arange' proc after evaluating
> the body. I suppose that would be alright by me.
Really? This technique is used in proc rnglists, and that doesn't seem
to cause a problem.
Simon
next prev parent reply other threads:[~2021-08-27 17:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 11:56 Tom de Vries via Gdb-patches
2021-08-27 13:35 ` Tom Tromey
2021-08-27 14:39 ` Tom de Vries via Gdb-patches
2021-08-27 15:09 ` Simon Marchi via Gdb-patches
2021-08-27 16:11 ` Keith Seitz via Gdb-patches
2021-08-27 16:14 ` Tom Tromey
2021-08-27 17:03 ` Simon Marchi via Gdb-patches [this message]
2021-08-27 17:10 ` Tom Tromey
2021-08-27 17:23 ` Simon Marchi via Gdb-patches
2021-08-28 15:31 ` Tom de Vries via Gdb-patches
2021-08-28 20:29 ` Simon Marchi via Gdb-patches
2021-08-28 21:28 ` Simon Marchi via Gdb-patches
2021-08-29 15:31 ` Tom de Vries via Gdb-patches
2021-08-29 19:54 ` Simon Marchi via Gdb-patches
2021-08-29 21:11 ` Tom de Vries via Gdb-patches
2021-08-30 8:35 ` Tom de Vries via Gdb-patches
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=5100b9c9-0a69-d392-1d45-9affe992acff@polymtl.ca \
--to=gdb-patches@sourceware.org \
--cc=simon.marchi@polymtl.ca \
--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