binutils-gdb/gdb/cli
Andrew Burgess fde1a9a3ee gdb: add setting to disable reading source code files
In some situations it is possible that a user might not want GDB to
try and access source code files, for example, the source code might
be stored on a slow to access network file system.

It is almost certainly possible that using some combination of 'set
directories' and/or 'set substitute-path' a user can trick GDB into
being unable to find the source files, but this feels like a rather
crude way to solve the problem.

In this commit a new option is add that stops GDB from opening and
reading the source files.  A user can run with source code reading
disabled if this is required, then re-enable later if they decide
that they now want to view the source code.
2021-09-27 11:31:35 +01:00
..
cli-cmds.c gdb: add setting to disable reading source code files 2021-09-27 11:31:35 +01:00
cli-cmds.h gdb: add setting to disable reading source code files 2021-09-27 11:31:35 +01:00
cli-decode.c gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-decode.h gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-dump.c gdb: remove cmd_list_element::function::sfunc 2021-07-23 15:38:54 -04:00
cli-interp.c gdbsupport, gdb: give names to observers 2021-04-24 19:26:41 -04:00
cli-interp.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-logging.c gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-option.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-option.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-script.c Move value_true to value.h 2021-09-24 11:58:04 -06:00
cli-script.h cli-script: use unique_ptr to not leak next struct 2021-05-20 21:03:47 +02:00
cli-setshow.c gdb: use bool in notify_command_param_changed_p and do_set_command 2021-08-19 14:29:30 -04:00
cli-setshow.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-style.c gdb: remove context parameter from add_setshow_enum_cmd 2021-06-25 21:39:26 -04:00
cli-style.h gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-utils.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-utils.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00