* source.c (is_regular_file): New arg errno_ptr.
authorDoug Evans <xdje42@gmail.com>
Tue, 19 Apr 2016 16:01:44 +0000 (09:01 -0700)
committerDoug Evans <xdje42@gmail.com>
Tue, 19 Apr 2016 16:01:44 +0000 (09:01 -0700)
commita55411b9ff672c73172fff98319eb87af5a5fb4c
tree50f1fc4b918b7f9d85f54289499d5339d2a8877f
parent73e6209faecc21516a981ed86a27b259f506098c
* source.c (is_regular_file): New arg errno_ptr.

gdb/ChangeLog:

* source.c (is_regular_file): New arg errno_ptr.
All callers updated.

gdb/testsuite/ChangeLog:

* gdb.base/bad-file.exp: New file.
gdb/ChangeLog
gdb/source.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/bad-file.exp [new file with mode: 0644]