This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Problems with i386_register_convert_to_virtual
- To: robert dot hoehne at gmx dot net
- Subject: Re: Problems with i386_register_convert_to_virtual
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Tue, 8 Aug 2000 02:44:50 -0400 (EDT)
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <200008052252.AAA22962@robby.dittmannsdorf.de> (message from Robert Hoehne on Sun, 6 Aug 2000 00:54:05 +0200) <200008060851.KAA23990@robby.dittmannsdorf.de>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> From: Robert Hoehne <robert.hoehne@gmx.net>
> Date: Sun, 6 Aug 2000 10:52:41 +0200
>
> After more searching in the GDB code and docs, I found the macro
> REGISTER_CONVERTIBLE which tells, if a register have different
> raw and virtual sizes. This macro is also used for instance in findvar.c
> to decide, if REGISTER_CONVERT_TO_VIRTUAL is called or a
> simple memcpy is done. In my Opionion either this should be documented
> in the description for REGISTER_CONVERT_TO_VIRTUAL that
> this macro should be called only, when REGISTER_CONVERTIBLE
> returns true, or that logic should be included in the convert macro.
I agree. Does anyone have preferences as to what way of these two is
the best?