From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab To: Jim Blandy Cc: gdb-patches@cygnus.com Subject: Re: Bogus stepi/nexti test Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-id: References: X-SW-Source: 1999-q1/msg00085.html Jim Blandy 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab To: Jim Blandy Cc: gdb-patches@cygnus.com Subject: Re: Bogus stepi/nexti test Date: Fri, 12 Mar 1999 01:19:00 -0000 Message-ID: References: X-SW-Source: 1999-03/msg00031.html Message-ID: <19990312011900.67Vd6CpbxeHeKID-oLVB7aeOUpAQdbE7xeoRu4u_bA4@z> Jim Blandy 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