This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] testsuite: Update py-mi-objfile to expect console format print
- From: Catalin-Dan Udma <catalin-dan dot udma at nxp dot com>
- To: Pedro Alves <palves at redhat dot com>, Catalin Udma <catalin dot udma at freescale dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 5 Apr 2016 13:36:19 +0000
- Subject: RE: [PATCH] testsuite: Update py-mi-objfile to expect console format print
- Authentication-results: sourceware.org; auth=none
- Authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nxp.com;
- References: <1459851290-13123-1-git-send-email-catalin dot udma at freescale dot com> <57039A9E dot 4010408 at redhat dot com> <VI1PR0401MB177699B67ACFF06DB4DB2A33DA9E0 at VI1PR0401MB1776 dot eurprd04 dot prod dot outlook dot com> <5703A892 dot 6090003 at redhat dot com> <VI1PR0401MB1776B3A14830B1AFA903A031DA9E0 at VI1PR0401MB1776 dot eurprd04 dot prod dot outlook dot com> <5703B968 dot 7010307 at redhat dot com> <5703BA12 dot 2090602 at redhat dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
> 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