[Bug symtab/30511] feature: set sysroot and file by default for attached containerized processes

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Jun 12 13:18:44 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=30511

--- Comment #9 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Tom Tromey from comment #3)
> (In reply to Mark Wielaard from comment #2)
> > This sounds like a good idea.
> > 
> > Adding myself and Sasha to CC to see how this is done (we would like
> > something similar for a "target valgrind", but then set sysroot / and set
> > remote exec-file ...).
> 
> Unfortunately this is a different situation.
> Probably you should file a separate bug for that one.

Done: https://sourceware.org/bugzilla/show_bug.cgi?id=30541

> For this bug, I don't really know how to implement it.
> I don't know how to detect if a process needs this treatment.

Do you need any detection?
Can't you simply always set sysroot /proc/PID/root if it exists?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list