forked from Imagelibrary/binutils-gdb
Change the default implementation of to_traceframe_info to tcomplain
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.
This commit is contained in:
@@ -1297,7 +1297,7 @@ delegate_traceframe_info (struct target_ops *self)
|
||||
static struct traceframe_info *
|
||||
tdefault_traceframe_info (struct target_ops *self)
|
||||
{
|
||||
return NULL;
|
||||
tcomplain ();
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user