diff options
author | Stephen Clark <stephen.clark@oarcorp.com> | 2021-05-13 10:13:57 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-10-27 13:25:30 -0500 |
commit | 9b088157edeeaac688ea196abcfb111bf4de6f1f (patch) | |
tree | 723d54b745b2a4c5d081967cc655727a6ec22326 /cpukit/libdebugger/rtems-debugger-target.h | |
parent | sptests/sp69: Remove test case (diff) | |
download | rtems-9b088157edeeaac688ea196abcfb111bf4de6f1f.tar.bz2 |
rtems-debugger: Fixed pointer types to work on 32 and 64 bit architectures
Using 32bit types like uint32_t for pointers creates issues on 64 bit
architectures like AArch64. Replaced occurrences of these with
uintptr_t, which will work for both 32 and 64 bit architectures. Added
hex_decode_addr function to rtems-debugger.
Diffstat (limited to 'cpukit/libdebugger/rtems-debugger-target.h')
-rw-r--r-- | cpukit/libdebugger/rtems-debugger-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libdebugger/rtems-debugger-target.h b/cpukit/libdebugger/rtems-debugger-target.h index f2abbe5fd3..db356e1f07 100644 --- a/cpukit/libdebugger/rtems-debugger-target.h +++ b/cpukit/libdebugger/rtems-debugger-target.h @@ -200,7 +200,7 @@ extern void rtems_debugger_target_exception_print(CPU_Exception_frame* frame); * Software breakpoints. These are also referred to as memory breakpoints. */ extern int rtems_debugger_target_swbreak_control(bool insert, - DB_UINT addr, + uintptr_t addr, DB_UINT kind); /** |