Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Testsuite: Fortran: 6.8 regression + gfortran updates
Date: Mon, 29 Dec 2008 03:49:00 -0000	[thread overview]
Message-ID: <20081229034845.GF4216@adacore.com> (raw)
In-Reply-To: <20081208181523.GA23831@host0.dyn.jankratochvil.net>

> 2008-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.fortran/subarray.exp: Expect also the strings type output.
> 	* gdb.fortran/derived-type.exp: Likewise.  Expect also the kind=X types.
> 	Update for the f-valprint.c modification from 2008-04-22.

Looks OK to me.

Just a few questions, out of curiosity.

> -    "type = Type bar.*int4.*\:\: c.*real.*\:\: d.*End Type bar" \
> +    "type = Type bar.*int.*\:\: c.*real.*\:\: d.*End Type bar" \
                        ^^^^^^

What does the debugger print in your case? int8 or integer, or...?

> -gdb_test "print q%b" "\\$\[0-9\]+ = \\(.*a.*b.*c.*d.*e.*f.*g.*\\)"
> +gdb_test "print q%b" "\\$\[0-9\]+ = (\\(.*a.*b.*c.*d.*e.*f.*g.*\\)|'abcdefg')"

Under what circumstances will the debugger print the string as an array
of characters as opposed to a string?

-- 
Joel


  reply	other threads:[~2008-12-29  3:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:16 Jan Kratochvil
2008-12-29  3:49 ` Joel Brobecker [this message]
2009-01-06 14:05   ` Jan Kratochvil
2009-01-06 14:14     ` Jan Kratochvil
2009-01-07  5:14     ` Joel Brobecker
2009-01-07  7:38       ` Jan Kratochvil
2009-01-07  8:46         ` Joel Brobecker
2009-01-07 12:44           ` Jan Kratochvil

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=20081229034845.GF4216@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@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