aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-05-03 00:37:23 +0100
committerPedro Alves <palves@redhat.com>2018-05-03 00:51:08 +0100
commitad6a4e2dd69f9d343864181b638e166ff1458861 (patch)
tree2b384cb81ff1653fad3e1e9cf560b5f25e3a1f04 /gdb/target.h
parentf6ac5f3d63e03a81c4ff3749aba234961cc9090e (diff)
downloadgdb-ad6a4e2dd69f9d343864181b638e166ff1458861.zip
gdb-ad6a4e2dd69f9d343864181b638e166ff1458861.tar.gz
gdb-ad6a4e2dd69f9d343864181b638e166ff1458861.tar.bz2
make-target-delegates: line break between return type and function name
Before the target_ops C++ification, this wasn't necessary simply because the methods were wrapped in ()'s, like '(*to_my_long_method_name) (target_ops *)', so std::vector<long_type_name>(*to_my_long_method_name) ()TARGET_DEFAULT_IGNORE () still parsed correctly. With the (*) gone, we need this. gdb/ChangeLog: 2018-05-02 Pedro Alves <palves@redhat.com> * make-target-delegates (scan_target_h): Don't trim lines here. Replace sequences of tabs and/or whitespace with a single whitespace. (top level, parsing methods): Trim each line before processing it here.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index b23b762..f78eb45 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1067,7 +1067,8 @@ struct target_ops
/* Return a vector of all tracepoints markers string id ID, or all
markers if ID is NULL. */
- virtual std::vector<static_tracepoint_marker> static_tracepoint_markers_by_strid (const char *id)
+ virtual std::vector<static_tracepoint_marker>
+ static_tracepoint_markers_by_strid (const char *id)
TARGET_DEFAULT_NORETURN (tcomplain ());
/* Return a traceframe info object describing the current