diff options
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -944,7 +944,8 @@ captured_main (void *data) { auto_load_local_gdbinit_pathname = gdb_realpath (local_gdbinit); - if (!inhibit_gdbinit && auto_load_local_gdbinit) + if (!inhibit_gdbinit && auto_load_local_gdbinit + && file_is_auto_load_safe (local_gdbinit)) { auto_load_local_gdbinit_loaded = 1; |