Hi Bernhard,
On 1/23/22 23:18, Bernhard Übelacker wrote:
Am 28.06.21 um 23:22 schrieb Bernhard Übelacker:
Hello Rémi, just a small update, sorry for the late reply.
I sometimes got an issue with some sections placed automatically by gdb to some location where they did not belong. Therefore, as far as I remember, I changed it to trying to map all sections of a file, which worked in these cases better for me.
Thanks for the update, I also have made some updates to my script too to do things like that and it's working much better now as far as I could see.
There is also another maybe interesting thing related to this area. Keno Fischer created a prototype of gdb being able to iterate the list of dlls itself with just a few modifications, which can be used standalone or with rr also. (Currently just 64-bit.)
Wow, that's quite nice to see! I guess it could then also hook the loader functions to refresh the list on DLL load / unload, in the same way gdb hooks dlopen.
(FWIW I am still unable to use rr with Wine, although I only tried again a few months ago and I'm not putting a lot of effort in it, but I would really like to succeed, it sounds useful)
Cheers,