Conditionally define xmltarget_${name} variable in regdat.sh
authorTom Tromey <tom@tromey.com>
Mon, 9 Jul 2018 02:31:58 +0000 (20:31 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 22 Jul 2018 19:20:07 +0000 (13:20 -0600)
commit3b20124b3d6df31b5bde0f6bcd718cc40de8d49b
tree942d3eac4df2276670851139e07976d471696a93
parentb0a7723d29ddd39345a4af30c130ebc89c623d21
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.
gdb/ChangeLog
gdb/regformats/regdat.sh