Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 78ca1c41 authored by Kevin Pouget's avatar Kevin Pouget
Browse files

add info

parent dd6edfa4
No related branches found
No related tags found
No related merge requests found
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)
...@@ -6,8 +6,8 @@ Preliminary setup ...@@ -6,8 +6,8 @@ Preliminary setup
Prepare and launch the docker container: Prepare and launch the docker container:
HOST_DIR=/home/kevin/jdd_debug_data/ # absolute path required HOST_DIR=/home/kevin/gdb.py_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 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 `~`: 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. ...@@ -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 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! 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:
The program is:
1. Section breakpoint 1. Section breakpoint
2. Return true breakpoint 2. Return true breakpoint
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment