riscv-openocd/src/rtos
Dongxue Zhang 47b8cf8420 target: Add 64-bit target address support
Define a target_addr_t type to support 32-bit and 64-bit addresses at
the same time. Also define matching TARGET_PRI*ADDR format macros as
well as a convenient TARGET_ADDR_FMT.

In targets that are 32-bit (avr32, nds32, arm7/9/11, fm4, xmc1000)
be least invasive by leaving the formatting unchanged apart from the
type;
for generic code adopt TARGET_ADDR_FMT as unified address format.

Don't silently change gdb formatting here, leave that to later.

Add COMMAND_PARSE_ADDRESS() macro to abstract the address type.
Implement it using its own parse_target_addr() function, in the hopes
of catching pointer type mismatches better.

Add '--disable-target64' configure option to revert to previous 32-bit
target address behavior.

Change-Id: I2e91d205862ceb14f94b3e72a7e99ee0373a85d5
Signed-off-by: Dongxue Zhang <elta.era@gmail.com>
Signed-off-by: David Ung <david.ung.42@gmail.com>
[AF: Default to enabling (Paul Fertser), rename macros, simplify]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
2017-02-10 13:50:17 +01:00
..
ChibiOS.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
FreeRTOS.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
Makefile.am helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
ThreadX.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
eCos.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
embKernel.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
linux.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
linux_header.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mqx.c gdb_server: support qXfer:threads:read packet 2016-12-08 12:34:00 +00:00
rtos.c helper: Code cleanup for hexify() 2016-12-08 12:34:53 +00:00
rtos.h rtos: remove display_str member 2016-08-14 01:38:12 +01:00
rtos_chibios_stackings.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rtos_chibios_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ecos_stackings.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rtos_ecos_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_embkernel_stackings.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rtos_embkernel_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_mqx_stackings.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rtos_mqx_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_standard_stackings.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rtos_standard_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ucos_iii_stackings.c rtos: add support for uC/OS-III 2016-12-08 12:29:35 +00:00
rtos_ucos_iii_stackings.h rtos: add support for uC/OS-III 2016-12-08 12:29:35 +00:00
uCOS-III.c rtos: add support for uC/OS-III 2016-12-08 12:29:35 +00:00