Changes between Version 5 and Version 6 of DebuggingWithQEMUAndGDB
- Timestamp:
- 2021-04-20T18:59:45Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DebuggingWithQEMUAndGDB
v5 v6 22 22 == Connecting GDB to QEMU == 23 23 24 Once QEMU is started with the `-s` (and optionally also the `-S`) option, it is possible to connect GDB to it. For our purposes, we will assume the respective cross-GDB built by the `tools/toolchain.sh` is ready to be used and named as ` /usr/local/cross/bin/i686-helenos-gdb`. Needless to say, the cross-GDB should always match the architecture of the HelenOS guest.24 Once QEMU is started with the `-s` (and optionally also the `-S`) option, it is possible to connect GDB to it. For our purposes, we will assume the respective cross-GDB built by the `tools/toolchain.sh` is ready to be used and named as `$XDG_DATA_HOME/HelenOS/cross/bin/i686-helenos-gdb` (i.e. `$HOME/.local/share/HelenOS/cross/bin/i686-helenos-gdb`). Needless to say, the cross-GDB should always match the architecture of the HelenOS guest. 25 25 26 26 {{{