Last change
on this file since 38f6e66 was
1b34b87,
checked in by Peter A. Buhr <pabuhr@…>, 6 years ago
|
Lynn's GDB essay
|
-
Property mode set to
100644
|
File size:
761 bytes
|
Line | |
---|
1 | # SE499 |
---|
2 | ## How to use the extension |
---|
3 | * Compile utils-gdb.cpp |
---|
4 | * Ensure utils-gdb.py is in the same folder as the object file of utils.cpp |
---|
5 | * Run Makefile with -single flag if it's uniprocessor and with -multi if it's |
---|
6 | multiprocessor |
---|
7 | Ex: `make multi` |
---|
8 | * Run `gdb ./utils` |
---|
9 | * Verify that the python extension was properly loaded `info auto-load`. The |
---|
10 | command should indicate the utils-gdb.py extension was loaded as a script |
---|
11 | * Run the program and call any of the commands as wish |
---|
12 | |
---|
13 | Or simplier solution: |
---|
14 | * Run gdb and then call command `source utils-gdb.py` |
---|
15 | |
---|
16 | ## List of commands |
---|
17 | * clusters |
---|
18 | * processors <cluster_name> |
---|
19 | * task |
---|
20 | * task <cluster_name> |
---|
21 | * task <task_address> |
---|
22 | * task <task_name> |
---|
23 | * task <cluster_name> <task_id> |
---|
24 | * poptask |
---|
25 | |
---|
26 | https://github.com/lynnt/SE499 |
---|
Note: See
TracBrowser
for help on using the repository browser.