From: Simon Marchi <simon.marchi@polymtl.ca>
To: "Tomar, Sourabh Singh" <SourabhSingh.Tomar@amd.com>,
Tom Tromey <tom@tromey.com>,
"Tomar,
Sourabh Singh via Gdb-patches" <gdb-patches@sourceware.org>
Cc: "George, Jini Susan" <JiniSusan.George@amd.com>,
"Achra, Nitika" <Nitika.Achra@amd.com>,
"Sharma, Alok Kumar" <AlokKumar.Sharma@amd.com>,
"Kumar N, Bhuvanendra" <Bhuvanendra.KumarN@amd.com>,
"E, Nagajyothi" <Nagajyothi.E@amd.com>
Subject: Re: [PATCH] [gdb.base] Enable macro test for clang compiler
Date: Mon, 26 Apr 2021 15:38:09 -0400 [thread overview]
Message-ID: <66fa7d3e-5266-3055-47d4-c7c533140b89@polymtl.ca> (raw)
In-Reply-To: <MW2PR12MB2474C201C21E9A743A790F4A9D6B9@MW2PR12MB2474.namprd12.prod.outlook.com>
On 2021-03-16 1:14 a.m., Tomar, Sourabh Singh via Gdb-patches wrote:
> [AMD Public Use]
>
> Hi Tom,
>
>>> This is ok with one minor tweak. If you have write access (I didn't
>>> look) you can just fix it up and check it in.
> Thanks for reviewing this! I have made the suggested changes. I do not have write access(as of now),
> Could you please commit this on my behalf 😊
>
>>> The body of the if/elseif/else blocks should be indented.
>>> For Tcl, GDB uses a 4 space indent.
> Thanks for the pointers, I'll keep this in mind for future reviews/patches.
>
> ChangeLog:
> gdb/testsuite/ChangeLog
> 2021-03-16 Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
>
> * gdb.base/info-macros.exp: Append -fdebug-macro to
> additional_flags for clang.
> * gdb.base/macscp.exp: Likewise.
> * gdb.base/style.exp: Likewise.
> * gdb.linespec/macro-relative.exp: Likewise.
>
> Thanks,
> Sourabh.
Hi all,
This pattern will likely come up again in:
https://sourceware.org/pipermail/gdb-patches/2021-April/178210.html
I was thinking that we could come up with a new options keyword to
gdb_compile denoting that we want to include macros in the debug info?
This way the individual tests wouldn't have to know each compiler.
Something like:
gdb_compile ... {debug macros}
or
gdb_compile ... {debug-macros}
Simon
prev parent reply other threads:[~2021-04-26 19:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 15:45 Tomar, Sourabh Singh
2021-03-10 19:10 ` Tom Tromey
2021-03-12 5:38 ` Tomar, Sourabh Singh
2021-03-12 14:12 ` Tom Tromey
2021-03-15 5:47 ` Tomar, Sourabh Singh
2021-03-15 5:51 ` Tomar, Sourabh Singh
2021-03-15 19:40 ` Tom Tromey
2021-03-16 5:14 ` Tomar, Sourabh Singh
2021-03-19 5:43 ` Tomar, Sourabh Singh
2021-04-26 19:38 ` Simon Marchi [this message]
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=66fa7d3e-5266-3055-47d4-c7c533140b89@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=AlokKumar.Sharma@amd.com \
--cc=Bhuvanendra.KumarN@amd.com \
--cc=JiniSusan.George@amd.com \
--cc=Nagajyothi.E@amd.com \
--cc=Nitika.Achra@amd.com \
--cc=SourabhSingh.Tomar@amd.com \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).