diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2011-07-21 11:03:48 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2011-07-21 11:03:48 +0000 |
commit | d17b6f81012b6844de08934193fe7cb7db8cbd5f (patch) | |
tree | 38de35dc7c7f44f1f76fbe6af3bed4037b600e00 /gdb/top.h | |
parent | 3779080d04bb9504542076e02969f77dff46ae63 (diff) | |
download | gdb-d17b6f81012b6844de08934193fe7cb7db8cbd5f.zip gdb-d17b6f81012b6844de08934193fe7cb7db8cbd5f.tar.gz gdb-d17b6f81012b6844de08934193fe7cb7db8cbd5f.tar.bz2 |
2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
* top.c (set_prompt): Rewrite to free previous prompt, free
asynch_new_prompt and set both on new prompts.
* event-top.c (display_gdb_prompt): Add prompt substitution
logic.
* python/python.c (before_prompt_hook): New function.
2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python.exp: Add prompt substitution tests.
2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
* observer.texi (GDB Observers): Add before_prompt observer.
* gdb.texinfo (Basic Python): Add documentation for prompt
substitution.
Diffstat (limited to 'gdb/top.h')
-rw-r--r-- | gdb/top.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ extern char *get_prompt (void); /* This function copies the specified string into the string that is used by gdb for its command prompt. */ -extern void set_prompt (char *); +extern void set_prompt (const char *); /* From random places. */ extern int readnow_symbol_files; |