Change order of error message printed when gdbserver can't find CWD
authorSergio Durigan Junior <sergiodj@redhat.com>
Wed, 28 Feb 2018 16:43:48 +0000 (11:43 -0500)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 28 Feb 2018 16:43:48 +0000 (11:43 -0500)
commit815615463b1171cbff7c5e54f62fc708cc1bbc99
tree640ee4c9979cf7357d765555e448b43872f6ddce
parent25e3c82c0e927398e759e2d5e35623012b8683f7
Change order of error message printed when gdbserver can't find CWD

I forgot to address Pedro's comment about my last patch and change the
order of the message printed when getcwd returns NULL on gdbserver.
This obvious commit does it.

gdb/gdbserver/ChangeLog:
2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>

* server.c (captured_main): Change order of error message printed
when the current working directory cannot be found.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c