~laumann/hadb

e1ad9d627dfe04b3356c15f105337b817a4afc3b — Thomas Bracht Laumann Jespersen 2 months ago 4aa593b
cmd/hare: fix fmt::printfln() usage
1 files changed, 2 insertions(+), 2 deletions(-)

M cmd/hadb/main.ha
M cmd/hadb/main.ha => cmd/hadb/main.ha +2 -2
@@ 8,7 8,7 @@ use format::dwarf;
use trace;

fn run(prog: str) void = {
	fmt::printfln("bpinst = 0x{:02x}", bpinst)!;
	fmt::printfln("bpinst = 0x{:.2x}", bpinst)!;
	match (trace::fork()) {
	case let pid : trace::pid_t =>
		trace::waitpid(pid);


@@ 21,7 21,7 @@ fn run(prog: str) void = {
		};
		//bp_enable(pid, &bp);

		fmt::printfln("continuing...")!;
		fmt::println("continuing...")!;
		trace::cont(pid);
	case void =>
		trace::traceme();