| (gdb) tar ext :41327
Remote debugging using :41327
warning: Remote gdbserver does not support determining executable automatically.
RHEL <=6.8 and <=7.2 versions of gdbserver do not support such automatic executable detection.
The following versions of gdbserver support it:
- Upstream version of gdbserver (unsupported) 7.10 or later
- Red Hat Developer Toolset (DTS) version of gdbserver from DTS 4.0 or later (only on x86_64)
- RHEL-7.3 versions of gdbserver (on any architecture)
Program stopped.
vTaskSwitchContext () at /home/karlp/src/ceres/src/freertos-10.3.0/tasks.c:3070
3070 taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
(gdb) mon rtt setup 0x20003000 0x3000
klx.cpu rtt setup <address> <size> <ID>
rtt setup <address> <size> <ID>
Protocol error with Rcmd
(gdb) mon rtt setup 0x20003000 0x3000 0
(gdb) mon rtt start
rtt: Searching for control block '0'
rtt: Control block found at 0x2000362b
(gdb) mon rtt server start 9090 0 "hi karl"
Listening on port 9090 for rtt connections
(gdb) c
Continuing.
accepting 'rtt' connection on tcp/9090
SWD DPIDR 0x2ba01477
Failed to read memory at 0xa5dcbdc4
rtt: Failed to read from up-channel 0
^C[New Thread 536850444]
Thread 2 received signal SIGINT, Interrupt.
[Switching to Thread 536850444]
0x000170e8 in prvCheckTasksWaitingTermination () at /home/karlp/src/ceres/src/freertos-10.3.0/tasks.c:3696
3696 while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U )
(gdb) p _SEGGER_RTT
$5 = {acID = "SEGGER RTT\000\000\000\000\000", MaxNumUpBuffers = 3, MaxNumDownBuffers = 3, aUp = {{sName = 0x3cc39 "Terminal",
pBuffer = 0x20006c05 <_acUpBuffer> "\033[32;40m1001175 [INFO ]: \033[0mK32 SPI init channel 0\r\n\033[32;40m1006571 [INFO ]: \033[0mK32 SPI init channel 1\r\n\033[32;40m1231921 [INFO ]: \033[0mCPU.....: K32L2A\r\n\033[32;40m1232117 [INFO ]: \033[0m - CORE.....: CM0 "..., SizeOfBuffer = 1024, WrOff = 1018, RdOff = 0, Flags = 0}, {sName = 0x0 <display_packing_bar_led>, pBuffer = 0x0 <display_packing_bar_led>, SizeOfBuffer = 0, WrOff = 0, RdOff = 0, Flags = 0}, {
sName = 0x0 <display_packing_bar_led>, pBuffer = 0x0 <display_packing_bar_led>, SizeOfBuffer = 0, WrOff = 0, RdOff = 0, Flags = 0}}, aDown = {{sName = 0x3cc39 "Terminal", pBuffer = 0x20006bf5 <_acDownBuffer> "", SizeOfBuffer = 16,
WrOff = 0, RdOff = 0, Flags = 0}, {sName = 0x0 <display_packing_bar_led>, pBuffer = 0x0 <display_packing_bar_led>, SizeOfBuffer = 0, WrOff = 0, RdOff = 0, Flags = 0}, {sName = 0x0 <display_packing_bar_led>,
pBuffer = 0x0 <display_packing_bar_led>, SizeOfBuffer = 0, WrOff = 0, RdOff = 0, Flags = 0}}}
(gdb) mon rtt channels
SWD DPIDR 0x2ba01477
Failed to read memory at 0xa5a5a5a5
Channels: up=2779096485, down=2779096485
Up-channels:
Protocol error with Rcmd
(gdb)
|