Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 See http://sources.redhat.com/ml/binutils/2004-06/msg00114.html
3 --- src/bfd/elflink.c.org 2004-07-05 09:11:42.920597000 -0400
4 +++ src/bfd/elflink.c 2004-07-05 09:12:59.240847000 -0400
6 return vdiff > 0 ? 1 : -1;
9 - long sdiff = h1->root.u.def.section - h2->root.u.def.section;
10 + long sdiff = h1->root.u.def.section->id - h2->root.u.def.section->id;
12 return sdiff > 0 ? 1 : -1;
18 - long sdiff = slook - h->root.u.def.section;
19 + long sdiff = slook->id - h->root.u.def.section->id;