From: Fernando Nasser <fnasser@redhat.com>
To: Ian Roxborough <irox@evilpeople.com>
Cc: insight@sources.redhat.com, gdb@sources.redhat.com,
Michael Snyder <msnyder@cygnus.com>,
Eli Zaretskii <eliz@is.elta.co.il>,
Elena Zannoni <ezannoni@cygnus.com>, Jim Blandy <jimb@cygnus.com>,
Chris Faylor <cgf@cygnus.com>, Kevin Buettner <kevinb@cygnus.com>
Subject: Re: [PATCH] prep for Tcl/Tk 8.3 upgrade
Date: Tue, 15 May 2001 12:25:00 -0000 [thread overview]
Message-ID: <3B018207.2BEE97B1@redhat.com> (raw)
In-Reply-To: <20010514170524.164d5bf3.irox@evilpeople.com>
Ian Roxborough wrote:
>
> Hi,
>
> I've been working on getting Insight working with Tcl/Tk 8.3
> and here is my first patch on the matter.
>
> More to follow (but I'm trying to make as few changes as possible).
>
> This patch addresses minor C API changes in Tcl.
>
Whatever you say Ian.
We must ask Andrew to add you to the write after approval list (at least
for gdbtk files) or this will be a nightmare (one of us will have to
check in all of your patches, one by one).
Andrew, can we add Ian (one of the Source Navigator maintainers) to our
list of write after approval?
Thanks,
Fernando
> ChangeLog:
>
> 2001-05-14 Ian Roxborough <irox@redhat.com>
>
> * generic/gdbtk-hooks.c (x_event): Minor
> API changes with Tcl version update.
> Use the Tcl_ObjGetVar2 call with Tcl8.3.
> (gdbtk_trace_find): Use Tcl_GlobalEvalObj
> call with Tcl8.3.
>
> Index: generic/gdbtk-hooks.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
> retrieving revision 1.13
> diff -u -r1.13 gdbtk-hooks.c
> --- gdbtk-hooks.c 2001/05/10 22:34:54 1.13
> +++ gdbtk-hooks.c 2001/05/14 23:49:42
> @@ -462,7 +462,7 @@
> int val;
> if (varname == NULL)
> {
> -#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 1
> +#if TCL_MAJOR_VERSION == 8 && (TCL_MINOR_VERSION < 1 || TCL_MINOR_VERSION > 2)
> Tcl_Obj *varnamestrobj = Tcl_NewStringObj ("download_cancel_ok", -1);
> varname = Tcl_ObjGetVar2 (gdbtk_interp, varnamestrobj, NULL, TCL_GLOBAL_ONLY);
> #else
> @@ -733,7 +733,7 @@
> Tcl_NewStringObj ("gdbtk_tcl_trace_find_hook", -1));
> Tcl_ListObjAppendElement (gdbtk_interp, cmdObj, Tcl_NewStringObj (arg, -1));
> Tcl_ListObjAppendElement (gdbtk_interp, cmdObj, Tcl_NewIntObj (from_tty));
> -#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 1
> +#if TCL_MAJOR_VERSION == 8 && (TCL_MINOR_VERSION < 1 || TCL_MINOR_VERSION > 2)
> if (Tcl_GlobalEvalObj (gdbtk_interp, cmdObj) != TCL_OK)
> report_error ();
> #else
>
> --
> What would Jenna Bush do?
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
next parent reply other threads:[~2001-05-15 12:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010514170524.164d5bf3.irox@evilpeople.com>
2001-05-15 12:25 ` Fernando Nasser [this message]
2001-05-16 6:08 ` Andrew Cagney
2001-05-16 7:14 ` Keith Seitz
2001-05-16 15:55 ` Fernando Nasser
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=3B018207.2BEE97B1@redhat.com \
--to=fnasser@redhat.com \
--cc=cgf@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=ezannoni@cygnus.com \
--cc=gdb@sources.redhat.com \
--cc=insight@sources.redhat.com \
--cc=irox@evilpeople.com \
--cc=jimb@cygnus.com \
--cc=kevinb@cygnus.com \
--cc=msnyder@cygnus.com \
/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