aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-03 11:15:35 +1030
committerAlan Modra <amodra@gmail.com>2023-03-03 12:31:24 +1030
commit945efa5c538d3967857ff9fa42e763577534c36d (patch)
tree12f92678fd499143a6c9be13f74bc5e1d06becef /gdb/python
parentde357ff4e4f8fa7aaf621d680fde72a010b026d2 (diff)
downloadbinutils-945efa5c538d3967857ff9fa42e763577534c36d.zip
binutils-945efa5c538d3967857ff9fa42e763577534c36d.tar.gz
binutils-945efa5c538d3967857ff9fa42e763577534c36d.tar.bz2
Tidy type handling in binutils/rdcoff.c
There isn't really any good reason for code in rdcoff.c to distinguish between "basic" types and any other type. This patch dispenses with the array reserved for basic types and instead handles all types using coff_get_slot, simplifying the code. * rdcoff.c (struct coff_types, coff_slots): Merge. Delete coff_slots. (T_MAX): Delete. (parse_coff_base_type): Use coff_get_slot to store baseic types. (coff_get_slot, parse_coff_type, parse_coff_base_type), (parse_coff_struct_type, parse_coff_enum_type), (parse_coff_symbol, parse_coff): Pass types as coff_types**.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions