Don't store the inferior's exit code for --return-child-result in a print routine.
authorPedro Alves <palves@redhat.com>
Thu, 27 Mar 2014 13:13:59 +0000 (13:13 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 22 May 2014 11:08:09 +0000 (12:08 +0100)
commit98eb56a4bc8a0d3c58ba6f616d6e9238377ecce5
tree791391a4e1b4e66674a8920c838822a785061b95
parentb52855e7a06171f98918f9a35de695fa9a3abd88
Don't store the inferior's exit code for --return-child-result in a print routine.

A small cleanup - so we can call the print routine without affecting
--return-child-result.

gdb/
2014-05-22  Pedro Alves  <palves@redhat.com>

* infrun.c (handle_inferior_event): Store the exit code for
--return-child-result here, instead of ...
(print_exited_reason): ... here.
gdb/ChangeLog
gdb/infrun.c
This page took 0.031898 seconds and 4 git commands to generate.