aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-05 14:56:18 +0000
committerTom Tromey <tromey@redhat.com>2012-12-05 14:56:18 +0000
commite90e9ad97190c3e187285682d905582503f4a42a (patch)
tree9b9513bb9a29fbc955e49cd62889b343a8faa894 /gdb/gdbserver/server.h
parent79056107ed3c05d46975de382a12eafc767054ff (diff)
downloadgdb-e90e9ad97190c3e187285682d905582503f4a42a.zip
gdb-e90e9ad97190c3e187285682d905582503f4a42a.tar.gz
gdb-e90e9ad97190c3e187285682d905582503f4a42a.tar.bz2
PR gdb/14917:
* server.h (current_insn_ptr, emit_error): Declare 'extern'.
Diffstat (limited to 'gdb/gdbserver/server.h')
-rw-r--r--gdb/gdbserver/server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index e93ad00..929819e 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -523,8 +523,8 @@ CORE_ADDR get_get_tsv_func_addr (void);
function in the IPA. */
CORE_ADDR get_set_tsv_func_addr (void);
-CORE_ADDR current_insn_ptr;
-int emit_error;
+extern CORE_ADDR current_insn_ptr;
+extern int emit_error;
/* Version information, from version.c. */
extern const char version[];