diff options
author | Tom Tromey <tromey@adacore.com> | 2021-09-03 10:29:58 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-09-03 11:30:46 -0600 |
commit | 7a2813c00be99356b30e568d87a4adaf651de1d8 (patch) | |
tree | b0d290808f54c8a7f42cda59a425b61a89421aee /gdb/infcmd.c | |
parent | a640adf7cfb7920d7a0b6b34a671ea138a9cdc83 (diff) | |
download | gdb-7a2813c00be99356b30e568d87a4adaf651de1d8.zip gdb-7a2813c00be99356b30e568d87a4adaf651de1d8.tar.gz gdb-7a2813c00be99356b30e568d87a4adaf651de1d8.tar.bz2 |
Use CORE_ADDR as return type from x86_dr_low_get_addr
On a Windows build locally, watchpoints started failing. I tracked
this down to x86_dr_low_get_addr returning an 'unsigned long'... in
this particular build, this is a 32-bit type, but the inferior is a
64-bit program.
This patch fixes the problem by changing the return type. No other
change is required, because this matches the function pointer in
struct x86_dr_low_type.
Diffstat (limited to 'gdb/infcmd.c')
0 files changed, 0 insertions, 0 deletions