Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 5 and Version 6 of DebuggingWithQEMUAndGDB


Ignore:
Timestamp:
2021-04-20T18:59:45Z (6 months ago)
Author:
Martin Decky
Comment:

update default GDB path

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingWithQEMUAndGDB

    v5 v6  
    2222== Connecting GDB to QEMU ==
    2323
    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.
     24Once 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.
    2525
    2626{{{