aboutsummaryrefslogtreecommitdiff
path: root/gdb/btrace.c
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2013-09-30 15:00:16 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2014-01-16 12:45:10 +0100
commit864089d2f64c6624aac3f52ece2c31dff6a8f59f (patch)
tree1bacfaf16aef4e94b337533f14d2b6a9f13e517b /gdb/btrace.c
parented9edfb5d5edb1dd0b6280ae4acdd9963a12ebe6 (diff)
downloadgdb-864089d2f64c6624aac3f52ece2c31dff6a8f59f.zip
gdb-864089d2f64c6624aac3f52ece2c31dff6a8f59f.tar.gz
gdb-864089d2f64c6624aac3f52ece2c31dff6a8f59f.tar.bz2
btrace: uppercase btrace_read_type
2014-01-16 Markus Metzger <markus.t.metzger@intel.com> * common/btrace-common.h (btrace_read_type) <btrace_read_all>: Change to ... (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. (btrace_read_type) <btrace_read_new>: Change to ... (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r--gdb/btrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c
index 7f26e1e..df62da8 100644
--- a/gdb/btrace.c
+++ b/gdb/btrace.c
@@ -401,7 +401,7 @@ btrace_fetch (struct thread_info *tp)
if (btinfo->target == NULL)
return;
- btrace = target_read_btrace (btinfo->target, btrace_read_new);
+ btrace = target_read_btrace (btinfo->target, BTRACE_READ_NEW);
if (VEC_empty (btrace_block_s, btrace))
return;