This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SH patch 2 (was Re: [RFA] SH: Deprecate deprecated functions, use new frame interface)


On Tue, Sep 16, 2003 at 01:30:38PM -0400, Daniel Jacobowitz wrote:
> On Tue, Sep 16, 2003 at 07:26:06PM +0200, Corinna Vinschen wrote:
> > FAIL: gdb.base/store.exp: print add  - charest
> > FAIL: gdb.base/store.exp: print add  - short
> > FAIL: gdb.base/store.exp: print old r - longest
> > FAIL: gdb.base/store.exp: print old r - double
> > FAIL: gdb.base/store.exp: print old r - doublest
> > FAIL: gdb.base/store.exp: up print old r - longest
> > FAIL: gdb.base/store.exp: up print old r - double
> > FAIL: gdb.base/store.exp: up print old r - doublest
> 
> Hmm, with the current state of the tree those failures are pretty
> surprising.  Especially if you turned on the dwarf2 unwinder, they
> shouldn't be there.

Hmm, I'm getting a bunch of "Unhandled dwarf expression opcode"
messages.  The opcode in question is 0x93, DW_OP_piece.  I tweaked
the error message in dwarf2expr.c::execute_stack_op() to print the
opcode as well, so what I get is e.g. this:

  [...]
  continue^M
  Continuing.^M
  wack_longest (u=Unhandled dwarf expression opcode: 0x93^M
  ) at /home/corinna/src/gdb/src/gdb/testsuite/gdb.base/store.c:101^M
  101       register longest l = u, r = v;^M
  (gdb) PASS: gdb.base/store.exp: continue to wack_longest
  next^M
  102       l = add_longest (l, r);^M
  (gdb) PASS: gdb.base/store.exp: next longest
  print l^M
  $17 = -1^M
  (gdb) PASS: gdb.base/store.exp: print old l - longest
  print r^M
  Unhandled dwarf expression opcode: 0x93^M
  (gdb) FAIL: gdb.base/store.exp: print old r - longest

What does that mean?  How does that affect the approval of my code
as it is now?

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]