2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Thu, 21 Jul 2011 11:03:48 +0000 (11:03 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Thu, 21 Jul 2011 11:03:48 +0000 (11:03 +0000)
commitd17b6f81012b6844de08934193fe7cb7db8cbd5f
tree38de35dc7c7f44f1f76fbe6af3bed4037b600e00
parent3779080d04bb9504542076e02969f77dff46ae63
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.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/observer.texi
gdb/event-top.c
gdb/python/python.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp
gdb/top.c
gdb/top.h