aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-12-29 21:56:58 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-12-29 21:57:08 -0500
commit502a625ab01da27e851333b598c893d6f2c20bd0 (patch)
treebaa5ad83ae08cdc5de233223acedbed7e579eb0f /gdb/ChangeLog
parent4b2dfff9e78c6b615a92c727758f08f595aadba2 (diff)
downloadgdb-502a625ab01da27e851333b598c893d6f2c20bd0.zip
gdb-502a625ab01da27e851333b598c893d6f2c20bd0.tar.gz
gdb-502a625ab01da27e851333b598c893d6f2c20bd0.tar.bz2
Remove unnecessary call to get_thread_db_info
In thread_db_detach, we call get_thread_db_info to first check if there exists a thread_db_info entry for the pid to detach. If there is, then we call delete_thread_db_info. It's unnecessary to call get_thread_db_info in the first place, since delete_thread_db_info handles the case where no thread_db_info entry exist for the given pid. gdb/ChangeLog: * linux-thread-db.c (thread_db_detach): Remove call to delete_thread_db_info.
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 8555b55..bba278e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-29 Simon Marchi <simon.marchi@ericsson.com>
+
+ * linux-thread-db.c (thread_db_detach): Remove call to
+ delete_thread_db_info.
+
2017-12-28 Simon Marchi <simon.marchi@polymtl.ca>
* target.h (enum target_object) <TARGET_OBJECT_HPUX_UREGS,