From: Sachin Monga via Gdb <gdb@sourceware.org>
To: Peter Bergner <bergner@tenstorrent.com>
Cc: Sachin Monga <smonga@linux.ibm.com>,
Michael Meissner <meissner@linux.ibm.com>,
"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>,
Segher Boessenkool <segher@kernel.crashing.org>,
Adhemerval Zanella Netto via Gdb <gdb@sourceware.org>,
libc-help@sourceware.org, Tom Tromey <tom@tromey.com>,
Surya Kumari Jangala <jskumari@linux.ibm.com>,
Carl Love <cel@us.ibm.com>
Subject: Re: [EXT] Re: gdb does not stop at printf for ppc
Date: Wed, 15 Oct 2025 22:39:20 +0530 [thread overview]
Message-ID: <CALfcnBoLGEd4umNX-X6q+9V6rz4KgXNRMMntNrAPVbbYpiv5Fg@mail.gmail.com> (raw)
In-Reply-To: <6a0596af-bef7-48fe-9212-8ff83b99d475@tenstorrent.com>
Thanks Adhemerval/Peter
Ok, I can try for the printf and test it.
Regards:
Sachin.
On Wed, Oct 15, 2025 at 8:05 PM Peter Bergner via Libc-help <
libc-help@sourceware.org> wrote:
> On 10/7/25 12:21 PM, Adhemerval Zanella Netto wrote:
> > On 03/10/25 16:43, Tom Tromey wrote:
> >> Yes, DWARF can use DW_TAG_imported_declaration. However gdb's support
> >> for this is incomplete and you'd have to try it out to see if it's
> >> sufficient for this purpose.
> >
> > Thanks for the information, but it seems that it can not be easily
> created
> > by the compiler on C code (typedef creates DW_TAG_typedef and asm
> function
> > aliases do not generate DWARF entries); and relying on a possible
> incomplete
> > is kinda fragile because we would like to support old gdb releases.
> >
> > I think the local symbol aliases seems the best strategy.
>
>
> Ok, then I think we have a plan. Sachin, how about you use Adhemerval's
> local symbol alias solution and place it through some thorough testing?
>
> Peter
>
>
next prev parent reply other threads:[~2025-10-15 17:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f4e905f7-48cb-439a-a8e6-a50242c18e6a@linux.ibm.com>
2025-10-01 4:03 ` Peter Bergner via Gdb
2025-10-01 17:20 ` Adhemerval Zanella Netto via Gdb
2025-10-02 15:57 ` [EXT] " Peter Bergner via Gdb
2025-10-02 16:19 ` Carl Love via Gdb
2025-10-02 16:58 ` Florian Weimer via Gdb
2025-10-02 18:12 ` Peter Bergner via Gdb
2025-10-02 18:49 ` Billie Alsup (balsup) via Gdb
2025-10-02 19:09 ` Peter Bergner via Gdb
2025-10-03 19:43 ` Tom Tromey
2025-10-07 17:21 ` Adhemerval Zanella Netto via Gdb
2025-10-15 14:33 ` [EXT] " Peter Bergner via Gdb
2025-10-15 17:09 ` Sachin Monga via Gdb [this message]
2025-11-05 6:00 ` Sachin Monga via Gdb
2025-11-06 4:13 ` Peter Bergner via Gdb
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=CALfcnBoLGEd4umNX-X6q+9V6rz4KgXNRMMntNrAPVbbYpiv5Fg@mail.gmail.com \
--to=gdb@sourceware.org \
--cc=bergner@tenstorrent.com \
--cc=cel@us.ibm.com \
--cc=jskumari@linux.ibm.com \
--cc=libc-alpha@sourceware.org \
--cc=libc-help@sourceware.org \
--cc=meissner@linux.ibm.com \
--cc=sachin.monga82@gmail.com \
--cc=segher@kernel.crashing.org \
--cc=smonga@linux.ibm.com \
--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