Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: nickrob@snap.net.nz (Nick Roberts)
Cc: drow@false.org (Daniel Jacobowitz), gdb-patches@sourceware.org
Subject: Re: -var-create testsuite updates [PATCH]
Date: Fri, 09 Mar 2007 01:00:00 -0000	[thread overview]
Message-ID: <200703090100.l29106BM024625@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <17876.51347.325984.284231@kahikatea.snap.net.nz> from "Nick Roberts" at Feb 16, 2007 09:54:43 AM

Nick Roberts wrote:

>2007-02-16  Nick Roberts  <nickrob@snap.net.nz>
>
>        * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
>        * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
>        * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
>        * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
>        * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
>        Revert tests to use mi_gdb_test and include value field in output
>        of -var-create.

>! mi_gdb_test "-var-create lpcharacter * lpcharacter" \
>!       "\\^done,name=\"lpcharacter\",numchild=\"1\",value=\"$hex \\\\\".*\\\\\"\",type=\"char \\*\"" \
>!       "create local variable lpcharacter"

I'm not completely sure what the somewhat complex regular expression after "value"
is supposed to test, but it fails on SPU.  I get:

-var-create lpcharacter * lpcharacter^M
^done,name="lpcharacter",numchild="1",value="0x0",type="char *"^M
(gdb) ^M
FAIL: gdb.mi/mi-var-cmd.exp: create local variable lpcharacter

Is this a testcase problem, or is there really something going wrong?

(B.t.w. the same problem occurs also in mi2-var-cmd.exp.)

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  parent reply	other threads:[~2007-03-09  1:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 16:20 -var-create testsuite updates Daniel Jacobowitz
2007-02-09 20:48 ` Nick Roberts
2007-02-09 20:57   ` Daniel Jacobowitz
2007-02-11 21:43     ` Nick Roberts
2007-02-11 21:46       ` Daniel Jacobowitz
2007-02-12  6:18       ` Vladimir Prus
2007-02-12  9:30         ` Nick Roberts
2007-02-13 12:03           ` Daniel Jacobowitz
2007-02-15 20:55     ` -var-create testsuite updates [PATCH] Nick Roberts
2007-02-27 17:10       ` Daniel Jacobowitz
2007-03-09  1:00       ` Ulrich Weigand [this message]
2007-03-09  1:41         ` Nick Roberts
2007-03-09  2:22           ` Ulrich Weigand

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=200703090100.l29106BM024625@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=nickrob@snap.net.nz \
    /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