Use gdb_file_up in source.c
authorTom Tromey <tom@tromey.com>
Thu, 27 Apr 2017 03:56:14 +0000 (21:56 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 13:58:54 +0000 (07:58 -0600)
commit4a45905b825ef230a3fbf6bb7857339b39e5af16
tree2561c9e6b5635d28348b5ea00f90c03cefb37500
parent7cd06d6e89c9c17d358d8edf0b7faa9dd87edc3e
Use gdb_file_up in source.c

This changes some functions in source.c to use gdb_file_up.

ChangeLog
2017-08-03  Tom Tromey  <tom@tromey.com>

* source.c (print_source_lines_base, forward_search_command)
(reverse_search_command): Use gdb_file_up.
gdb/ChangeLog
gdb/source.c