diff options
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r-- | gdb/btrace.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c index 152f6f2..4a056d2 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1531,23 +1531,23 @@ handle_pt_insn_events (struct btrace_thread_info *btinfo, if (event.variant.vmexit.has_vmxr != 0) { - std::string seperator = aux_string.back () == ':' ? "" : ","; - aux_string += seperator + std::string (" vmxr = ") + std::string separator = aux_string.back () == ':' ? "" : ","; + aux_string += separator + std::string (" vmxr = ") + hex_string (event.variant.vmexit.vmxr); } if (event.variant.vmexit.has_vmxq != 0) { - std::string seperator = aux_string.back () == ':' ? "" : ","; - aux_string += seperator + std::string (" vmxq = ") + std::string separator = aux_string.back () == ':' ? "" : ","; + aux_string += separator + std::string (" vmxq = ") + hex_string (event.variant.vmexit.vmxq); } if (event.ip_suppressed == 0) { pc = event.variant.vmexit.ip; - std::string seperator = aux_string.back () == ':' ? "" : ","; - aux_string += seperator + std::string (" ip = ") + std::string separator = aux_string.back () == ':' ? "" : ","; + aux_string += separator + std::string (" ip = ") + hex_string (*pc); } @@ -2136,7 +2136,7 @@ btrace_stitch_bts (struct btrace_data_bts *btrace, struct thread_info *tp) /* Adjust the block trace in order to stitch old and new trace together. BTRACE is the new delta trace between the last and the current stop. TP is the traced thread. - May modifx BTRACE as well as the existing trace in TP. + May modify BTRACE as well as the existing trace in TP. Return 0 on success, -1 otherwise. */ static int |