1 /*
2  *  include/asm-s390/gdb-stub.h
3  *
4  *  S390 version
5  *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
6  *    Author(s): Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
7  */
8 
9 #ifndef __S390_GDB_STUB__
10 #define __S390_GDB_STUB__
11 #include <linux/config.h>
12 #if CONFIG_REMOTE_DEBUG
13 #include <asm/ptrace.h>
14 extern int    gdb_stub_initialised;
15 extern void gdb_stub_handle_exception(struct gdb_pt_regs *regs,int sigval);
16 struct net_device;
17 extern struct net_device *gdb_dev;
18 void gdb_do_timers(void);
19 extern int putDebugChar(char c);    /* write a single character      */
20 extern char getDebugChar(void);     /* read and return a single char */
21 #endif
22 #endif
23