This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Pal,LibOS] Fix GDB integration in case of removing maps
- The GDB command for removing a symbol file takes text address (or any address inside the mapped memory area), not load offset. (which might be before the area). Because of that, removing a map in GDB did not actually work, and displayed a warning. - The remove_r_debug() function in LibOS did not actually remove the map from list in LibOS. As a result, LibOS attempted to report the removal to PAL more than once, causing a harmless but annoying warning message.
- Loading branch information