commit | ff93c7b1a208996747759c4533d1d7d6acb41bce | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu Apr 06 09:24:01 2023 +0930 |
committer | Alan Modra <amodra@gmail.com> | Thu Apr 06 09:51:38 2023 +0930 |
tree | e7f20d1b586a6d50eb51d467848d4d48107f88f0 | |
parent | 6ff1cef1b40ccaa45bbbd765d81d750c2dc4f0ac [diff] |
objdump -g on gcc COFF/PE files objdump -g can't be used much. Trying to dump PE files invariably seems to run into "debug_name_type: no current file" or similar errors, because parse_coff expects a C_FILE symbol to be the first symbol. Dumping -gstabs output works since the N_SO stab is present. Pre-setting the file name won't hurt stabs dumping. * rddbg.c (read_debugging_info): Call debug_set_filename.