This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: fix gdbserver PR 14917


> Index: server.h
[...]
> -CORE_ADDR current_insn_ptr;
> -int emit_error;
> +extern CORE_ADDR current_insn_ptr;
> +extern int emit_error;

Back in the good old days, I think the old code would have resulted
in a link failure (symbol defined multiple times), right?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]