git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e460d64
)
KGDB: Notify GDB of machine halt, reboot or power off
author
David Howells
<dhowells@redhat.com>
Fri, 18 Mar 2011 16:54:31 +0000
(16:54 +0000)
committer
David Howells
<dhowells@redhat.com>
Fri, 18 Mar 2011 16:54:31 +0000
(16:54 +0000)
Notify GDB of the machine halting, rebooting or powering off by sending it an
exited command (remote protocol command 'W'). This is done by calling:
void gdbstub_exit(int status)
from the arch's machine_{halt,restart,power_off}() functions with an
appropriate exit status to be reported to GDB.
Signed-off-by: David Howells <dhowells@redhat.com>
No differences found