Open midenok opened 1 week ago
@rocallahan this is a known gdb issue isn't it?
Yes it is. When GDB observes the dlclose call it doesn't consider whethr execution is going forward or backward. @midenok it would be great if you can file a GDB bug about this.
In continuation of #3845.
For the trace of the following sequence:
Until 4. is reached 2. displays X.so in
info shared
. But if 4. is reached in trace replay, reverse-continue to 2. does not return back X.so to loaded modules.The workaround to this is restart from the start or replay dlopen() again. Saved checkpoints also restore correct modules list.