This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: use typedef'd type or original type?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Doug Evans <dje at sebabeach dot org>
- Cc: gdb at sourceware dot org
- Date: Wed, 30 Jan 2008 08:08:20 -0500
- Subject: Re: use typedef'd type or original type?
- References: <20080130034412.4ECC513EC2@sebabeach.org>
On Tue, Jan 29, 2008 at 07:44:12PM -0800, Doug Evans wrote:
> fyi, I made the patch change "whatis -x" print "int" instead of "myint" -
> if myint was myshort the result should be int.
Sounds right to me, though C doesn't have anything to say about it
this time - "int" and "myint" are the same type in C, and there's no
way to get at the name, so both are simply int.
--
Daniel Jacobowitz
CodeSourcery