This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] delete gdb_prompt_string


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. */




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]