This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] New bitflags type and eflags on i386/x86-64
- From: Michal Ludvig <mludvig at suse dot cz>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 28 Aug 2002 16:42:00 +0200
- Subject: Re: [RFA] New bitflags type and eflags on i386/x86-64
- Organization: SuSE CR
- References: <3CC42DA0.9070906@suse.cz> <3D6BF1D5.70409@ges.redhat.com>
Andrew Cagney wrote:
Attatched is an old and related patch I've dug out of an old branch of
GDB that Red Hat was providing for a customer.
The mine one is more generic I think, and while it adds new TYPE_CODE it
can be used for other purposes as well (IIRC recently someone committed
a patch that depended on this type code but had to revert it).
I'm afraid people don't know how to use the complex, nested
TYPE_CODE_SET, while the usage of TYPE_CODE_FLAGS is pretty simple.
If would change it so that it isn't c-specific, but rather language
independent, would you consider approval? Other things (eg. length of
the flagword) aren't IMHO that important for now.
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* +420 2 9654 5373 * http://www.suse.cz