diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2000-12-08 19:46:08 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2000-12-08 19:46:08 +0000 |
commit | bd2fa4f6c95dc2ced5e7fa5a102465eb7be18478 (patch) | |
tree | 7b1c60308ba8ee6a20bd597fb9029bf18c46e9b2 /gdb/gdbserver/low-hppabsd.c | |
parent | efb663452cd2fe274e04bb1e2553d00288f5537b (diff) | |
download | gdb-bd2fa4f6c95dc2ced5e7fa5a102465eb7be18478.zip gdb-bd2fa4f6c95dc2ced5e7fa5a102465eb7be18478.tar.gz gdb-bd2fa4f6c95dc2ced5e7fa5a102465eb7be18478.tar.bz2 |
* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
Removed unused variables and declarations.
* gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag):
Likewise.
* gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag):
Likewise.
* gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag):
Likewise.
* gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag):
Likewise.
* gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c
(create_inferior): Update comment.
* gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers,
store_inferior_registers): Provide implementations for the m68k
and ns32k.
* config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
* config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise.
* configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver
to configdirs.
-------------------------------------------------------------------
Diffstat (limited to 'gdb/gdbserver/low-hppabsd.c')
-rw-r--r-- | gdb/gdbserver/low-hppabsd.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gdb/gdbserver/low-hppabsd.c b/gdb/gdbserver/low-hppabsd.c index e85c0b2..d031e30 100644 --- a/gdb/gdbserver/low-hppabsd.c +++ b/gdb/gdbserver/low-hppabsd.c @@ -33,29 +33,19 @@ #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*********************/ #include <sys/ptrace.h> #include <machine/reg.h> -extern char **environ; extern int errno; extern int inferior_pid; -void quit (), perror_with_name (); -int query (); +void perror_with_name (); /* 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) |