* Re: [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets
@ 2003-03-27 18:09 Michael Elizabeth Chastain
2003-03-27 20:18 ` Corinna Vinschen
0 siblings, 1 reply; 5+ messages in thread
From: Michael Elizabeth Chastain @ 2003-03-27 18:09 UTC (permalink / raw)
To: gdb-patches
> the following patch removes the usage of the "run" command from the
> gdb.c++/casts.exp test. This way it also runs on targets which don't
> support "run" as a valid command (e.g. on embedded boards).
>
> Ok to commit?
Hi Corinna,
Approved, provided you've tested it at least once.
Any similar patches from you in gdb.c++ are pre-approved,
as long as you say that you've tested them.
Michael C
2003-03-27 Corinna Vinschen <vinschen@redhat.com>
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets
2003-03-27 18:09 [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets Michael Elizabeth Chastain
@ 2003-03-27 20:18 ` Corinna Vinschen
0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2003-03-27 20:18 UTC (permalink / raw)
To: gdb-patches
On Thu, Mar 27, 2003 at 12:09:44PM -0600, Michael Elizabeth Chastain wrote:
> > the following patch removes the usage of the "run" command from the
> > gdb.c++/casts.exp test. This way it also runs on targets which don't
> > support "run" as a valid command (e.g. on embedded boards).
> >
> > Ok to commit?
>
> Hi Corinna,
>
> Approved, provided you've tested it at least once.
Yes, sure, it's tested.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets
@ 2003-03-27 9:51 Corinna Vinschen
2003-03-27 13:40 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2003-03-27 9:51 UTC (permalink / raw)
To: gdb-patches
Hi,
the following patch removes the usage of the "run" command from the
gdb.c++/casts.exp test. This way it also runs on targets which don't
support "run" as a valid command (e.g. on embedded boards).
Ok to commit?
2003-03-27 Corinna Vinschen <vinschen@redhat.com>
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
Index: gdb.c++/casts.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/casts.exp,v
retrieving revision 1.2
diff -u -p -r1.2 casts.exp
--- gdb.c++/casts.exp 4 Jan 2003 22:30:21 -0000 1.2
+++ gdb.c++/casts.exp 27 Mar 2003 09:38:52 -0000
@@ -55,11 +55,16 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
+if ![runto_main] then {
+ perror "couldn't run to breakpoint"
+ continue
+}
+
gdb_test "break [gdb_get_line_number "casts.exp: 1"]" \
"Breakpoint.*at.* file .*" \
""
-gdb_test "run" "Breakpoint .* at .*casts.cc.*" ""
+gdb_test "continue" "Breakpoint .* at .*casts.cc.*" ""
# Casting a pointer to a base class to a pointer to a derived class
# should yield the entire derived class. Until August 2002, GDB got
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets
2003-03-27 9:51 Corinna Vinschen
@ 2003-03-27 13:40 ` Daniel Jacobowitz
2003-03-27 14:10 ` Corinna Vinschen
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-03-27 13:40 UTC (permalink / raw)
To: gdb-patches
On Thu, Mar 27, 2003 at 10:50:59AM +0100, Corinna Vinschen wrote:
> Hi,
>
> the following patch removes the usage of the "run" command from the
> gdb.c++/casts.exp test. This way it also runs on targets which don't
> support "run" as a valid command (e.g. on embedded boards).
>
> Ok to commit?
Yes, this is OK.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets
2003-03-27 13:40 ` Daniel Jacobowitz
@ 2003-03-27 14:10 ` Corinna Vinschen
0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2003-03-27 14:10 UTC (permalink / raw)
To: gdb-patches
On Thu, Mar 27, 2003 at 08:40:13AM -0500, Daniel Jacobowitz wrote:
> On Thu, Mar 27, 2003 at 10:50:59AM +0100, Corinna Vinschen wrote:
> > Hi,
> >
> > the following patch removes the usage of the "run" command from the
> > gdb.c++/casts.exp test. This way it also runs on targets which don't
> > support "run" as a valid command (e.g. on embedded boards).
> >
> > Ok to commit?
>
> Yes, this is OK.
Thanks, applied.
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-27 20:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 18:09 [RFA] testsuite/gdb.c++/casts.exp: Fix to run also on embedded targets Michael Elizabeth Chastain
2003-03-27 20:18 ` Corinna Vinschen
-- strict thread matches above, loose matches on Subject: below --
2003-03-27 9:51 Corinna Vinschen
2003-03-27 13:40 ` Daniel Jacobowitz
2003-03-27 14:10 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox