diff options
author | Tom Tromey <tromey@redhat.com> | 2012-12-05 14:56:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-12-05 14:56:18 +0000 |
commit | e90e9ad97190c3e187285682d905582503f4a42a (patch) | |
tree | 9b9513bb9a29fbc955e49cd62889b343a8faa894 /gdb | |
parent | 79056107ed3c05d46975de382a12eafc767054ff (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 59b8466..403732e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-12-05 Tom Tromey <tromey@redhat.com> + + PR gdb/14917: + * server.h (current_insn_ptr, emit_error): Declare 'extern'. + 2012-11-28 Markus Metzger <markus.t.metzger@intel.com> * configure.ac: Check for linux/perf_event.h. 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[]; |