Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
kgdb.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /*
- * kgdb.h: Defines and declarations for serial line source level
- * remote debugging of the Linux kernel using gdb.
- *
- * PPC Mods (C) 1998 Michael Tesch (tesch@cs.wisc.edu)
- *
- * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
- #ifndef _PPC64_KGDB_H
- #define _PPC64_KGDB_H
- #ifndef __ASSEMBLY__
- /* To initialize the serial, first thing called */
- extern void zs_kgdb_hook(int tty_num);
- /* To init the kgdb engine. (called by serial hook)*/
- extern void set_debug_traps(void);
- /* To enter the debugger explicitly. */
- extern void breakpoint(void);
- /* For taking exceptions
- * these are defined in traps.c
- */
- extern void (*debugger)(struct pt_regs *regs);
- extern int (*debugger_bpt)(struct pt_regs *regs);
- extern int (*debugger_sstep)(struct pt_regs *regs);
- extern int (*debugger_iabr_match)(struct pt_regs *regs);
- extern int (*debugger_dabr_match)(struct pt_regs *regs);
- extern void (*debugger_fault_handler)(struct pt_regs *regs);
- /* What we bring to the party */
- int kgdb_bpt(struct pt_regs *regs);
- int kgdb_sstep(struct pt_regs *regs);
- void kgdb(struct pt_regs *regs);
- int kgdb_iabr_match(struct pt_regs *regs);
- int kgdb_dabr_match(struct pt_regs *regs);
- static void kgdb_fault_handler(struct pt_regs *regs);
- static void handle_exception (struct pt_regs *regs);
- /*
- * external low-level support routines (ie macserial.c)
- */
- extern void kgdb_interruptible(int); /* control interrupts from serial */
- extern void putDebugChar(char); /* write a single character */
- extern char getDebugChar(void); /* read and return a single char */
- #endif /* !(__ASSEMBLY__) */
- #endif /* !(_PPC64_KGDB_H) */