aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2025-02-25 16:28:38 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2025-02-25 22:22:52 -0500
commit00aa53dabce66ca713a1b3ae214d8fd00eabdc9e (patch)
tree75c2603662f388f5ef6b28913f6d1de666724404 /gdb/python
parentf563d6cc749f0577bfe3e01426d1eed670870d4c (diff)
downloadbinutils-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