mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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:
committed by
Joel Sherrill
parent
75c133bda0
commit
9b088157ed
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user