OSDN Git Service

2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
authorams <ams>
Fri, 4 Nov 2005 11:49:09 +0000 (11:49 +0000)
committerams <ams>
Fri, 4 Nov 2005 11:49:09 +0000 (11:49 +0000)
commitf4dbc8a0504da7bb6511e5fa4dfc89469ba32627
treea1565890d274c75511999aa232d123cd31d6bef8
parentaaafd0020870b989e758f7f7638174c51ebe3186
2005-11-04  Andrew Stubbs  <andrew.stubbs@st.com>

* infrun.c (print_stop_reason): Set return_child_result_value on exit.
* main.c (return_child_result): New variable.
(return_child_result_value): Likewise.
(captured_main): Add option --return-child-result.
Replace call to target_detach and exit (in batch mode) with quit_force.
(print_gdb_help): Add option --return-child-result.
* top.c (quit_force): Return child result if appropriate.

docs/
* gdb.texinfo (Choosing modes): Add --return-child-result.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/infrun.c
gdb/main.c
gdb/top.c