forked from Imagelibrary/rtems
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
@@ -168,7 +168,7 @@ rtems_debugger_target_reg_table_size(void)
|
||||
}
|
||||
|
||||
int
|
||||
rtems_debugger_target_swbreak_control(bool insert, DB_UINT addr, DB_UINT kind)
|
||||
rtems_debugger_target_swbreak_control(bool insert, uintptr_t addr, DB_UINT kind)
|
||||
{
|
||||
rtems_debugger_target* target = rtems_debugger->target;
|
||||
rtems_debugger_target_swbreak* swbreaks;
|
||||
|
||||
Reference in New Issue
Block a user