This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] testsuite: Update py-mi-objfile to expect console format print


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]