Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1396a21b authored by Martin Hicks's avatar Martin Hicks Committed by Jason Wessel
Browse files

kdb: break out of kdb_ll() when command is terminated



Without this patch the "ll" linked-list traversal command won't
terminate when you hit q/Q.

Signed-off-by: default avatarMartin Hicks <mort@sgi.com>
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent d0c6f625
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2291,6 +2291,9 @@ static int kdb_ll(int argc, const char **argv)
	while (va) {
		char buf[80];

		if (KDB_FLAG(CMD_INTERRUPT))
			return 0;

		sprintf(buf, "%s " kdb_machreg_fmt "\n", command, va);
		diag = kdb_parse(buf);
		if (diag)