This patch is to change the default implementation of to_traceframe_info
from 'return NULL' to tcomplain, which is intended. If new target
supports tracepoint, this method should be implemented, otherwise,
an error is thrown.
gdb:
2014-03-06 Yao Qi <yao@codesourcery.com>
* target.h (struct target_ops) <to_traceframe_info>: Use
TARGET_DEFAULT_NORETURN (tcomplain ()).
* target-delegates.c: Regenerated.
+2014-03-06 Yao Qi <yao@codesourcery.com>
+
+ * target.h (struct target_ops) <to_traceframe_info>: Use
+ TARGET_DEFAULT_NORETURN (tcomplain ()).
+ * target-delegates.c: Regenerated.
+
2014-03-05 Pedro Alves <palves@redhat.com>
PR gdb/16575
2014-03-05 Pedro Alves <palves@redhat.com>
PR gdb/16575
static struct traceframe_info *
tdefault_traceframe_info (struct target_ops *self)
{
static struct traceframe_info *
tdefault_traceframe_info (struct target_ops *self)
{
higher layers take care of caching, invalidating, and
re-fetching when necessary. */
struct traceframe_info *(*to_traceframe_info) (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 (NULL);
+ TARGET_DEFAULT_NORETURN (tcomplain ());
/* Ask the target to use or not to use agent according to USE. Return 1
successful, 0 otherwise. */
/* Ask the target to use or not to use agent according to USE. Return 1
successful, 0 otherwise. */