OSDN Git Service

2005-11-04 Andrew Stubbs <andrew.stubbs@st.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Fri, 4 Nov 2005 11:49:12 +0000 (11:49 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Fri, 4 Nov 2005 11:49:12 +0000 (11:49 +0000)
commitd840dea2687f9f945f9b4f4495264a5bd16d5816
tree8e5949935183c9ea67158a2456ad2c283fedd9c1
parentc4fd89bfeafc1aa0cb61d8af0baea6f453e014e8
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