[PATCH] gdb: Don't change the uiout to console one when doing gdb.execute in TUI

Keith Seitz keiths@redhat.com
Tue May 25 15:04:40 GMT 2021


On 5/25/21 12:47 AM, Marco Barisione wrote:
> On 24 May 2021, at 19:25, Keith Seitz <keiths@redhat.com> wrote:
>>
>> We normally use gdb_test instead of gdb_send/gdb_expect. Is it not possible here?
> 
> I couldn’t get it to work in TUI mode and I couldn’t understand why (but
> I’m not an expert in TCL or how printing works in TUI mode).  I will try
> again as the test code is now simpler than it used to be while I was
> developing the test and, if I cannot get gdb_test to work, I will add
> a comment.

That would be great. Thank you!

Keith



More information about the Gdb-patches mailing list