This is part of the output from running: $ ./TestRunner -c FINE frysk.bindir.TestFhd java.lang.NegativeArraySizeException at lib.dw.DwarfDie.get_scopes(fhpd) at lib.dw.DwarfDie.getScopes(fhpd) at frysk.cli.hpd.ExprSymTab.getDie(fhpd) at frysk.cli.hpd.ExprSymTab.get(fhpd) at frysk.expr.CppTreeParser.expr(fhpd) at frysk.expr.CppTreeParser.expr(fhpd) at frysk.cli.hpd.SymTab.print(fhpd) at frysk.cli.hpd.CLI$PrintHandler.handle(fhpd) at frysk.cli.hpd.CLI.execCommand(fhpd) at fhpd.main(fhpd)
dwarf_getscopes is returning -1 when the PC is in an inlined function (and the call was assumed to succeed).
1. An issue was filed about dwarf_getscopes and inlined functions. 2. * hpd-c.c (func_1,func_2): Don't inline. 3. * TestFhd.java (testHpd): Enable. Skip optimized out values.