XGDB command line utiliy

If you have a simple question and just want an answer.
sprajagopal
Member++
Posts: 18
Joined: Thu Jul 23, 2015 4:22 pm

XGDB command line utiliy

Post by sprajagopal »

Hi,

I just started using the xgdb from the command line. I need help with the following things:

(1) In xTime composer, it is possible to run a xe file in Debug mode along with logging to a xscope file. How do I do this through xgdb in command line? xgdb --help does not show any xscope argument possibility.

(2) I'd like to use the tracepoints feature of xgdb to get quick access to variable values. But when I try to use it, the following error comes up

``"Trace can only be run on remote targets"

(3) I read through the XGDB debugging manual. I understand how to identify the source of an exception i.e. through
`print /u $scp,( $ed, $et).`

But is there another level of depth that I could go, to find what exactly went wrong with this particular resource? Any online manuals that explains this part?

Thanks,

Prasanna.

 
User avatar
Ross
Verified
XCore Legend
Posts: 1185
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

You need to to connect to the device. Use connect --xscope at the gdb prompt.