Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
To: Jim Blandy <jimb@cygnus.com>
Cc: gdb-patches@cygnus.com
Subject: Re: Bogus stepi/nexti test
Date: Fri, 12 Mar 1999 01:19:00 -0000	[thread overview]
Message-ID: <vyzg17buktf.fsf@issan.cs.uni-dortmund.de> (raw)
Message-ID: <19990312011900.67Vd6CpbxeHeKID-oLVB7aeOUpAQdbE7xeoRu4u_bA4@z> (raw)
In-Reply-To: <np3e3gvybj.fsf@zwingli.cygnus.com>

Jim Blandy <jimb@cygnus.com> writes:

|> > The stepi/nexti tests in gdb.base/step-test.exp are completely bogus and
|> > must be removed.
|> 
|> I took a different approach.  This isn't in GDB yet.  Your comments
|> would be welcome.

Doesn't work.  The test "stepi: finish call" fails because finish does not
work before the stack frame has been set up.

While we are at it, here are a couple more portability bugs:

- call-ar-st.exp ("step inside print_all_arrays"): Prints out an
  unterminated string, needs to ignore trailing garbage.
- long_long.exp: Pretty much all tests are target dependent.
- classes.exp ("print obj_with_enum (1)"): obj_with_enum is uninitialized,
  random garbage may be printed.
  ("print obj_with_enum (2)"): obj_with_enum.x is still unintialized,
  random garbage may be printed.
- miscexprs.exp ("print value of &cbig.c[0]"): Another case of an
  unterminated string.
- member-ptr.exp: Format of virtual tables is compiler dependent.  Casting
  a pointer to member is compiler dependent.
- overload.exp ("print foo_instance1"): foo_instance1.ccpfoo is
  uninitialized, random garbage may be printed.
  ("print foo_instance2", "print foo_instance3"): Yet another two cases of
  an unterminated string.
- ref-types2.exp: spelling of builtin types is compiler dependent.

It looks like portability is a foreign word at HP. :-(

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


  parent reply	other threads:[~1999-03-12  1:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-01  0:00 Andreas Schwab
1999-01-25  2:09 ` Andreas Schwab
1999-04-01  0:00 ` Jim Blandy
1999-03-08  6:41   ` Jim Blandy
1999-04-01  0:00   ` Andreas Schwab [this message]
1999-03-12  1:19     ` Andreas Schwab
1999-04-12 13:01     ` Jim Blandy
1999-04-12 12:05       ` Jim Blandy

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=vyzg17buktf.fsf@issan.cs.uni-dortmund.de \
    --to=schwab@issan.informatik.uni-dortmund.de \
    --cc=gdb-patches@cygnus.com \
    --cc=jimb@cygnus.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