From: Tom Tromey Date: Wed, 5 Dec 2012 14:56:18 +0000 (+0000) Subject: PR gdb/14917: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e90e9ad97190c3e187285682d905582503f4a42a;p=binutils-gdb.git PR gdb/14917: * server.h (current_insn_ptr, emit_error): Declare 'extern'. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 59b84661c5d..403732ecd5a 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-12-05 Tom Tromey + + PR gdb/14917: + * server.h (current_insn_ptr, emit_error): Declare 'extern'. + 2012-11-28 Markus Metzger * configure.ac: Check for linux/perf_event.h. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index e93ad00c1d1..929819e55bc 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[];