[binutils-gdb] Conditionally define xmltarget_${name} variable in regdat.sh

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Sun Jul 22 22:07:00 GMT 2018


*** TEST RESULTS FOR COMMIT 3b20124b3d6df31b5bde0f6bcd718cc40de8d49b ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3b20124b3d6df31b5bde0f6bcd718cc40de8d49b

Conditionally define xmltarget_${name} variable in regdat.sh

This changes regdat.sh to emit the xmltarget_${name} variable inside
the #ifndef IN_PROCESS_AGENT block.  This avoids a -Wunused-variable
warning for some builds.  Thanks to Pedro for investigating this one.

gdb/ChangeLog
2018-07-22  Tom Tromey  <tom@tromey.com>

	* regformats/regdat.sh: Define xmltarget_${name} inside
	#ifndef IN_PROCESS_AGENT.



More information about the Gdb-testers mailing list