From: "Maciej W. Rozycki" <macro@mips.com>
To: insight@sourceware.org
Cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: generic/gdbtk-interp.c: Fix up for the interp_init_ftype change
Date: Tue, 18 Mar 2008 18:44:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.61.0803181832270.29970@perivale.mips.com> (raw)
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;
reply other threads:[~2008-03-18 18:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.61.0803181832270.29970@perivale.mips.com \
--to=macro@mips.com \
--cc=gdb-patches@sourceware.org \
--cc=insight@sourceware.org \
--cc=macro@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).