We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 20073

6.3/6.2 EDK - GDB loses context when debugging a PowerPC design with a high frequency of interrupts


Keywords: XMD, PPC

Urgency: Standard

General Description:
When single stepping through source code, GDB suddenly loses context.


This is a known issue in GDB that occurs due to a high frequency of interrupts in a PowerPC system, such as in the case of an RTOS using interrupts to control the system clock.

To work around this issue:

1. Wait for the code to hit the baseline breakpoint and manually turn off interrupts in the MSR register.

2. To debug a certain section of code, disable interrupts in the software just before entering that section, and then enable the interrupts again at the end of the code section.
AR# 20073
Date Created 09/30/2004
Last Updated 04/11/2007
Status Archive
Type General Article