diff options
author | Pedro Alves <palves@redhat.com> | 2020-05-16 12:26:56 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2020-05-16 12:26:56 +0100 |
commit | 9bf058f09457de5efd094b87081b7d031ce96cbc (patch) | |
tree | 22e5642eb28e131f1cae58110eae8e5622e1663f /gdb/top.h | |
parent | 8bbf03947dd594262e672c1fbc3462a81c811b6f (diff) | |
download | gdb-9bf058f09457de5efd094b87081b7d031ce96cbc.zip gdb-9bf058f09457de5efd094b87081b7d031ce96cbc.tar.gz gdb-9bf058f09457de5efd094b87081b7d031ce96cbc.tar.bz2 |
Fix IA64 GNU/Linux build
This commit should fix:
../../gdb/ia64-linux-nat.c: In function ‘void enable_watchpoints_in_psr(ptid_t)’:
../../gdb/ia64-linux-nat.c:535:56: error: no matching function for call to ‘get_thread_regcache(ptid_t&)’
struct regcache *regcache = get_thread_regcache (ptid);
^
In file included from ../../gdb/ia64-linux-nat.c:25:0:
../../gdb/regcache.h:35:25: note: candidate: regcache* get_thread_regcache(process_stratum_target*, ptid_t)
extern struct regcache *get_thread_regcache (process_stratum_target *target,
^
../../gdb/regcache.h:35:25: note: candidate expects 2 arguments, 1 provided
../../gdb/regcache.h:39:25: note: candidate: regcache* get_thread_regcache(thread_info*)
extern struct regcache *get_thread_regcache (thread_info *thread);
^
../../gdb/regcache.h:39:25: note: no known conversion for argument 1 from ‘ptid_t’ to ‘thread_info*’
gdb/ChangeLog:
2020-05-16 Pedro Alves <palves@redhat.com>
* ia64-linux-nat.c
(ia64_linux_nat_target) <enable_watchpoints_in_psr(ptid_t)>:
Declare method.
(enable_watchpoints_in_psr): Now a method of ia64_linux_nat_target.
Diffstat (limited to 'gdb/top.h')
0 files changed, 0 insertions, 0 deletions