From 680444f180c750078a77b0591cd5c19e632612d6 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 7 Dec 2016 10:10:33 +0100 Subject: More verbose dwarf. --- debug/DwarfPrinter.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debug/DwarfPrinter.ml') diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml index c9eb5acc..b81507a8 100644 --- a/debug/DwarfPrinter.ml +++ b/debug/DwarfPrinter.ml @@ -308,7 +308,9 @@ module DwarfPrinter(Target: DWARF_TARGET): let print_string oc c = function | Simple_string s -> fprintf oc " .asciz \"%s\"%a\n" s print_comment c - | Offset_string o -> print_loc_ref oc c o + | Offset_string (o,s) -> + let c = sprintf "%s %s" c s in + print_loc_ref oc c o let print_uleb128 oc c d = fprintf oc " .uleb128 %d%a\n" d print_comment c -- cgit