aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-08-20 16:38:29 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-09-11 16:30:00 -0500
commit9224a01377868604ce4a7eb9c0d97736f7349dcd (patch)
tree92a4d226ec7ca7f8cf8c5261b5bc5c9f81495940 /gdb/ChangeLog
parentf48cd8368bf45b40547237939af3ab6b47dc7b01 (diff)
downloadgdb-9224a01377868604ce4a7eb9c0d97736f7349dcd.zip
gdb-9224a01377868604ce4a7eb9c0d97736f7349dcd.tar.gz
gdb-9224a01377868604ce4a7eb9c0d97736f7349dcd.tar.bz2
Factor out the code to do the datadir-relocation for gdbinit
This simplifies get_init_files and makes it possible to reuse this code in an upcoming patch for SYSTEM_GDBINIT_DIR. gdb/ChangeLog: 2019-09-11 Christian Biesinger <cbiesinger@google.com> * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code out of get_init_files. (get_init_files): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27eae1d..91b860c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2019-09-11 Christian Biesinger <cbiesinger@google.com>
+ * main.c (relocate_gdbinit_path_maybe_in_datadir): Factor this code
+ out of get_init_files.
+ (get_init_files): Update.
+
+2019-09-11 Christian Biesinger <cbiesinger@google.com>
+
* main.c (get_init_files): Change to use std::string.
(captured_main_1): Update.
(print_gdb_help): Update.