[PATCH] Demangle function names when disassembling
Tom Tromey
tromey@adacore.com
Tue Jul 28 17:47:08 GMT 2020
Tom> gdb/ChangeLog
Tom> 2020-07-23 Tom Tromey <tromey@adacore.com>
Tom> PR symtab/26270:
Tom> * symtab.h (find_pc_partial_function_sym): Declare.
Tom> * cli/cli-cmds.c (disassemble_command): Use
Tom> find_pc_partial_function_sym. Check asm_demangle.
Tom> * blockframe.c (cache_pc_function_sym): New global.
Tom> (cache_pc_function_name): Remove.
Tom> (clear_pc_function_cache): Update.
Tom> (find_pc_partial_function_sym): New function, from
Tom> find_pc_partial_function.
Tom> (find_pc_partial_function): Rewrite using
Tom> find_pc_partial_function_sym.
I'm checking this in now.
Tom
More information about the Gdb-patches
mailing list