Re: [EXT] Re: gdb does not stop at printf for ppc
Sachin Monga via Libc-help <libc-help-9JcytcrH/[email protected]> Wed, 15 Oct 2025 22:39:20 +0530
| Newsgroups | gmane.comp.lib.glibc.user,gmane.comp.lib.glibc.alpha,gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CALfcnBoLGEd4umNX-X6q+9V6rz4KgXNRMMntNrAPVbbYpiv5Fg@mail.gmail.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-9JcytcrH/[email protected]> 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 > >