This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/2186: Failed to read a valid object file image from memory


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]