diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1997-04-26 09:44:30 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1997-04-26 09:44:30 +0000 |
commit | 95b71071825df95482061f9e942be6615ad28303 (patch) | |
tree | 560671272e4e992cd108bef009e100ee82c13e62 /gdb/corelow.c | |
parent | 564e2a3fe9e4ab89e76d10015beae33bd2950faf (diff) | |
download | gdb-95b71071825df95482061f9e942be6615ad28303.zip gdb-95b71071825df95482061f9e942be6615ad28303.tar.gz gdb-95b71071825df95482061f9e942be6615ad28303.tar.bz2 |
* corelow.c (get_core_registers): Initialize cf.
* procfs.c: Minor changes to make pre-ANSI compilers happy.
(procfs_notice_signals): Copy traced signal set back to
pi->prrun.pr_trace.
(unconditionally_kill_inferior): If PR_DEAD is defined,
rerun inferior after killing it.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index c3ddebb..d7cab71 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -1,5 +1,5 @@ /* Core dump and executable file functions below target vector, for GDB. - Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996 + Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of GDB. @@ -280,7 +280,7 @@ get_core_registers (regno) char *the_regs; char secname[10]; enum bfd_flavour our_flavour = bfd_get_flavour (core_bfd); - struct core_fns *cf; + struct core_fns *cf = NULL; if (core_file_fns == NULL) { |