From 40e050d242199ac67803c155ac2062169e5cf53d Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Wed, 15 Jul 2015 08:43:09 +0200 Subject: [PATCH] btrace: fix case label in btrace_data_append gdb/ * common/btrace-common.c (btrace_data_append): Change case label. --- gdb/ChangeLog | 4 ++++ gdb/common/btrace-common.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 61a28b6191b..b71b640e4c5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-07-21 Markus Metzger + + * common/btrace-common.c (btrace_data_append): Change case label. + 2015-07-20 Yao Qi * nat/aarch64-linux-hw-point.c (aarch64_handle_unaligned_watchpoint): diff --git a/gdb/common/btrace-common.c b/gdb/common/btrace-common.c index 359563671e3..9d6c4a7933e 100644 --- a/gdb/common/btrace-common.c +++ b/gdb/common/btrace-common.c @@ -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; -- 2.30.2