Change the default implementation of to_traceframe_info to tcomplain
authorYao Qi <yao@codesourcery.com>
Tue, 4 Mar 2014 09:39:10 +0000 (17:39 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 6 Mar 2014 01:39:50 +0000 (09:39 +0800)
commit6a5f844b29319793deb3840b20803bd3a0fa01a2
treefb8387d5b41a2082ba09a06baf5265de4fa91d27
parent9e43f3e57d4ddf1ac042e8af35517f7fd2c776a7
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.
gdb/ChangeLog
gdb/target-delegates.c
gdb/target.h