Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.08 KB

CONTRIBUTING.md

File metadata and controls

41 lines (32 loc) · 1.08 KB

Contributing

Contributions are absolutely, positively welcome and encouraged!

Debugging the Aero kernel

Prerequisites

To debug the Aero kernel run:

$ cargo run -- -s -S

Passing the -s flag to qemu will set up qemu to listen to at port 1234 for a GDB client to connect to it.

Using GDB

If you are using GDB use the following commands to start debugging:

$ gdb
(gdb) target remote localhost:1234
(gdb)

Using LLDB

If you are using LLDB use the following commands to start debugging:

$ lldb
(lldb) gdb-remote localhost:1234
(lldb)

Check out the docs for your debugger for information about how to use the debugger.

./aero.py -- -netdev user,id=spider -device e1000,netdev=spider,id=ck_nic0 -object filter-dump,id=spider,netdev=spider,file=qemulog.log