diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2025-02-25 16:28:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-02-25 22:22:52 -0500 |
commit | 00aa53dabce66ca713a1b3ae214d8fd00eabdc9e (patch) | |
tree | 75c2603662f388f5ef6b28913f6d1de666724404 /gdb/python | |
parent | f563d6cc749f0577bfe3e01426d1eed670870d4c (diff) | |
download | binutils-00aa53dabce66ca713a1b3ae214d8fd00eabdc9e.zip binutils-00aa53dabce66ca713a1b3ae214d8fd00eabdc9e.tar.gz binutils-00aa53dabce66ca713a1b3ae214d8fd00eabdc9e.tar.bz2 |
gdb: move "gdb:function_view" into quick-symbol.h typedefs
All users of these typedefs use them inside a gdb::function_view. Move
the gdb::function_view in the typedefs themselves. This shortens the
types in function signatures and helps with readability, IMO.
Rename them to remove the `_ftype` suffix: this suffix is not as
relevant in C++ as it was in C. With function_view, the caller can pass
more than just a simple "function". Anyway, I think it's clearer to
name them after the role the callback has (listener, matcher, etc).
Adjust some related comments.
Change-Id: Iaf9f8ede68b51ea9e4d954792e8eb90def8659a6
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions