summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2005-11-07 15:27:07 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2005-11-07 15:27:07 +0000
commit4728cca2a44120aa0e9380c8b9d56ec9aec5612b (patch)
treeac6a5c91459806541006de3da756ff8baa60ba39 /gdb/top.c
parent32163a4919ca9aba1d681710664c99ccdfbba4a4 (diff)
downloadgdb-4728cca2a44120aa0e9380c8b9d56ec9aec5612b.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index a8bba83a356..e4fb84519d1 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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. */