diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-08 16:40:59 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-08 16:40:59 -0500 |
commit | d0490f89ad3670e1cdbe06db25f391eb5f9f0d6d (patch) | |
tree | 68b9e1014e6bfdc87408a79d836e9fa3146134ca /gdb/infcmd.c | |
parent | 313f3b21cbcd3475c2fc6030abb26e6c8346d03b (diff) | |
download | gdb-d0490f89ad3670e1cdbe06db25f391eb5f9f0d6d.zip gdb-d0490f89ad3670e1cdbe06db25f391eb5f9f0d6d.tar.gz gdb-d0490f89ad3670e1cdbe06db25f391eb5f9f0d6d.tar.bz2 |
gdb: make dwarf2_find_containing_comp_unit take a dwarf2_per_bfd
While reading another patch, I saw that this function didn't need to
take a dwarf2_per_objfile, but could take a dwarf2_per_bfd instead.
It doesn't change the behavior, but doing this shows that this function
is objfile-independent (can work with only the shared per-bfd data).
Change-Id: I58f9c9cef6688902e95226480285da2d0005d77f
Diffstat (limited to 'gdb/infcmd.c')
0 files changed, 0 insertions, 0 deletions