+2008-03-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * features/Makefile (%.dat): Set xmltarget to the base filename
+ of the XML source, without subdirectory.
+ * regformats/rs6000/powerpc-32.dat: Regenerate.
+ * regformats/rs6000/powerpc-64.dat: Regenerate.
+ * regformats/rs6000/powerpc-e500.dat: Regenerate.
+
2008-03-27 Markus Deuling <deuling@de.ibm.com>
* xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by
$(outdir)/%.dat: %.xml number-regs.xsl sort-regs.xsl gdbserver-regs.xsl
echo "# DO NOT EDIT: generated from $<" > $(outdir)/$*.tmp
echo "name:`echo $(notdir $*) | sed 's/-/_/g'`" >> $(outdir)/$*.tmp
- echo "xmltarget:$<" >> $(outdir)/$*.tmp
+ echo "xmltarget:$(<F)" >> $(outdir)/$*.tmp
echo "expedite:$($*-expedite)" >> $(outdir)/$*.tmp
$(XSLTPROC) --path "$(PWD)" --xinclude number-regs.xsl $< | \
$(XSLTPROC) sort-regs.xsl - | \
+2008-03-27 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * server.c (get_features_xml): Fix inverted condition.
+ (handle_query): Always support qXfer:feature:read.
+
2008-03-10 Daniel Jacobowitz <dan@codesourcery.com>
* server.c (wrapper_argv): New.
init_registers_... routine for the current target. */
if (gdbserver_xmltarget
- && strcmp (annex, "target.xml") != 0)
+ && strcmp (annex, "target.xml") == 0)
{
if (*gdbserver_xmltarget == '@')
return gdbserver_xmltarget + 1;
if (the_target->qxfer_spu != NULL)
strcat (own_buf, ";qXfer:spu:read+;qXfer:spu:write+");
- if (get_features_xml ("target.xml") != NULL)
- strcat (own_buf, ";qXfer:features:read+");
+ /* We always report qXfer:features:read, as targets may
+ install XML files on a subsequent call to arch_setup.
+ If we reported to GDB on startup that we don't support
+ qXfer:feature:read at all, we will never be re-queried. */
+ strcat (own_buf, ";qXfer:features:read+");
return;
}
# DO NOT EDIT: generated from rs6000/powerpc-32.xml
name:powerpc_32
-xmltarget:rs6000/powerpc-32.xml
+xmltarget:powerpc-32.xml
expedite:r1,pc
32:r0
32:r1
# DO NOT EDIT: generated from rs6000/powerpc-64.xml
name:powerpc_64
-xmltarget:rs6000/powerpc-64.xml
+xmltarget:powerpc-64.xml
expedite:r1,pc
64:r0
64:r1
# DO NOT EDIT: generated from rs6000/powerpc-e500.xml
name:powerpc_e500
-xmltarget:rs6000/powerpc-e500.xml
+xmltarget:powerpc-e500.xml
expedite:r1,pc
32:r0
32:r1