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

Steven Levis steven.levis@gmail.com
Sun Jan 21 03:48:00 GMT 2007


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)



More information about the Gdb-prs mailing list