unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu via Libc-alpha" <libc-alpha@sourceware.org>
To: Daniel Walker <danielwa@cisco.com>
Cc: Florian Weimer <fweimer@redhat.com>,
	"Nikola Tesic -X \(ntesic - SYRMIA DOO NOVI SAD at Cisco\)"
	<ntesic@cisco.com>,
	"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>,
	Pedro Alves <palves@redhat.com>,
	"Jeremy Stenglein \(jstengle\)" <jstengle@cisco.com>,
	"xe-linux-external\(mailer list\)" <xe-linux-external@cisco.com>
Subject: Re: [RFC PATCH 0/3] implement dlmopen hooks for gdb
Date: Wed, 28 Jul 2021 11:48:42 -0700	[thread overview]
Message-ID: <CAMe9rOp3fHsLpOQi69q6MZ0q6QdZM_A25vF-eYTv=H5P2goxAA@mail.gmail.com> (raw)
In-Reply-To: <20210728183338.GH1633923@zorba>

On Wed, Jul 28, 2021 at 11:34 AM Daniel Walker via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> On Fri, Sep 18, 2020 at 05:40:30PM +0200, Florian Weimer wrote:
> > * Daniel Walker:
> >
> > > On Thu, Sep 17, 2020 at 09:53:30AM -0400, Carlos O'Donell wrote:
> > >> On 9/17/20 8:59 AM, Florian Weimer wrote:
> > >> > * Carlos O'Donell:
> > >> >
> > >> >> You will always have .dynsym with a definition for _r_debug_dlmopen.
> > >> >
> > >> > Note that this doesn't work if you just have a core file.  In order to
> > >> > find _r_debug (or _r_debug_dlmopen), a debugger needs the exact same
> > >> > copy of ld.so that was used by the executable, otherwise the symbol
> > >> > cannot be found in the image.
> > >>
> > >> You are correct.
> > >>
> > >> I followed up on my own email regarding this.
> > >>
> > >> So in the end to get process and core file debugging we'll need:
> > >>
> > >> * _r_debug_dlmopen
> > >> * DT_DEBUG_DLMOPEN
> > >>
> > >
> > > It seems like adding DT_DEBUG_DLMOPEN into the gABI might take some
> > > effort. Have you considered this ? The last one which was added was
> > > DT_SYMTAB_SHNDX in 2018, and it looks like it did not come from glibc.
> >
> > We are reviving GNU gABI maintenance.  There's been quite a bit of list
> > activity, and a proposal of a first ABI document:
> >
> >   <https://sourceware.org/pipermail/gnu-gabi/2020q3/thread.html>
> >
> > I have a feeling that we might be soon over this bump, and getting
> > things added should become easier.
> >
> > In the meantime, can we demo this feature without DT_DEBUG_DLMOPEN?
> > With a patch glibc and gdb?  Incidentally, I have an LD_AUDIT issue I
> > need to debug. 8-)
>
> Do you know what the status of taking over the gABI is ?

Cary made an announcement last August:

https://groups.google.com/g/generic-abi/c/9OO5vhxb00Y/m/D-PCPis_CAAJ

But I didn't see the github URL.

-- 
H.J.

  reply	other threads:[~2021-07-28 18:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 19:32 [RFC PATCH 0/3] implement dlmopen hooks for gdb Daniel Walker via Libc-alpha
2020-06-26 21:17 ` Carlos O'Donell via Libc-alpha
2020-07-23 18:40   ` Daniel Walker (danielwa) via Libc-alpha
2020-07-23 21:20     ` Carlos O'Donell via Libc-alpha
2020-09-16 16:18       ` Daniel Walker (danielwa) via Libc-alpha
2020-09-17 12:52         ` Carlos O'Donell via Libc-alpha
2020-09-17 12:59           ` Florian Weimer via Libc-alpha
2020-09-17 13:53             ` Carlos O'Donell via Libc-alpha
2020-09-18 15:35               ` Daniel Walker (danielwa) via Libc-alpha
2020-09-18 15:40                 ` Florian Weimer via Libc-alpha
2020-09-21 20:02                   ` Daniel Walker (danielwa) via Libc-alpha
2021-07-28 18:33                   ` Daniel Walker via Libc-alpha
2021-07-28 18:48                     ` H.J. Lu via Libc-alpha [this message]
2020-09-17 13:52           ` Carlos O'Donell via Libc-alpha
2020-09-22 17:06       ` Florian Weimer via Libc-alpha
2020-09-22 17:28         ` Carlos O'Donell via Libc-alpha
2020-09-22 17:37           ` Florian Weimer via Libc-alpha
2020-09-22 17:59             ` Carlos O'Donell via Libc-alpha
2020-09-22 18:04               ` Florian Weimer via Libc-alpha
2020-09-22 18:41                 ` Carlos O'Donell via Libc-alpha
2020-09-22 18:44                   ` Florian Weimer via Libc-alpha
2020-09-22 18:46                     ` Carlos O'Donell via Libc-alpha
2020-09-22 18:17               ` Andreas Schwab
2020-09-22 19:13                 ` Carlos O'Donell via Libc-alpha
2020-06-26 21:30 ` Florian Weimer via Libc-alpha
2020-06-27  1:10   ` Daniel Walker (danielwa) via Libc-alpha
2020-07-02 13:54     ` Conan Huang (conhuang) via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMe9rOp3fHsLpOQi69q6MZ0q6QdZM_A25vF-eYTv=H5P2goxAA@mail.gmail.com' \
    --to=libc-alpha@sourceware.org \
    --cc=danielwa@cisco.com \
    --cc=fweimer@redhat.com \
    --cc=hjl.tools@gmail.com \
    --cc=jstengle@cisco.com \
    --cc=ntesic@cisco.com \
    --cc=palves@redhat.com \
    --cc=xe-linux-external@cisco.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).