diff options
author | Alan Modra <amodra@gmail.com> | 2025-05-15 08:29:37 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-05-15 08:45:46 +0930 |
commit | 490ce7e8178261a3aa15c30fc19073c85b5f3a0b (patch) | |
tree | c94e39cebb551e4fd3704a96a4c5252efe18a395 /gdb/python/python.c | |
parent | 6d007cc9c2aa597ce14cce2991e91d06f83df1b1 (diff) | |
download | binutils-490ce7e8178261a3aa15c30fc19073c85b5f3a0b.zip binutils-490ce7e8178261a3aa15c30fc19073c85b5f3a0b.tar.gz binutils-490ce7e8178261a3aa15c30fc19073c85b5f3a0b.tar.bz2 |
gas .file 0 vs. dwarf5
Support added in commit 3417bfca676f for dwarf5 directory table 0
assumed that .file 0 was always the first debug .file directive.
That's not necessarily true.
* dwarf2dbg.c (get_directory_table_entry): Don't assume entry
1 is available after putting DW_AT_comp_dir in entry 0. Pass
pwd as file0_dirname to recursive call to avoid another
getpwd in the case file0_dirname is NULL.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions