From: "Paul Pluzhnikov" <ppluzhnikov@google.com>
To: "Ulrich Weigand" <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Patch for PR gdb/2477
Date: Tue, 15 Jul 2008 19:04:00 -0000 [thread overview]
Message-ID: <8ac60eac0807151203j666104adpb1c1328f606b12b6@mail.gmail.com> (raw)
In-Reply-To: <200807151852.m6FIqECB022335@d12av02.megacenter.de.ibm.com>
On Tue, Jul 15, 2008 at 11:52 AM, Ulrich Weigand <uweigand@de.ibm.com> wrote:
> p acp->c2
> $10 = (A *) 0x3ffff
> (gdb) FAIL: gdb.cp/class2.exp: p acp->c2
>
> Any suggestions how to fix this?
Well, since we are just testing absence of gdb error, the test can
be relaxed:
Index: testsuite/gdb.cp/class2.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/class2.exp,v
retrieving revision 1.7
diff -u -p -u -r1.7 class2.exp
--- testsuite/gdb.cp/class2.exp 14 Jul 2008 18:28:57 -0000 1.7
+++ testsuite/gdb.cp/class2.exp 15 Jul 2008 19:01:37 -0000
@@ -123,4 +123,4 @@ gdb_test "p e" "= \{<No data fields>\}"
gdb_test "set print object on" ""
gdb_test "p acp" "= \\(C \\*\\) 0x\[a-f0-9\]+"
gdb_test "p acp->c1" "\\(A \\*\\) 0x0"
-gdb_test "p acp->c2" "\\(A \\*\\) 0xf+"
+gdb_test "p acp->c2" "\\(A \\*\\) 0x\[a-f0-9\]+"
I don't know if that's the correct solution though.
--
Paul Pluzhnikov
prev parent reply other threads:[~2008-07-15 19:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 17:32 Paul Pluzhnikov
2008-07-14 17:43 ` Daniel Jacobowitz
2008-07-14 18:12 ` Paul Pluzhnikov
2008-07-14 18:21 ` Daniel Jacobowitz
2008-07-14 18:30 ` Paul Pluzhnikov
2008-07-15 18:52 ` Ulrich Weigand
2008-07-15 19:03 ` Daniel Jacobowitz
2008-07-15 19:16 ` Paul Pluzhnikov
2008-07-15 20:04 ` Ulrich Weigand
2008-07-15 19:04 ` Paul Pluzhnikov [this message]
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=8ac60eac0807151203j666104adpb1c1328f606b12b6@mail.gmail.com \
--to=ppluzhnikov@google.com \
--cc=gdb-patches@sourceware.org \
--cc=uweigand@de.ibm.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