This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Stray "," in mi-support.exp
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 12 Mar 2005 23:52:43 -0500
- Subject: Re: [patch] Stray "," in mi-support.exp
- References: <200503120127.23761.paul@codesourcery.com>
On Sat, Mar 12, 2005 at 01:27:23AM +0000, Paul Brook wrote:
> The attached patch removes what appears to be a stray "," in
> testsuite/lib/mi-support.exp
>
> I'd commit as obvious, but I never can be sure with dejagnu.The relevant
> excerpt from testsuite/gdb.log is:
>
> (gdb) ^M
> target remote tcp:localhost:2345^M
> &"target remote tcp:localhost:2345\n"^M
> ~"Remote debugging using tcp:localhost:2345\n"^M
> ~"0x00000000 in ?? ()\n"^M
> ^done^M
> (gdb) ^M
>
> Ok?
Hmm, it looks right to me, but I'd like for one of the MI maintainers
to comment. With gdbserver, we use -target-select, which produces:
47-target-select remote localhost:2346
Remote debugging from host 127.0.0.1
47^connected,thread-id="0",frame={addr="0xb7feac20",func="??",args=[]}
(gdb)
This is preferable to using the CLI passthrough; want to give that a
shot, and then we can just delete the questionable pattern?
--
Daniel Jacobowitz
CodeSourcery, LLC