This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Add xmlRegisters= to qsupported query
> Date: Mon, 29 Mar 2010 09:19:10 -0700
> From: "H.J. Lu" <hongjiu.lu@intel.com>
>
> We should check if libexpat is available. Any comments/suggestions?
> diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
> index 83275ac..d7af84a 100644
> --- a/gdb/i386-tdep.c
> +++ b/gdb/i386-tdep.c
> @@ -44,6 +44,7 @@
> #include "value.h"
> #include "dis-asm.h"
> #include "disasm.h"
> +#include "remote.h"
>
> #include "gdb_assert.h"
> #include "gdb_string.h"
> @@ -5943,6 +5944,9 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
> set_gdbarch_fast_tracepoint_valid_at (gdbarch,
> i386_fast_tracepoint_valid_at);
>
> + /* Tell remote stub that we support XML target description. */
> + register_remote_support_xml ("x86");
Please use "i386" here.