This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] delete gdb_prompt_string
- From: Stan Shebs <stan at codesourcery dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 07 Jan 2009 13:18:25 -0800
- Subject: Re: [RFA] delete gdb_prompt_string
- References: <20090107202904.4CD6A1C7A93@localhost>
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. */