From: Keith Seitz <keiths@redhat.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] catch commands in cpp_variable.test
Date: Mon, 15 Oct 2001 22:55:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0112201026060.3928-100000@makita.cygnus.com> (raw)
Hi,
libstdc++ is now largely being built as a shared library. If the library
cannot be found, gdb cannot run executables.
This patch fixes cpp_variable.test so that it can complete in this case.
Until now, it just hangs!
Keith
ChangeLog
2001-12-20 Keith Seitz <keiths@redhat.com>
* cpp_variable.test: Catch non-test calls in case we
could not run.
Patch
Index: cpp_variable.test
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdbtk/cpp_variable.test,v
retrieving revision 1.5
diff -u -p -r1.5 cpp_variable.test
--- cpp_variable.test 2001/10/08 21:34:04 1.5
+++ cpp_variable.test 2001/12/20 18:18:44
@@ -185,7 +185,8 @@ gdbtk_test cpp_variable-1.6 {format of v
$var(v) format
} {natural}
-set value [$var(v) value]
+set value {}
+catch {$var(v) value} value
# Step over "V *v = new V;"
gdb_cmd "next"
WARNING: multiple messages have this Message-ID
From: Keith Seitz <keiths@redhat.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] catch commands in cpp_variable.test
Date: Thu, 20 Dec 2001 10:29:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0112201026060.3928-100000@makita.cygnus.com> (raw)
Message-ID: <20011220102900.IZ4xhQft-9a8GhBp4O8Ck7xNNyZ70VrKXwhQ8Nfl88o@z> (raw)
Hi,
libstdc++ is now largely being built as a shared library. If the library
cannot be found, gdb cannot run executables.
This patch fixes cpp_variable.test so that it can complete in this case.
Until now, it just hangs!
Keith
ChangeLog
2001-12-20 Keith Seitz <keiths@redhat.com>
* cpp_variable.test: Catch non-test calls in case we
could not run.
Patch
Index: cpp_variable.test
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdbtk/cpp_variable.test,v
retrieving revision 1.5
diff -u -p -r1.5 cpp_variable.test
--- cpp_variable.test 2001/10/08 21:34:04 1.5
+++ cpp_variable.test 2001/12/20 18:18:44
@@ -185,7 +185,8 @@ gdbtk_test cpp_variable-1.6 {format of v
$var(v) format
} {natural}
-set value [$var(v) value]
+set value {}
+catch {$var(v) value} value
# Step over "V *v = new V;"
gdb_cmd "next"
next reply other threads:[~2001-12-20 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-15 22:55 Keith Seitz [this message]
2001-12-20 10:29 ` Keith Seitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.33.0112201026060.3928-100000@makita.cygnus.com \
--to=keiths@redhat.com \
--cc=insight@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).