2014-02-25 Hui Zhu <hui@codesourcery.com>
authorHui Zhu <teawater@gmail.com>
Tue, 25 Feb 2014 15:55:42 +0000 (23:55 +0800)
committerHui Zhu <teawater@gmail.com>
Tue, 25 Feb 2014 15:55:42 +0000 (23:55 +0800)
* target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
to_traceframe_info.

gdb/ChangeLog
gdb/target.h

index 4758b87..37c4b6b 100644 (file)
@@ -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)
index db248a8..7ce66c1 100644 (file)
@@ -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.  */