* Makefile.in (XMLFILES): Include $(TDEP_XML).
(filenames_h): New variable. (clean): Clean up xml-builtin.c and stamp-xml. (arm-linux-nat.o): Update. * config/arm/linux.mh (TDEP_XML): Define. * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_linux_has_wmmx_registers): New. (GET_THREAD_ID): Fix typo. (IWMMXT_REGS_SIZE): Define. (fetch_wmmx_regs, store_wmmx_regs): New. (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. (arm_linux_store_inferior_registers): Use store_wmmx_regs. (super_xfer_partial, arm_linux_xfer_partial): New. (_initialize_arm_linux_nat): Use them. * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. (xml_builtin_xfer_partial): New function. * xml-support.h (xml_builtin_xfer_partial): New prototype. * NEWS: Update mention of iWMMXt support.
This commit is contained in:
parent
ff6f572f8b
commit
05a4558a93
7 changed files with 218 additions and 17 deletions
|
@ -53,6 +53,15 @@ char *xml_process_xincludes (const char *name, const char *text,
|
|||
|
||||
const char *fetch_xml_builtin (const char *filename);
|
||||
|
||||
/* A to_xfer_partial helper function which reads XML files which were
|
||||
compiled into GDB. The target may call this function from its own
|
||||
to_xfer_partial handler, after converting object and annex to the
|
||||
appropriate filename. */
|
||||
|
||||
LONGEST xml_builtin_xfer_partial (const char *filename,
|
||||
gdb_byte *readbuf, const gdb_byte *writebuf,
|
||||
ULONGEST offset, LONGEST len);
|
||||
|
||||
/* The text of compiled-in XML documents, from xml-builtin.c
|
||||
(generated). */
|
||||
extern const char *xml_builtin[][2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue