public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: insight <insight@sourceware.org>
Subject: [PATCH] get_prompt API change
Date: Sun, 11 Sep 2011 17:32:00 -0000	[thread overview]
Message-ID: <4E6CE3C5.4010603@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Hi,

I've committed the attached patch which fixes a build problem with 
get_prompt in gdbtk-cmds.c. That function now (once again) takes no 
arguments.

Keith

ChangeLog

2011-09-11  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c (gdb_prompt_command): get_prompt now
	takes no arguments.

[-- Attachment #2: get_prompt.patch --]
[-- Type: text/plain, Size: 606 bytes --]

Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.121
diff -u -p -r1.121 gdbtk-cmds.c
--- generic/gdbtk-cmds.c	1 Aug 2011 22:08:20 -0000	1.121
+++ generic/gdbtk-cmds.c	11 Sep 2011 16:33:06 -0000
@@ -793,7 +793,7 @@ static int
 gdb_prompt_command (ClientData clientData, Tcl_Interp *interp,
 		    int objc, Tcl_Obj *CONST objv[])
 {
-  Tcl_SetStringObj (result_ptr->obj_ptr, get_prompt (0), -1);
+  Tcl_SetStringObj (result_ptr->obj_ptr, get_prompt (), -1);
   return TCL_OK;
 }
 \f

                 reply	other threads:[~2011-09-11 17:32 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=4E6CE3C5.4010603@redhat.com \
    --to=keiths@redhat.com \
    --cc=insight@sourceware.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).