This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] delete gdb_prompt_string
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Wed, 7 Jan 2009 12:29:04 -0800 (PST)
- Subject: [RFA] delete gdb_prompt_string
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. */