This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Conditionally define xmltarget_${name} variable in regdat.sh
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sun, 22 Jul 2018 18:07:02 -0400
- Subject: [binutils-gdb] Conditionally define xmltarget_${name} variable in regdat.sh
*** 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.