aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2014-02-25 23:55:42 +0800
committerHui Zhu <teawater@gmail.com>2014-02-25 23:55:42 +0800
commite186c3bd62c2e401c74651b712d960f38cfb8169 (patch)
tree990621a6eb7c2d708b16d10a23012755ff6243e2
parent6d451942486ca4125c48b1f10fdd5d619d6a532c (diff)
downloadbinutils-e186c3bd62c2e401c74651b712d960f38cfb8169.zip
binutils-e186c3bd62c2e401c74651b712d960f38cfb8169.tar.gz
binutils-e186c3bd62c2e401c74651b712d960f38cfb8169.tar.bz2
2014-02-25 Hui Zhu <hui@codesourcery.com>
* target.h (target_ops): Fix TARGET_DEFAULT_RETURN of to_traceframe_info.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4758b87..37c4b6b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-25 Hui Zhu <hui@codesourcery.com>
+
+ * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
+ to_traceframe_info.
+
2014-02-25 Kevin Buettner <kevinb@redhat.com>
* rl78-tdep.c ( RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
diff --git a/gdb/target.h b/gdb/target.h
index db248a8..7ce66c1 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -976,7 +976,7 @@ struct target_ops
higher layers take care of caching, invalidating, and
re-fetching when necessary. */
struct traceframe_info *(*to_traceframe_info) (struct target_ops *)
- TARGET_DEFAULT_RETURN (tcomplain ());
+ TARGET_DEFAULT_RETURN (NULL);
/* Ask the target to use or not to use agent according to USE. Return 1
successful, 0 otherwise. */