diff options
author | Luis Machado <luis.machado@linaro.org> | 2021-05-17 11:41:09 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2021-06-25 10:08:38 -0300 |
commit | 134df964367c19afa2eef81a0841fe1c181a9edc (patch) | |
tree | 8a10b6e451b6d0fd6824840b1177df1214c4f805 /gdb/ChangeLog | |
parent | a7cde6df4039dc575469430bbb7caa4706840d93 (diff) | |
download | fsf-binutils-gdb-134df964367c19afa2eef81a0841fe1c181a9edc.zip fsf-binutils-gdb-134df964367c19afa2eef81a0841fe1c181a9edc.tar.gz fsf-binutils-gdb-134df964367c19afa2eef81a0841fe1c181a9edc.tar.bz2 |
Update the core file architecture if a target description is present
At the moment, the core target has its own gdbarch (m_core_gdbarch), and that
gets set from the core_bfd on the core target's constructor.
That gdbarch doesn't contain a target description because it is constructed
before we get a chance to fetch the target description.
As a result, some hooks that depend on the target description being set are
not set, and that leads to problems. One of the examples is
gdbarch_report_signal_info, which is used to show AArch64 tag violation
information.
Fix this by reading the target description before fetching the core file's
gdbarch.
gdb/ChangeLog:
2021-06-25 Luis Machado <luis.machado@linaro.org>
* corelow.c (core_target::core_target) Update to read target
description.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5fb76d0..820a9d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-06-25 Luis Machado <luis.machado@linaro.org> + + * corelow.c (core_target::core_target) Update to read target + description. + 2021-06-22 Simon Marchi <simon.marchi@polymtl.ca> * python/lib/gdb/__init__.py: Format. |