[rfc patch] nomem: internal_error -> error
Jan Kratochvil
jan.kratochvil@redhat.com
Tue Jun 1 17:58:00 GMT 2010
On Tue, 01 Jun 2010 19:55:40 +0200, Mark Kettenis wrote:
> > (gdb) print a
> > ../../gdb/utils.c:1251: internal-error: virtual memory exhausted: can't allocate 4294951689 bytes.
> >
> > I find simple error as a perfectly reasonable there.
>
> I disagree; this internal-error really is a bug in GDB. We should
> never try to allocate that much memory.
So that even if the object is really so large in the inferior GDB should be
fixed to read+process the object in multiple parts? That makes sense.
Thanks,
Jan
More information about the Gdb-patches
mailing list