On Sat, Jun 29, 2019 at 08:03:59PM -0000, Christos Zoulas wrote: > In article > <CAJeAr6vOWxv4ZxspYNMDeuP0U=zccfacpsbmoz-4xguf54n...@mail.gmail.com>, > Andrew Cagney <andrew.cag...@gmail.com> wrote: > > > >Having 32-bit and 64-bit debuggers isn't sufficient. Specifically, it > >can't handle an exec() call where the new executable has a different > >ISA; and this imnsho is a must have. > > It is really hard to make a 32 bit debugger work on a 64 bit system > because of the tricks we play with the location of the shared > libraries in rtld and the debugger needs to be aware of them.
I don't buy that at all. Exposing the translation to a debugger is trivial and in most cases, it doesn't care about the lookup mechanism at all since it just asks the dynamic linker for the path names of the libraries anyway. Joerg