1999-02-05 James Ingham <jingham@cygnus.com>
authorJim Ingham <jingham@apple.com>
Sat, 6 Feb 1999 01:50:46 +0000 (01:50 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 6 Feb 1999 01:50:46 +0000 (01:50 +0000)
commitb11485dae8764a26940696869b1bf05fdb5178b9
tree2cc965db3a778c16e07999e43f5b1476c4d5ba77
parent77e3189254f4d4584b51b7922c0b3b0d8bd2ecec
1999-02-05  James Ingham  <jingham@cygnus.com>

        * Makefile.in: Add GDBTK_CFLAGS - this is now used to hold
        -fwritable-strings when compiling with Tk8.1.
        * configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for
        Tcl/Tk8.1 & greater.
        * acinclude.m4: Move the rest of the defines to find Itcl, Itk &
        Tix from aclocal.m4 to here.
        * aclocal.m4: regenerate.
        * configure: regenerate.

        * gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from
        Tcl8.1.  Use Tcl_GetVar2 instead.
        * gdbtk-hooks.c (gdbtk_trace_find): Fix up call to
        Tcl_GlobalEvalObj for Tcl/Tk 8.1.
        * gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was
        inefficient, replace with call to Tcl_GlobalEval.
        * gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c.  We took
        care of that in Tcl itself for 8.1.
        * gdbtk.c: Remove const from the script string since Tcl8.1 has
        taken to scribbling sentinals into strings passed to it again...

        * gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from
        char * to PTR to eliminate warning.
        * gdbtk-cmds.c (perror_with_name_wrapper): Ditto
gdb/ChangeLog-gdbtk
gdb/Makefile.in
gdb/acinclude.m4
gdb/aclocal.m4
gdb/configure
gdb/configure.in
gdb/gdbtk-cmds.c
gdb/gdbtk-hooks.c
gdb/gdbtk.c