From e90e9ad97190c3e187285682d905582503f4a42a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 5 Dec 2012 14:56:18 +0000 Subject: [PATCH] PR gdb/14917: * server.h (current_insn_ptr, emit_error): Declare 'extern'. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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[]; -- 2.30.2