aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-wasm32.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-26 21:49:55 -0600
committerTom Tromey <tom@tromey.com>2017-08-03 07:58:53 -0600
commited1669453be56d71351c77377acee097aefe83b1 (patch)
tree80ee2b988d2bddb6f52fbf3e1fee2bb3376adab5 /bfd/cpu-wasm32.c
parentd419f42dd3f3635fc036413258ed530676998191 (diff)
downloadgdb-ed1669453be56d71351c77377acee097aefe83b1.zip
gdb-ed1669453be56d71351c77377acee097aefe83b1.tar.gz
gdb-ed1669453be56d71351c77377acee097aefe83b1.tar.bz2
Change return type of find_and_open_script
This changes find_and_open_script to return a gdb::optional<open_script>, where open_script is a new type encapsulating the two return values. The new type helps avoid cleanups in the callers. ChangeLog 2017-08-03 Tom Tromey <tom@tromey.com> * cli/cli-cmds.c (find_and_open_script): Change return type. Remove "streamp" and "full_path" parameters. (source_script_with_search): Update. * auto-load.c (source_script_file): Update. * cli/cli-cmds.h (find_and_open_script): Change type. (open_script): New struct.
Diffstat (limited to 'bfd/cpu-wasm32.c')
0 files changed, 0 insertions, 0 deletions