diff options
author | Sergei Trofimovich <siarheit@google.com> | 2021-04-25 20:50:38 +0100 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2021-04-26 07:22:08 +0100 |
commit | c290cb01face96fa9c2a4f96f7d57083da3c99f1 (patch) | |
tree | dcfcb27e4528ea8ce296bfcbcd31894d546b5bb3 /gdb/ChangeLog | |
parent | 6476ec743f13594bd0ef642cabd7b1dd3548073e (diff) | |
download | gdb-c290cb01face96fa9c2a4f96f7d57083da3c99f1.zip gdb-c290cb01face96fa9c2a4f96f7d57083da3c99f1.tar.gz gdb-c290cb01face96fa9c2a4f96f7d57083da3c99f1.tar.bz2 |
gdb: fix sparc build failure of linux-nat
On sparc build failed as:
```
gdb/sparc-linux-nat.c: In member function
'virtual void sparc_linux_nat_target::fetch_registers(regcache*, int)':
gdb/sparc-linux-nat.c:36:37:
error: cannot convert 'regcache*' to 'process_stratum_target*'
36 | { sparc_fetch_inferior_registers (regcache, regnum); }
| ^~~~~~~~
| |
| regcache*
```
The fix adopts gdb/sparc-nat.h API change in d1e93af64a6
("gdb: set current thread in sparc_{fetch,collect}_inferior_registers").
gdb/ChangeLog:
* sparc-linux-nat.c (sparc_linux_nat_target): fix sparc build
by passing `process_stratum_target*` parameter.
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 fef76a0..2fc74f5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-04-25 Sergei Trofimovich <siarheit@google.com> + + * sparc-linux-nat.c (sparc_linux_nat_target): fix sparc build + by passing `process_stratum_target*` parameter. + 2021-04-25 Lancelot Six <lsix@lancelotsix.com> PR gdb/22640 |