Thread (27 messages) 27 messages, 2 authors, 2016-08-17

Re: [PATCH v4 3/3] tools/power/acpi/acpidbg: Add multi-commands support in batch mode

From: Rafael J. Wysocki <hidden>
Date: 2016-08-17 00:25:21
Also in: lkml

On Tuesday, July 26, 2016 07:01:45 PM Lv Zheng wrote:
This patch adds multi-commands support for the batch mode. The same mode
can be seen in acpiexec.

However people may think this is not useful for an in-kernel debugger,
because the in-kernel debugger is always running, never exits. So we can
run another command by running another acpidbg batch mode instance.

But this mode should still be useful for acpidbg. The reason is: when the
in-kernel debugger has entered the single-stepping mode, ending acpidbg
(which closes the debugger IO interface) will lead to the end of the
single-stepping mode.

So we need the acpidbg multi-commands batch mode in order to execute
multiple single-stepping mode commands in scripts.
An example would be really useful here IMO.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help