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.
This commit is contained in:
Stephen Clark
2021-05-13 10:13:57 -05:00
committed by Joel Sherrill
parent 75c133bda0
commit 9b088157ed
3 changed files with 28 additions and 8 deletions

View File

@@ -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);
/**