This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2186: Failed to read a valid object file image from memory
- From: "Steven Levis" <steven dot levis at gmail dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 21 Jan 2007 03:48:01 -0000
- Subject: Re: gdb/2186: Failed to read a valid object file image from memory
- Reply-to: "Steven Levis" <steven dot levis at gmail dot com>
The following reply was made to PR gdb/2186; it has been noted by GNATS.
From: "Steven Levis" <steven.levis@gmail.com>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: gdb/2186: Failed to read a valid object file image from memory
Date: Sat, 20 Jan 2007 19:43:56 -0800
This message seems to occur when a very large array or other object is
declared such as
int i[1073741824];
Suggest to use dynamically allocated memory (malloc, for example)