Unconditionally define _initialize_addrmap
authorTom Tromey <tromey@adacore.com>
Fri, 6 Aug 2021 18:30:51 +0000 (12:30 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 6 Aug 2021 18:32:38 +0000 (12:32 -0600)
commitfd986183343387b019080d81838ad9371593b219
tree2b08d97ec340a36950656efb3c239faf5bad32fa
parentb9f3fbc9f3453bcb24fece0c46acf581d13d3f64
Unconditionally define _initialize_addrmap

The way that init.c is generated does not allow for an initialization
function to be conditionally defined -- doing so will result in a link
error.

This patch fixes a build problem that arises from such a conditional
definition.  It can be reproduce with --disable-unit-tests.
gdb/addrmap.c