From: Luis Machado <luis.machado@arm.com>
To: Simon Marchi <simark@simark.ca>,
William Ferreira <wqferr@gmail.com>,
gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb] Create script to convert old tests into Dwarf::assemble calls.
Date: Thu, 5 Dec 2024 17:48:25 +0000 [thread overview]
Message-ID: <fcfdd8ad-d7b1-40c5-a1b4-71d3b3fafb4b@arm.com> (raw)
In-Reply-To: <b8d1846a-be07-4c02-a136-36ab4476c59b@simark.ca>
On 12/5/24 17:46, Simon Marchi wrote:
>
>
> On 2024-12-05 12:37, Luis Machado wrote:
>> On 12/5/24 17:25, Simon Marchi wrote:
>>>
>>>
>>> On 2024-12-05 08:55, William Ferreira wrote:
>>>> PR testsuite/32261 requests a script that could convert old .S-based
>>>> tests (that were made before dwarf.exp existed) into the new
>>>> Dwarf::assemble calls in Tcl. This commit is an initial implementation
>>>> of such a script. Python was chosen for convenience, and only relies on
>>>> a single external library.
>>>
>>> Thanks for doing this. I don't have time for a deep review right now,
>>> but I have a few superficial comments.
>>>
>>> I'm not sure I would put it under testsuite/lib. This directory
>>> contains stuff used by the tests themselves (expect code) of test
>>> programs. Maybe right under testsuite? There are already two Python
>>> utils there.
>>
>> How about gdb/contrib?
>>
>
> I wouldn't expect to find things specific to the testsuite there.
Fair enough. Contrib feels like a place to put misc helpers/scripts/tools that
get used sporadically.
>
> Of course, to contradict that, I see there is:
>
> expect-read1.c
> expect-read1.sh
>
> It seems like gdb/contrib/expect-read1.c is a simpler version of
> gdb/testsuite/read1.c. I wonder if the copy in contrib is really
> used...
>
> Simon
next prev parent reply other threads:[~2024-12-05 17:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-05 13:55 William Ferreira
2024-12-05 17:25 ` Simon Marchi
2024-12-05 17:37 ` Luis Machado
2024-12-05 17:46 ` Simon Marchi
2024-12-05 17:48 ` Luis Machado [this message]
2024-12-09 20:30 ` Tom Tromey
2024-12-17 16:43 ` Guinevere Larsen
2024-12-17 21:36 ` William Ferreira
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=fcfdd8ad-d7b1-40c5-a1b4-71d3b3fafb4b@arm.com \
--to=luis.machado@arm.com \
--cc=gdb-patches@sourceware.org \
--cc=simark@simark.ca \
--cc=wqferr@gmail.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