commit | d57f078b193981d1b7d24193f3118c6b806db0ff | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Mar 18 16:54:31 2011 +0000 |
committer | David Howells <dhowells@redhat.com> | Fri Mar 18 16:54:31 2011 +0000 |
tree | 4bbebe3427d64a37627e5626bc42ccfd4560d5cb | |
parent | e460d64405c04581e42aa9cbae76815a2d4e9abe [diff] |
KGDB: Notify GDB of machine halt, reboot or power off 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>