This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 14/20] Use gdbpy_enter in gdbpy_before_prompt_hook
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>> if (prompt != NULL)
>> set_prompt (prompt.get ());
Pedro> I haven't applied the patch locally, but I suspect this set_prompt call
Pedro> could move to the tail of the nested ifs, where you could
Pedro> return EXT_LANG_RC_OK unconditionally, and then the bottom
Pedro> could just unconditionally return EXT_LANG_RC_NOP.
Yes, that's correct. I'm making this change.
Tom