diff options
author | Luis Machado <luis.machado@linaro.org> | 2019-10-31 16:30:44 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2019-10-31 16:30:44 -0300 |
commit | a2726d4ff80168a8134c68cb798e3f5f537b0eba (patch) | |
tree | 512800576a989ce7797d8cba2c664752638d8392 /gdb/ChangeLog | |
parent | 75cafaa61a0244016a2c2ee1d0b2742d674d7373 (diff) | |
download | gdb-a2726d4ff80168a8134c68cb798e3f5f537b0eba.zip gdb-a2726d4ff80168a8134c68cb798e3f5f537b0eba.tar.gz gdb-a2726d4ff80168a8134c68cb798e3f5f537b0eba.tar.bz2 |
[ARM] Store exception handling information per-bfd instead of per-objfile
Based on feedback from Tromey, update the use of objfile_key in gdb/arm-tdep.c
to use bfd_key instead. That way we don't have to re-create the exception
handling data all over again if it was done before for the same BFD.
gdb/ChangeLog:
2019-10-31 Luis Machado <luis.machado@linaro.org>
* arm-tdep.c (arm_exidx_data_key): Use bfd_key instead of
objfile_key.
(arm_exidx_new_objfile): Adjust to use objfile->obfd instead of
objfile to fetch per-bfd data.
(arm_find_exidx_entry): Likewise.
Change-Id: Ia7b3208ea8d788414600fa6d770ac76db0562859
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ee48133..7abe20e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2019-10-31 Luis Machado <luis.machado@linaro.org> + + * arm-tdep.c (arm_exidx_data_key): Use bfd_key instead of + objfile_key. + (arm_exidx_new_objfile): Adjust to use objfile->obfd instead of + objfile to fetch per-bfd data. + (arm_find_exidx_entry): Likewise. + 2019-10-31 Christian Biesinger <cbiesinger@google.com> * gdbsupport/agent.c (debug_agent): Change type to bool. |