This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Eliminate local variables to use TYPE_LENGTH directly
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 25 Sep 2012 14:27:44 -0600
- Subject: Re: [PATCH] Eliminate local variables to use TYPE_LENGTH directly
- References: <20120924173542.625d322c@spoyarek> <20120925082558.GA9305@host2.jankratochvil.net>
Jan> While correct I find this expression too tricky, check_typedef should be
Jan> called rather ahead of some block of code later depending on it.
I often think we should have TYPE_LENGTH call check_typedef invisibly.
The current situation seems error-prone.
Tom