Target: TI8148EVM
Target OS: Linux
JTAG controller: XDS510USB
GDB: v7.3.1
I've got a dual debug sessions setup (i.e. JTAG for Linux kernel module, GDB for Linux process). After getting my kernel session setup I then launch the GDB sessions and all seems Ok. But from the GDB session I bring up the disassembly window and it shows disassembly for my process with interspersed source and assembly, like it should.
But there are 2 issues that are causing problems:
1) GDB normally supports assembly step into/step over, but the icons for this either at the top debug icons are disabled, as well as the icons for this in the Disassembly window. Why? Is this a bug?
2) I want to set a C/C++ breakpoint from within the Disassembly window, but there doesn't seem to be a way to do this. The only breakpoints that seem to get set are CCS (JTAG) breakpoints, which won't work in a Linux process address space (as far as I know). I have the correct context set (that is to say, under the Debug window in the GDB session I've got the thread in question highlighted), but even right-click doesn't have any options for C/C++ breakpoint. GDB breakpoints work fine if I go to the GDB console and manually enter a "break *addr", where addr is the address to break on. That is to say, if I manually set a GDB breakpoint in between a source code line and then Resume it will hit the manual breakpoint just fine. What gives? Is this a bug?