Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: gdb@sourceware.org
Subject: Testsuite failure (mi-var-child-f.exp)
Date: Tue, 31 Oct 2006 08:47:00 -0000	[thread overview]
Message-ID: <17735.3278.186623.731002@kahikatea.snap.net.nz> (raw)


I get the following fail:

Running /home/nickrob/src/gdb/testsuite/gdb.mi/mi-var-child-f.exp ...
FAIL: gdb.mi/mi-var-child-f.exp: create local variable array
FAIL: gdb.mi/mi-var-child-f.exp: get children of array
FAIL: gdb.mi/mi-var-child-f.exp: get grandchildren of array (children of first element of second index)

		=== gdb Summary ===

# of expected passes		2
# of unexpected failures	3
/home/nickrob/src/gdb/testsuite/../../gdb/gdb version  6.5.50.20061029-cvs -nx


I didn't see this before because when I ran the testsuite it was untested
as array.f couldn't compile.  I have no file called g77 and perhaps others
don't too.  Should runtest also look for gfortran now?

array.f (used by mi-var-child-f.exp) has the line:

      DATA array/11,21,12,22,13,23/


In response to:

  -var-create - * array

I now get (gfortran):

  ^done,name="var1",numchild="6",type="int4 (0:5)"

when I used to get (g77):

^done,name="var1",numchild="3",type="int4 (2,-1:1)"


I'm pretty sure this is a problem with gfortran (incorrect DWARF output
or something) as it also happens with gfortran and an old GDB.

So that I'm not told it's a GDB issue by gfortran developers, can someone
on this list identify exactly what the problem is please?


-- 
Nick                                           http://www.inet.net.nz/~nickrob


             reply	other threads:[~2006-10-31  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31  8:47 Nick Roberts [this message]
2006-10-31  8:53 ` Nick Roberts
2006-10-31 13:44 ` Daniel Jacobowitz
2006-10-31 20:29   ` Nick Roberts
2006-10-31 20:31     ` Daniel Jacobowitz

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=17735.3278.186623.731002@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=gdb@sourceware.org \
    /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