summaryrefslogtreecommitdiff
path: root/gdb/gdbtk
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-03-18 18:43:13 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2008-03-18 18:43:13 +0000
commit1ec7f7a7c276cdad139e14ebaf7c1bdb8cdf6020 (patch)
treed64749cdf4f3b2a77492678315f9d2c5896ba4e2 /gdb/gdbtk
parent890fafbbaccb9db295ec624993bfd3b939351bf1 (diff)
downloadgdb-1ec7f7a7c276cdad139e14ebaf7c1bdb8cdf6020.tar.gz
* generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
top_level.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r--gdb/gdbtk/ChangeLog5
-rw-r--r--gdb/gdbtk/generic/gdbtk-interp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 1e9ce8c9fd6..b0bf8db096d 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-18 Maciej W. Rozycki <macro@mips.com>
+
+ * generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
+ top_level.
+
2008-03-07 Keith Seitz <kseitz@sourceware.org>
* generic/gdbtk-register.c (map_arg): New data type
diff --git a/gdb/gdbtk/generic/gdbtk-interp.c b/gdb/gdbtk/generic/gdbtk-interp.c
index 648940d8b5b..f4dd3ec1ce4 100644
--- a/gdb/gdbtk/generic/gdbtk-interp.c
+++ b/gdb/gdbtk/generic/gdbtk-interp.c
@@ -1,7 +1,7 @@
/* Insight Definitions for GDB, the GNU debugger.
Written by Keith Seitz <kseitz@sources.redhat.com>
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2008 Free Software Foundation, Inc.
This file is part of Insight.
@@ -62,7 +62,7 @@ hack_disable_interpreter_exec (char *args, int from_tty)
}
static void *
-gdbtk_interpreter_init (void)
+gdbtk_interpreter_init (int top_level)
{
/* Disable interpreter-exec. It causes us big trouble right now. */
struct cmd_list_element *cmd = NULL;