diff options
Diffstat (limited to 'gdb/gdbserver/low-linux.c')
-rw-r--r-- | gdb/gdbserver/low-linux.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gdb/gdbserver/low-linux.c b/gdb/gdbserver/low-linux.c index 7df5157..c718c4e 100644 --- a/gdb/gdbserver/low-linux.c +++ b/gdb/gdbserver/low-linux.c @@ -33,15 +33,8 @@ #include <fcntl.h> /***************Begin MY defs*********************/ -int quit_flag = 0; static char my_registers[REGISTER_BYTES]; char *registers = my_registers; - -/* Index within `registers' of the first byte of the space for - register N. */ - - -char buf2[MAX_REGISTER_RAW_SIZE]; /***************End MY defs*********************/ #ifdef HAVE_SYS_REG_H @@ -53,17 +46,14 @@ char buf2[MAX_REGISTER_RAW_SIZE]; #define PTRACE_XFER_TYPE int #endif -extern char **environ; extern int errno; extern int inferior_pid; -void quit (), perror_with_name (); -int query (); +void perror_with_name (); static void initialize_arch (void); /* Start an inferior process and returns its pid. - ALLARGS is a vector of program-name and args. - ENV is the environment vector to pass. */ + ALLARGS is a vector of program-name and args. */ int create_inferior (char *program, char **allargs) |