This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] btrace: fix case label in btrace_data_append


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=40e050d242199ac67803c155ac2062169e5cf53d

commit 40e050d242199ac67803c155ac2062169e5cf53d
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Jul 15 08:43:09 2015 +0200

    btrace: fix case label in btrace_data_append
    
    gdb/
    	* common/btrace-common.c (btrace_data_append): Change case label.

Diff:
---
 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 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]