diff --git a/README.md b/README.md index 3ab6821f2a3b827863c5a9801d51ff597423141f..1fea796a7aab543f40e1fc8e316bfbbfbcf4b900 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -Docker filesystem for my gdb.py tutorial. +Docker filesystem for my gdb.py tutorial. + +* Filesystem is in [home](https://github.com/kpouget/tuto-gdb.py/tree/master/home) +* Presentation slides: [PDF](https://github.com/kpouget/tuto-gdb.py/raw/master/home/presentation.pdf) +* Exercise sheet: [MD](https://github.com/kpouget/tuto-gdb.py/blob/master/home/exercices.md) +* The exercise files if you don't want /cannot run the docker machine: [TGZ](https://github.com/kpouget/tuto-gdb.py/blob/master/tuto-gdb-py.tgz) + diff --git a/home/exercices.md b/home/exercices.md index 5b12c9ea89aca929a71698e2e1064bfa26de1b61..97b21f24eb3669e90022e7b1c86692f990415fd9 100644 --- a/home/exercices.md +++ b/home/exercices.md @@ -6,8 +6,8 @@ Preliminary setup Prepare and launch the docker container: - HOST_DIR=/home/kevin/jdd_debug_data/ # absolute path required - docker run -it -v $HOST_DIR:/home/jcf/host -e GROUPID=$(id -g) -e USERID=$(id -u) --cap-add sys_ptrace kpouget/tuto-gdb.py + HOST_DIR=/home/kevin/gdb.py_debug_data/ # absolute path required + docker run -it -v $HOST_DIR:/home/gdb.py/host -e GROUPID=$(id -g) -e USERID=$(id -u) --cap-add sys_ptrace kpouget/tuto-gdb.py Then if you want to share the data with your host, work from `~/host`, otherwise stay in `~`: @@ -213,8 +213,7 @@ Try to run different processes with this debugger script and see how it behaves. STOP: program stopped because of a SignalEvent ... -Now you're know the basics of GDB scripting ! Get back to the slides *Part 2*, to try to build new commands with real utilities! -The program is: +Now you're know the basics of GDB scripting ! Get back to the slides *Part 2*, to try to build new commands with real utilities! The program is: 1. Section breakpoint 2. Return true breakpoint diff --git a/home/presentation.pdf b/home/presentation.pdf index b6f4a08afc035dd9a6ac56bdeab4f2d00dd1ddfb..1852fa63b5c6792d75baef7e4b34a28b10f99d25 100644 Binary files a/home/presentation.pdf and b/home/presentation.pdf differ