* stabs.c: Include "demangle.h". Added several new static
functions not listed below to demangle argument types; they are all called via stab_demangle_argtypes. (finish_stab): If the kind of an undefined tag is DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there are any pending variable. (parse_stab): Don't close the function when the block depth goes to zero. Pass value to debug_end_function. (parse_stab_string): In case 'T', pass the name to parse_stab_type. (parse_stab_type): In case 'x', use stab_find_tagged_type. In case '#', handle functions with variable numbers of arguments. (parse_stab_struct_type): Add tagname parameter. Change all callers. (parse_stab_members): Add tagname and typenums parameters. Change all callers. If the type of a method is a stub, call parse_stab_argtypes to demangle the argument types and get the physical name of the function. (parse_stab_argtypes): New static function. (stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC variable, call debug_record_variable immediately. (stab_find_tagged_type): New static function.
This commit is contained in:
parent
07aa1e1b7a
commit
d3023c8f19
2 changed files with 1790 additions and 74 deletions
1771
binutils/stabs.c
1771
binutils/stabs.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue