diff options
author | Sergei Trofimovich <siarheit@google.com> | 2020-05-19 22:19:45 +0100 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2020-08-17 21:52:52 +0100 |
commit | f9b11e6b1833a6dc06a0af03bcb6bd42d7a2f009 (patch) | |
tree | 48a048b6227bdcdef6785f8a5f64ee8ff0a488d5 /ltversion.m4 | |
parent | 326afb722951cacc6131e2d6d1511986748ca017 (diff) | |
download | gdb-f9b11e6b1833a6dc06a0af03bcb6bd42d7a2f009.zip gdb-f9b11e6b1833a6dc06a0af03bcb6bd42d7a2f009.tar.gz gdb-f9b11e6b1833a6dc06a0af03bcb6bd42d7a2f009.tar.bz2 |
gdb: fix IA64 build failure of linux-nat
On IA64 built failed as:
```
ia64-linux-nat.c:352:29: error: 'gdbarch_num_regs' was not declared in this scope
352 | if (regno < 0 || regno >= gdbarch_num_regs (gdbarch))
| ^~~~~~~~~~~~~~~~
```
The fix includes "gdbarch.h" header where symbol is declared.
* ia64-linux-nat.c: Include "gdbarch.h" to declare used
'gdbarch_num_regs'.
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'ltversion.m4')
0 files changed, 0 insertions, 0 deletions