aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-03-30 15:45:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-03-30 15:45:16 +0000
commitc8d5aac9dbf03c7f729dc56a712b73ed12fd1704 (patch)
treee4f5af1b2c9d406dce853d9b4ad087652e3d1617 /gdb/i386-tdep.c
parentfe168a19802b9cec7393661cc71fd9b3e9b38248 (diff)
downloadgdb-c8d5aac9dbf03c7f729dc56a712b73ed12fd1704.zip
gdb-c8d5aac9dbf03c7f729dc56a712b73ed12fd1704.tar.gz
gdb-c8d5aac9dbf03c7f729dc56a712b73ed12fd1704.tar.bz2
Add xmlRegisters= to qSupported packet.
gdb/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention xmlRegisters= in qSupported packet. * i386-tdep.c: Include "remote.h". (_initialize_i386_tdep): Call register_remote_support_xml. * remote.c (remote_support_xml): New. (register_remote_support_xml): Likewise. (remote_query_supported_append): Likewise. (remote_query_supported): Support remote_support_xml. * remote.h (register_remote_support_xml): New. gdb/doc/ 2010-03-30 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (General Query Packets): Add xmlRegisters.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 83275ac..9b4c93e 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"
@@ -6000,4 +6001,7 @@ is \"default\"."),
/* Initialize the standard target descriptions. */
initialize_tdesc_i386 ();
+
+ /* Tell remote stub that we support XML target description. */
+ register_remote_support_xml ("i386");
}