DW_OP_piece coming in gcc 3.4

Michael Elizabeth Chastain
2004-01-30T05:27:43Z

I'm getting this with gcc-3_4-branch -gdwarf-2:

(gdb) PASS: gdb.base/store.exp: up print old l - longest
print r^M
Unhandled dwarf expression opcode 0x93^M
(gdb) FAIL: gdb.base/store.exp: up print old r - longest

We need a strategic decision:

(1) Implement DW_OP_piece in time for gdb 6.1.
(2) Ask gcc to not emit DW_OP_piece in gcc 3.4.
(3) File a PR (or tag onto PR gdb/1312 but that's not really right),
KFAIL the tests, add a note to PROBLEMS.

I don't know which strategy is good for gdb.

What will it be?

Michael C