This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

generic/gdbtk-interp.c: Fix up for the interp_init_ftype change


Hello,

 Here is a fix that makes the Insight interpreter build again after the 
recent change to interp_init_ftype.

2008-03-18  Maciej W. Rozycki  <macro@mips.com>

	* generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
	top_level.

 Applied as obvious.

  Maciej

gdb-gdbtk-interp.diff
Index: binutils-quilt/src/gdb/gdbtk/generic/gdbtk-interp.c
===================================================================
--- binutils-quilt.orig/src/gdb/gdbtk/generic/gdbtk-interp.c	2008-03-18 18:05:41.000000000 +0000
+++ binutils-quilt/src/gdb/gdbtk/generic/gdbtk-interp.c	2008-03-18 18:09:14.000000000 +0000
@@ -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 @@
 }
 
 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]