diff options
author | Stu Grossman <grossman@cygnus> | 1996-01-05 00:42:36 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-01-05 00:42:36 +0000 |
commit | 0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4 (patch) | |
tree | c874e9aa1af63828135236fad7fc1e40f2c226ea /gdb/configure | |
parent | ed1f99e770af88041b29edf6c4caddceb9fb56e9 (diff) | |
download | gdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.zip gdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.tar.gz gdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.tar.bz2 |
* breakpoint.c (remove_breakpoint): Change error to warning so
that hardware watchpoint removal problems won't leave breakpoint
traps in the target.
* configure configure.in: Make --enable-gdbtk be the default.
* remote-e7000.c (e7000_insert_breakpoint,
e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
breakpoints.
* (e7000_wait): Adjust PC back by two when we see a breakpoint to
compensate for e7000 maladjustment.
* sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
which prevented hardware watchpoints from working.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/gdb/configure b/gdb/configure index 7e86a4d..3e72ddb 100755 --- a/gdb/configure +++ b/gdb/configure @@ -1427,14 +1427,34 @@ ENABLE_GDBTK= if test "${enable_gdbtk+set}" = set; then enableval="$enable_gdbtk" case "${enableval}" in -yes) enable_gdbtk=yes ;; -no) enable_gdbtk=no ;; -*) { echo "configure: error: bad value ${enableval} given for gdbtk option" 1>&2; exit 1; } ;; + yes) + case "$host" in + *go32*) + echo "configure: warning: GDB does not support GDBtk on host ${host}. GDBtk will be disabled." 1>&2 + enable_gdbtk=no ;; + *) + enable_gdbtk=yes ;; + esac ;; + no) + enable_gdbtk=no ;; + *) + { echo "configure: error: bad value ${enableval} given for gdbtk option" 1>&2; exit 1; } ;; esac +else + +# Default is on for everything but go32 +case "$host" in + *go32*) + ;; + *) + enable_gdbtk=yes ;; + esac + fi if test "${enable_gdbtk}" = "yes"; then + # If we find X, set shell vars x_includes and x_libraries to the # paths, otherwise set no_x=yes. # Uses ac_ vars as temps to allow command line to override cache and checks. @@ -1496,7 +1516,7 @@ test -z "$x_direct_test_library" && x_direct_test_library=Xt test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h cat > conftest.$ac_ext <<EOF -#line 1500 "configure" +#line 1520 "configure" #include "confdefs.h" #include <$x_direct_test_include> EOF @@ -1559,7 +1579,7 @@ rm -f conftest* ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <<EOF -#line 1563 "configure" +#line 1583 "configure" #include "confdefs.h" int main() { return 0; } @@ -1678,7 +1698,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lICE $LIBS" cat > conftest.$ac_ext <<EOF -#line 1682 "configure" +#line 1702 "configure" #include "confdefs.h" int main() { return 0; } @@ -1722,7 +1742,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet $LIBS" cat > conftest.$ac_ext <<EOF -#line 1726 "configure" +#line 1746 "configure" #include "confdefs.h" int main() { return 0; } @@ -1757,7 +1777,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldnet_stub $LIBS" cat > conftest.$ac_ext <<EOF -#line 1761 "configure" +#line 1781 "configure" #include "confdefs.h" int main() { return 0; } @@ -1797,7 +1817,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <<EOF -#line 1801 "configure" +#line 1821 "configure" #include "confdefs.h" int main() { return 0; } @@ -1836,7 +1856,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <<EOF -#line 1840 "configure" +#line 1860 "configure" #include "confdefs.h" int main() { return 0; } @@ -1893,7 +1913,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1897 "configure" +#line 1917 "configure" #include "confdefs.h" #include <tk.h> EOF @@ -1995,7 +2015,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1999 "configure" +#line 2019 "configure" #include "confdefs.h" #include <tclInt.h> EOF |