aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-11-19 07:40:18 +0000
committerTom Tromey <tromey@redhat.com>1996-11-19 07:40:18 +0000
commita5a6e3bd0a4e85c405a31aba675b3a657f299590 (patch)
treecba276039ffc78e5713b3a8e06099a82441999be /gdb/gdbtk.c
parent692a601fb7311430c4b12a47c2dee7f12244171b (diff)
downloadgdb-a5a6e3bd0a4e85c405a31aba675b3a657f299590.zip
gdb-a5a6e3bd0a4e85c405a31aba675b3a657f299590.tar.gz
gdb-a5a6e3bd0a4e85c405a31aba675b3a657f299590.tar.bz2
Fixes for Tcl 7.6 / Tk 4.2:
* gdbtk.tcl (apply_filespec): Use tk_getOpenFile. Removed old fileselect code. * gdbtk.c (Tcl_Alloc): Renamed from Tcl_Malloc.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index a51f6d9..d90dfc0 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -120,7 +120,7 @@ static int disassemble_from_exec = -1;
/* Supply malloc calls for tcl/tk. */
char *
-Tcl_Malloc (size)
+Tcl_Alloc (size)
unsigned int size;
{
return xmalloc (size);