aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-01-14 14:32:35 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-04-15 10:34:09 +0100
commit54b4dcc530f0a907d9121aba1a2631d7e3333a8f (patch)
treecaf6d74b42656cf49f6e036271f381b3dda790ba /gdb/doc
parent985e026451640c880e13827454aa31b7a636d1bc (diff)
downloadgdb-54b4dcc530f0a907d9121aba1a2631d7e3333a8f.zip
gdb-54b4dcc530f0a907d9121aba1a2631d7e3333a8f.tar.gz
gdb-54b4dcc530f0a907d9121aba1a2631d7e3333a8f.tar.bz2
gdb: refactor the initialization file lookup code
In preparation for the next patch, which adds startup files, this commit refactors the code for looking up the initialization files so that the code can be more easily reused in the next commit. There should be no user visible changes after this commit. gdb/ChangeLog: * main.c (relocate_gdbinit_path_maybe_in_datadir): Rename to... (relocate_file_path_maybe_in_datadir): ...this. (class gdb_initfile_finder): New class. (get_init_files): Now uses gdb_initfile_finder. (print_gdb_help): Print 'None found' when there are no init files.
Diffstat (limited to 'gdb/doc')
0 files changed, 0 insertions, 0 deletions