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

> |> > 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.

Oh --- I hadn't thought about that.  We should probably set a
breakpoint in main and continue, rather than finishing.

> 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. :-(

Wow --- this is really helpful.  Thanks!


  parent reply	other threads:[~1999-04-12 12:05 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
1999-03-12  1:19     ` Andreas Schwab
1999-04-12 13:01     ` Jim Blandy [this message]
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=npn20d1wxy.fsf@zwingli.cygnus.com \
    --to=jimb@cygnus.com \
    --cc=gdb-patches@cygnus.com \
    --cc=schwab@issan.informatik.uni-dortmund.de \
    /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