summaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2002-01-14 20:00:48 +0000
committerMichael Snyder <msnyder@specifix.com>2002-01-14 20:00:48 +0000
commit1ff3c5f099f25293080c0ceb6241137753d0d334 (patch)
tree62b144f6608341e04525f8c7cd490b20d871a2dc /gdb/gcore.c
parent74c40bbc2ec498a808584094b9749d15e9b9451d (diff)
downloadgdb-1ff3c5f099f25293080c0ceb6241137753d0d334.tar.gz
2002-01-14 Michael Snyder <msnyder@redhat.com>
* linux-proc.c (linux_do_thread_registers): Ignore fpxregs until we can resolve portability issues. * gregset.h: Remove references to fpxregs. * gcore.c (gcore_command): Initialize note_sec to NULL.
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r--gdb/gcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 2e81d5bb7cd..56c1da414cd 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -40,7 +40,7 @@ gcore_command (char *args, int from_tty)
{
struct cleanup *old_chain;
char *corefilename, corefilename_buffer[40];
- asection *note_sec;
+ asection *note_sec = NULL;
bfd *obfd;
void *note_data = NULL;
int note_size = 0;