diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2005-11-07 15:27:07 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2005-11-07 15:27:07 +0000 |
commit | f17517ea066bd25def1a2800d327ba126730d16d (patch) | |
tree | 82880100363b3e720df40a40bbe8a231d66c7ff7 /gdb/top.c | |
parent | eef57022010a5f6c7483c31607696fe1482b781e (diff) | |
download | gdb-f17517ea066bd25def1a2800d327ba126730d16d.zip gdb-f17517ea066bd25def1a2800d327ba126730d16d.tar.gz gdb-f17517ea066bd25def1a2800d327ba126730d16d.tar.bz2 |
2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
* main.h (return_child_result, return_child_result_value): Declare.
* infrun.c: Include main.h.
(print_stop_reason): Remove declaration of return_child_result_value.
* top.c: Include main.h.
(quit_force): Remove declarations of return_child_result_value and
return_child_result.
* Makefile.in (top.o, infrun.o): Add main.h to dependencies.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,6 +46,7 @@ #include "serial.h" #include "doublest.h" #include "gdb_assert.h" +#include "main.h" /* readline include files */ #include "readline/readline.h" @@ -1177,7 +1178,6 @@ quit_force (char *args, int from_tty) { int exit_code = 0; struct qt_args qt; - extern int return_child_result, return_child_result_value; /* An optional expression may be used to cause gdb to terminate with the value of that expression. */ |