aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorGeorge Barrett <bob@bob131.so>2019-12-15 11:12:09 +1100
committerSimon Marchi <simon.marchi@polymtl.ca>2019-12-21 16:02:19 -0500
commitcb7364414157c42de5ea618d98e2be9eff1894ba (patch)
treef07e4e39ad4e8b24a6c63aa560eb7067d77c9e69 /gdb/ChangeLog
parent0ea8adde5ddc530772f075873b7d05d4fa29a724 (diff)
downloadgdb-cb7364414157c42de5ea618d98e2be9eff1894ba.zip
gdb-cb7364414157c42de5ea618d98e2be9eff1894ba.tar.gz
gdb-cb7364414157c42de5ea618d98e2be9eff1894ba.tar.bz2
Fix disabling of solib probes when LD_AUDITing
The SVR4 solib event handler determines whether an event is related to a non-base link namespace by comparing the event's debug struct address to the debug struct address of the initial program image. However, this can fail when using LD_AUDIT as audit libraries are loaded before the loader has initialised the initial program image's debug struct. When the event handler fails to find the debug struct, the probe-based debugger interface is disabled and a warning is flagged to the user. This commit adds a fallback test to help determine whether an event is for a foreign link namespace when the debug struct isn't available. gdb/ChangeLog: 2019-12-15 George Barrett <bob@bob131.so> * solib-svr4.c (svr4_handle_solib_event): Add fallback link namespace test for when the debug struct isn't available.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0ba175a..acf9106 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-21 George Barrett <bob@bob131.so>
+
+ * solib-svr4.c (svr4_handle_solib_event): Add fallback link
+ namespace test for when the debug struct isn't available.
+
2019-12-21 Eli Zaretskii <eliz@gnu.org>
* top.c (print_gdb_configuration): Print "--with-xxhash" or