[RFC PATCH 0/3] implement dlmopen hooks for gdb
Florian Weimer
fweimer@redhat.com
Tue Sep 22 18:04:31 GMT 2020
* Carlos O'Donell:
>> No, unlike GLIBC_PRIVATE, you can assume that if a GLIBC_DEBUG symbol is
>> there (and perhaps has the documented size), it has the documented
>> semantics. But you can't assume that it is present.
>>
>> The semantics of GLIBC_PRIVATE symbols can change arbitrarily, even
>> between builds.
>
> Yes, absolutely, I agree completely, for it to be useful the semantics
> have to be:
>
> - If you detect a given symbol foo@GLIBC_DEBUG, then the feature is
> present and has the semantics you expect.
>
> - If you want new semantics then you need to make a foo2@GLIBC_DEBUG
> with the new semantics.
>
> What are the runtime semantics of the symbol? How do you access it?
That obviously depends on the symbol? Sorry, I don't quite understand
these questions.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list