[PATCH] testsuite: Update py-mi-objfile to expect console format print
Catalin-Dan Udma
catalin-dan.udma@nxp.com
Tue Apr 5 13:36:00 GMT 2016
> On 04/05/2016 02:11 PM, Pedro Alves wrote:
> > On 04/05/2016 02:08 PM, Catalin-Dan Udma wrote:
> >
> >> [Catalin Udma]
> >> gdb.execute ("interpreter-exec mi \"-gdb-show width\"", to_string = True)
> >> would crash the gdb with or without any of the patches in discussion.
> >> (MI patch for crash redirection, and use console for python gdb.execute)
> >
> > Bah...
>
> Looking again, note I suggested:
>
> gdb.execute ("interpreter-exec mi \"-gdb-show width\"")
>
> not:
>
> gdb.execute ("interpreter-exec mi \"-gdb-show width\"", to_string = True)
>
> TBC, does the former also likewise crash with or without patches?
>
> Thanks,
> Pedro Alves
The former gdb.execute ("interpreter-exec mi \"-gdb-show width\"") does not crash the gdb
in any combination of the two patches in discussion.
Regards,
Catalin
More information about the Gdb-patches
mailing list