diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-10-13 18:18:12 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-10-22 13:42:37 +0100 |
commit | 431be556b0bdd0733dedec2368d8d6a72cacea72 (patch) | |
tree | 830c93f1f139e82ca3b830cbb8f7f001aa229a31 /gdb/python/py-arch.c | |
parent | c628f812eba820e11ef83033b38becca1b148dc5 (diff) | |
download | binutils-431be556b0bdd0733dedec2368d8d6a72cacea72.zip binutils-431be556b0bdd0733dedec2368d8d6a72cacea72.tar.gz binutils-431be556b0bdd0733dedec2368d8d6a72cacea72.tar.bz2 |
gdb: make disassembler fprintf callback a static member function
The disassemble_info structure has four callbacks, we have three of
them as static member functions within gdb_disassembler, the fourth is
just a global static function.
However, this fourth callback, is still only used from the
disassemble_info struct, so there's no real reason for its special
handling.
This commit makes fprintf_disasm a static method within
gdb_disassembler.
There should be no user visible changes after this commit.
Diffstat (limited to 'gdb/python/py-arch.c')
0 files changed, 0 insertions, 0 deletions