aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-14 20:00:48 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-14 20:00:48 +0000
commit356ae49dda05c8f28f0f7fa407a5081e3bc053dd (patch)
treed7db0a83f17298d2def07d2d9e35aa8dde4ffea5 /gdb/gcore.c
parent3a7e524e6b0b66d0e7ecfdffa5adaf01f5c8d8d8 (diff)
downloadgdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.zip
gdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.tar.gz
gdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.tar.bz2
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 2e81d5b..56c1da4 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;