I use J-Link GDB session to debug assembly code for LPC2148 device. I set a hwbreak at some address in flash. I receive 'SIGTRAP, Trace/breakpoint trap. PC in ?? ()'

I use SEGGER J-Link GDB session to debug assembly code for NXP LPC2148 device. I set a hwbreak at some address in flash. I receive 'SIGTRAP, Trace/breakpoint trap. PC in ?? ()' If I want to step through the code I get 'Cannot find bounds of current function'. Why PC is ??

Parents
  • Hi,

    "PC in ??()" indicates that GDB was not able to get the corresponding function for the current PC.

    This explains why stepping through the code does not work either.

    To be able to give you any further information about what is going wrong,

    could you tell us more about what you are doing?

    Are you using GDB directly or via an IDE?

    Can you post the complete GDB communication log?

    - SEGGER Support

Reply
  • Hi,

    "PC in ??()" indicates that GDB was not able to get the corresponding function for the current PC.

    This explains why stepping through the code does not work either.

    To be able to give you any further information about what is going wrong,

    could you tell us more about what you are doing?

    Are you using GDB directly or via an IDE?

    Can you post the complete GDB communication log?

    - SEGGER Support

Children
More questions in this forum