source: tools/gdb/README @ b4d2b3b

Last change on this file since b4d2b3b was 1cfdee9, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

First draft changes to gdb support

  • Property mode set to 100644
File size: 1.1 KB
Line 
1These instructions assume the install <prefix> for uC++ is /usr/local/u++-7.0.0.
2If installed elsewhere, change <prefix>.
3
4Copy <prefix>/.gdbinit to your home directory. If installed elsewhere, change
5the <prefix> within .gdbinit. Thereafter, gdb automatically loads the .gdbinit
6file from the home directory making the following new gdb commands available.
7
8New commands:
9
10    clusters                        : print all clusters
11    processors                      : print all processors on all clusters
12    processors  <clusterName>       : print all processors on cluster
13    task                            : print userCluster tasks, application tasks only
14    task <clusterName>              : print cluster tasks, application tasks only
15    task all                        : print all clusters, all tasks
16    task <id>                       : switch stack to task id on userCluster
17    task 0x<address>                : switch stack to task on any cluster
18    task <id> <clusterName>         : switch stack to task on specified cluster
19    prevtask                        : return to last switched task
Note: See TracBrowser for help on using the repository browser.