Move exit_status_set_internal_vars out of GLOBAL_CURDIR
authorHannes Domani <ssbssa@yahoo.de>
Sat, 23 May 2020 17:45:44 +0000 (19:45 +0200)
committerHannes Domani <ssbssa@yahoo.de>
Wed, 27 May 2020 17:42:53 +0000 (19:42 +0200)
commitc17ace4397c73bcdeb616f1b854a1cf8a8b6579c
tree3b877c5939ed9b84e48559861db258020796d9ce
parent96445f0b66af20343e2ffed08c4da8cfac101a03
Move exit_status_set_internal_vars out of GLOBAL_CURDIR

Fixes these testsuite fails on Windows:
FAIL: gdb.base/shell.exp: shell success exitcode
FAIL: gdb.base/shell.exp: shell fail exitcode

The convenience variables $_shell_exitcode and $_shell_exitsignal don't
depend on the GLOBAL_CURDIR define.

gdb/ChangeLog:

2020-05-27  Hannes Domani  <ssbssa@yahoo.de>

* cli/cli-cmds.c (shell_escape): Move exit_status_set_internal_vars.
gdb/ChangeLog
gdb/cli/cli-cmds.c