[patch] python prompt additions at first prompt.

Matt Rice ratmice@gmail.com
Mon Aug 1 17:44:00 GMT 2011


On Mon, Aug 1, 2011 at 7:13 AM, Phil Muldoon <pmuldoon@redhat.com> wrote:
> Matt Rice <ratmice@gmail.com> writes:
>
>> On Mon, Aug 1, 2011 at 2:50 AM, Phil Muldoon <pmuldoon@redhat.com> wrote:
>>> Matt Rice <ratmice@gmail.com> writes:
>>>
>>>> little bug with the new python prompt stuff, the prompt_hook doesn't
>>>> take effect until the second prompt.
>>>
>>> Thanks for doing this.  This looks fine to me, apart from one question.
>>>
>>> For tests, there are prompt tests in the python.exp file for prompt
>>> substitutions.  For passing arguments to GDB at start-up, see usage of
>>> $GDBFLAGS in the testsuite.

Think it was the quoting of $gdb_prompt which had me foiled.

2011-08-01  Matt Rice  <ratmice@gmail.com>

        * gdb.python/py-prompt.exp: New file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite.diff
Type: text/x-patch
Size: 2078 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110801/a376fb7f/attachment.bin>


More information about the Gdb-patches mailing list