Query: kgdb_arch_handle_exception
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KGDB_ARCH_HANDLE_EXC(9) KGDB Internals KGDB_ARCH_HANDLE_EXC(9)NAMEkgdb_arch_handle_exception - Handle architecture specific GDB packets.SYNOPSISint kgdb_arch_handle_exception(int vector, int signo, int err_code, char * remcom_in_buffer, char * remcom_out_buffer, struct pt_regs * regs);ARGUMENTSvector The error vector of the exception that happened. signo The signal number of the exception that happened. err_code The error code of the exception that happened. remcom_in_buffer The buffer of the packet we have read. remcom_out_buffer The buffer of BUFMAX bytes to write a packet into. regs The struct pt_regs of the current process.DESCRIPTIONThis function MUST handle the 'c' and 's' command packets, as well packets to set / remove a hardware breakpoint, if used. If there are additional packets which the hardware needs to handle, they are handled here. The code should return -1 if it wants to process more packets, and a 0 or 1 if it wants to exit from the kgdb callback.AUTHORSJason Wessel <jason.wessel@windriver.com> Author. Tom Rini <trini@kernel.crashing.org> Author. Amit S. Kale <amitkale@linsyssoft.com> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 KGDB_ARCH_HANDLE_EXC(9)
Related Man Pages |
---|
pcap_loop(3pcap) - debian |
pcap_loop(3pcap) - osx |
pcap_dispatch(3pcap) - osx |
pcap_dispatch(3pcap) - netbsd |
pcap_dispatch(3pcap) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
how to print struct in GDB |
what happened to admintool? |
Can KGDB debug a device driver? |
Return or exit codes apart from 0 have a meaning? |