diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-26 19:20:21 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-26 19:20:21 +0000 |
commit | 05a4558a934667e0e219e95d2c898f5c069b860c (patch) | |
tree | d962e2e61d078058a03b181e6b9a39026f153e8a /gdb/xml-support.h | |
parent | ff6f572f8b0a1f60246f90683e51635744cb7d36 (diff) | |
download | gdb-05a4558a934667e0e219e95d2c898f5c069b860c.zip gdb-05a4558a934667e0e219e95d2c898f5c069b860c.tar.gz gdb-05a4558a934667e0e219e95d2c898f5c069b860c.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/xml-support.h')
-rw-r--r-- | gdb/xml-support.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/xml-support.h b/gdb/xml-support.h index b01ea19..19fd44d 100644 --- a/gdb/xml-support.h +++ b/gdb/xml-support.h @@ -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]; |