This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in infrun.c main.c ...
- From: ams at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 14 Nov 2005 15:35:17 -0000
- Subject: src/gdb ChangeLog Makefile.in infrun.c main.c ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb_6_4-branch
Changes by: ams@sourceware.org 2005-11-14 15:35:17
Modified files:
gdb : ChangeLog Makefile.in infrun.c main.c main.h
top.c
gdb/doc : ChangeLog gdb.texinfo
Log message:
2005-11-14 Andrew Stubbs <andrew.stubbs@st.com>
* infrun.c: Include main.h.
(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: Include main.h.
(quit_force): Return child result if appropriate.
* main.h (return_child_result, return_child_result_value): Declare.
* Makefile.in (top.o, infrun.o): Add main.h to dependencies.
doc/
* gdb.texinfo (Choosing modes): Add --return-child-result.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.7401.2.14&r2=1.7401.2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.758.2.1&r2=1.758.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.205&r2=1.205.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/main.c.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.53&r2=1.53.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/main.h.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.2&r2=1.2.62.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/top.c.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.105&r2=1.105.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.523&r2=1.523.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&only_with_tag=gdb_6_4-branch&r1=1.282&r2=1.282.2.1