aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-06-23 11:21:36 +0930
committerAlan Modra <amodra@gmail.com>2022-06-23 18:01:59 +0930
commitecc741e64e87d505fa15ca565b0d94f333e7582a (patch)
tree48a1277ea14142c9f80a5e918dbabd455bb6bbb6 /gdb/python
parent83c325007c5599fa9b60b8d5f7b84842160e1d1b (diff)
downloadbinutils-ecc741e64e87d505fa15ca565b0d94f333e7582a.zip
binutils-ecc741e64e87d505fa15ca565b0d94f333e7582a.tar.gz
binutils-ecc741e64e87d505fa15ca565b0d94f333e7582a.tar.bz2
Re: PowerPC64: stub debug dump
Let's show the current stub as well as the previous one. Of interest is the current offset and a new field, id. Check that the build hash table traversal is in the same order as sizing traversal too. * elf64-ppc.c (struct ppc_stub_hash_entry): Add id. (struct ppc_link_hash_table): Add stub_id. (stub_hash_newfunc): Init id and symtype. (dump_stub): New function, extracted from.. (dump_previous_stub): ..here. Deleted. (ppc_build_one_stub): Sanity check stub id as well as offset. Show current stub as well as previous. (ppc_size_one_stub): Set stub id. (ppc64_elf_size_stubs): Init stub_id before traversal. (ppc64_elf_build_stubs): Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions