aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnulib/import/strerror-override.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2018-08-29 16:11:50 +0100
committerGary Benson <gbenson@redhat.com>2018-08-29 16:11:50 +0100
commitb0f492b90f3d13da8ac80437e6ecb9a87db4a75b (patch)
tree1b77332c0e4f9f694b3a5b8702e2a8ceb17ebed0 /gdb/gnulib/import/strerror-override.c
parent2362e7f76adb395df19c867cd27c75f77a0ade6f (diff)
downloadgdb-b0f492b90f3d13da8ac80437e6ecb9a87db4a75b.zip
gdb-b0f492b90f3d13da8ac80437e6ecb9a87db4a75b.tar.gz
gdb-b0f492b90f3d13da8ac80437e6ecb9a87db4a75b.tar.bz2
Indicate batch mode failures by exiting with nonzero status
This commit causes GDB in batch mode to exit with nonzero status if the last command to be executed fails. gdb/ChangeLog: PR gdb/13000: * gdb/main.c (captured_main_1): Exit with nonzero status in batch mode if the last command to be executed failed. * NEWS: Mention the above. gdb/testsuite/ChangeLog: PR gdb/13000: * gdb.base/batch-exit-status.exp: New file. * gdb.base/batch-exit-status.good-commands: Likewise. * gdb.base/batch-exit-status.bad-commands: Likewise.
Diffstat (limited to 'gdb/gnulib/import/strerror-override.c')
0 files changed, 0 insertions, 0 deletions