This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb at sourceware dot org
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Date: Sat, 29 Sep 2012 18:58:13 +0200
- Subject: Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST
- References: <20120928173229.GA10406@host2.jankratochvil.net>
On Fri, 28 Sep 2012 19:32:29 +0200, Jan Kratochvil wrote:
> (5) Patched GDB expects only these inferior types may have >2GB size:
> TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_CODE_UNION
> And of course where applicable:
> TYPE_CODE_TYPEDEF
TYPE_CODE_STRING technically can be >2GB but I do not think it makes much
sense in practice, also current GDB cannot handle it well anyway, I was not
strictly ensuring its >2GB handling is correct.
Jan