]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Print arguments of DWARF extension DW_CFA_ORCL_arg_loc.
authorIvo Raisr <ivosh@ivosh.net>
Wed, 20 Apr 2016 00:21:50 +0000 (00:21 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Wed, 20 Apr 2016 00:21:50 +0000 (00:21 +0000)
n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15863

coregrind/m_debuginfo/readdwarf.c

index a95bb3dc74d59750aab52713c8c546260c62bde5..c40c3b1eb237834fc158120ed4187a20956caded 100644 (file)
@@ -3551,8 +3551,9 @@ static Int show_CF_instruction ( DiCursor instrIN,
          break;
 
       case DW_CFA_ORCL_arg_loc:
-         /* :TODO: Print all arguments when implemented in libdwarf. */
-         VG_(printf)("  sci:DW_CFA_ORCL_arg_loc\n");
+         reg = step_leb128( &instr, 0 );
+         len = step_leb128( &instr, 0 );
+         VG_(printf)("  sci:DW_CFA_ORCL_arg_loc(%d, length %d)\n", reg, len);
          break;
 
       default: