btrace: fix case label in btrace_data_append
authorMarkus Metzger <markus.t.metzger@intel.com>
Wed, 15 Jul 2015 06:43:09 +0000 (08:43 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Tue, 21 Jul 2015 11:50:44 +0000 (13:50 +0200)
gdb/
* common/btrace-common.c (btrace_data_append): Change case label.

gdb/ChangeLog
gdb/common/btrace-common.c

index 61a28b6191b3e9ef33fc410c2de202e1e257c8f3..b71b640e4c5798d3d057ade2e3980aefaa0b2377 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * common/btrace-common.c (btrace_data_append): Change case label.
+
 2015-07-20  Yao Qi  <yao.qi@linaro.org>
 
        * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint):
index 359563671e37732a112af522ef6062129f18743b..9d6c4a7933e233904b108bdb10986d11f7327782 100644 (file)
@@ -155,7 +155,7 @@ btrace_data_append (struct btrace_data *dst,
          dst->variant.pt.size = 0;
 
          /* fall-through.  */
-       case BTRACE_FORMAT_BTS:
+       case BTRACE_FORMAT_PT:
          {
            gdb_byte *data;
            size_t size;