This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Don't use runto_main in i386-unwind.exp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Nov 2003 15:31:05 -0500
- Subject: Re: [PATCH] Don't use runto_main in i386-unwind.exp
- References: <200311231937.hANJb4Zu009335@elgar.kettenis.dyndns.org>
On Sun, Nov 23, 2003 at 08:37:04PM +0100, Mark Kettenis wrote:
> There is no real reson to use runto_main in this testcase, so I
> removed it.
>
> Committed,
>
> Mark
Please don't do this. runto_main works (suboptimally, but it works)
for remote targets which use a "target foo; load; continue" sequence,
but "run" doesn't.
How about gdb_run_cmd followed by a gdb_expect looking for the SIGTRAP?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer