From 2a9b47ed86796e184b8916863b129c0a66f28a52 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 12 Jul 2020 15:34:42 +0200 Subject: [PATCH] enh(readme): explain how to debug with gdb --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8626b0595..7c1c4eb34 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,13 @@ If you would prefer to test a select few utilities: $ cargo test --features "chmod mv tail" --no-default-features ``` +To debug: +```bash +$ gdb --args target/debug/coreutils ls +(gdb) b ls.rs:79 +(gdb) run +``` + ### GNU Make ### To simply test all available utilities: