How to ignore interruptions with gdb hand

I am trying to debug a program using arm-none-eabi-gdb and go through it. There is an interrupt, USB0_Handler, with which I do not want to enter while executing the program. For this, I tried to use skip , but it did not work, even if I try to skip the function or skip the whole file (containing the interrupt). I am using openocd to achieve remote debugging at tm4c123gh6pm.

I have come to a point where I do not know if I should define myself as a gdb function or if I am missing a point. Here is the output of my terminal:

(gdb) info skip
Num     Type           Enb What
1       function       y   USB0_Handler
(gdb) c
Continuing.

Breakpoint 2, relayTask () at ./relay.c:191
191         nextTime = rtcGetTimeIn(DEFAULT_REFRESH_RATE);
(gdb) n
USB0_Handler () at ./UsbConfig.c:326
326 {
(gdb) n
332     ui32Status = MAP_USBIntStatusControl(USB0_BASE);
(gdb) n
337     USBDeviceIntHandlerInternal(0, ui32Status);
(gdb) n
338 }
(gdb) n  #returning at the top of USB0_Handler
326 {
+4
source share
1 answer

, GDB , , .

, , , : , GDB , (.. + .)

- , . - , .

GDB (, python) , , isr irq, , .

0

All Articles