aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2015-07-15 08:43:09 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2015-07-21 13:50:44 +0200
commit40e050d242199ac67803c155ac2062169e5cf53d (patch)
tree4a1eb16e32cf8ce324797eca6f814d382f962cca /gdb
parentf33026a96558ba9231ad91eb989ea6f347a15899 (diff)
downloadgdb-40e050d242199ac67803c155ac2062169e5cf53d.zip
gdb-40e050d242199ac67803c155ac2062169e5cf53d.tar.gz
gdb-40e050d242199ac67803c155ac2062169e5cf53d.tar.bz2
btrace: fix case label in btrace_data_append
gdb/ * common/btrace-common.c (btrace_data_append): Change case label.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/common/btrace-common.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 61a28b6..b71b640 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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):
diff --git a/gdb/common/btrace-common.c b/gdb/common/btrace-common.c
index 3595636..9d6c4a7 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;