public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* generic/gdbtk-interp.c: Fix up for the interp_init_ftype change
@ 2008-03-18 18:44 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2008-03-18 18:44 UTC (permalink / raw)
  To: insight; +Cc: gdb-patches, Maciej W. Rozycki

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-18 18:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-18 18:44 generic/gdbtk-interp.c: Fix up for the interp_init_ftype change Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).