public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] get_prompt API change
@ 2011-09-11 17:32 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2011-09-11 17:32 UTC (permalink / raw)
  To: insight

[-- 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

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

only message in thread, other threads:[~2011-09-11 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-11 17:32 [PATCH] get_prompt API change Keith Seitz

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).