1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00

Merge pull request #1561 from sylvestre/gdb

enh(readme): explain how to debug with gdb
This commit is contained in:
Sylvestre Ledru 2020-07-15 22:43:30 +02:00 committed by GitHub
commit cf1f3b0f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: