[PATCH v6 2/3] elf: Introduce _dl_debug_change_state
Andreas Schwab
schwab@linux-m68k.org
Thu Jul 3 12:28:25 GMT 2025
On Jul 03 2025, Florian Weimer wrote:
> @@ -1087,8 +1087,14 @@ extern void _dl_debug_state (void);
> rtld_hidden_proto (_dl_debug_state)
>
> /* Initialize `struct r_debug_extended' for the namespace NS. LDBASE
> - is the run-time load address of the dynamic linker, to be put in the
> - `r_ldbase' member. Return the address of the structure. */
> + is the run-time load address of the dynamic linker, to be put in
> + the `r_ldbase' member.
> +
> + This function returns the address of the r_debug structure for the
Return the address ...
> @@ -1096,6 +1102,10 @@ extern struct r_debug *_dl_debug_initialize (ElfW(Addr) ldbase, Lmid_t ns)
> of the namespace NS. */
> extern struct r_debug *_dl_debug_update (Lmid_t ns) attribute_hidden;
>
> +/* Updates R->r_state to STATE and notifies the debugger by calling
Update ... and notify ...
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list