-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Passing -q does not change the output to only include the register dump. E.g.
$ rv32emu -d - -q tests/btohex
10:25:54 INFO src/riscv.c:418: Log level: TRACE
10:25:54 INFO src/riscv.c:434: tests/btohex ELF loaded
10:25:54 INFO src/main.c:283: RISC-V emulator is created and ready to run
{
"x0": 0,
"x1": 50,
"x2": 516080,
"x3": 0,
"x4": 0,
"x5": 93,
"x6": 65,
"x7": 0,
"x8": 0,
"x9": 0,
"x10": 0,
"x11": 16693,
"x12": 72,
"x13": 0,
"x14": 0,
"x15": 0
}
10:25:54 INFO src/main.c:297: RISC-V emulator is destroyed
It seems the log is always enabled at:
Line 421 in d1ed003
rv_log_set_quiet(false); |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working