Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] delete gdb_prompt_string
@ 2009-01-07 20:29 Doug Evans
  2009-01-07 21:18 ` Stan Shebs
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2009-01-07 20:29 UTC (permalink / raw)
  To: gdb-patches

Found while browsing top.c.

Ok to check in?

2009-01-07  Doug Evans  <dje@google.com>

	* top.c (gdb_prompt_string): Delete, unused.

Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.157
diff -u -p -r1.157 top.c
--- top.c	6 Jan 2009 18:28:04 -0000	1.157
+++ top.c	7 Jan 2009 20:21:13 -0000
@@ -132,9 +132,6 @@ void (*window_hook) (FILE *, char *);
 int epoch_interface;
 int xgdb_verbose;
 
-/* gdb prints this when reading a command interactively */
-static char *gdb_prompt_string;	/* the global prompt string */
-
 /* Buffer used for reading command lines, and the size
    allocated for it so far.  */
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFA] delete gdb_prompt_string
  2009-01-07 20:29 [RFA] delete gdb_prompt_string Doug Evans
@ 2009-01-07 21:18 ` Stan Shebs
  0 siblings, 0 replies; 2+ messages in thread
From: Stan Shebs @ 2009-01-07 21:18 UTC (permalink / raw)
  To: Doug Evans; +Cc: gdb-patches

Doug Evans wrote:
> Found while browsing top.c.
>
> Ok to check in?
>   
Sure.

Stan
> 2009-01-07  Doug Evans  <dje@google.com>
>
> 	* top.c (gdb_prompt_string): Delete, unused.
>
> Index: top.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/top.c,v
> retrieving revision 1.157
> diff -u -p -r1.157 top.c
> --- top.c	6 Jan 2009 18:28:04 -0000	1.157
> +++ top.c	7 Jan 2009 20:21:13 -0000
> @@ -132,9 +132,6 @@ void (*window_hook) (FILE *, char *);
>  int epoch_interface;
>  int xgdb_verbose;
>  
> -/* gdb prints this when reading a command interactively */
> -static char *gdb_prompt_string;	/* the global prompt string */
> -
>  /* Buffer used for reading command lines, and the size
>     allocated for it so far.  */
>  
>
>   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-07 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-07 20:29 [RFA] delete gdb_prompt_string Doug Evans
2009-01-07 21:18 ` Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox