This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: The gdb x86 function prologue parser
- From: Andreas Schwab <schwab at suse dot de>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Jason Molenda <jmolenda at apple dot com>,gdb-patches at sources dot redhat dot com, kettenis at jive dot nl
- Date: Wed, 08 Jun 2005 21:58:12 +0200
- Subject: Re: The gdb x86 function prologue parser
- References: <85C775AE-3B05-431E-96D2-49EA9D1413E6@apple.com><u8y1kaoki.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: Mark Kettenis <kettenis@jive.nl>
>> From: Jason Molenda <jmolenda@apple.com>
>> Date: Tue, 7 Jun 2005 22:51:36 -0700
>>
>> --- i386-tdep.c 28 May 2005 16:44:28 -0000 1.213
>> +++ i386-tdep.c 8 Jun 2005 05:24:14 -0000
>> @@ -21,6 +21,7 @@
>> Foundation, Inc., 59 Temple Place - Suite 330,
>> Boston, MA 02111-1307, USA. */
>>
>> +#include <stdint.h>
>
> I don't think we can use stdint.h freely, as we still don't require a
> C9x compiler. I see you needed it for things like uint8_t and
> uint32_t, which should be easily replaceable by suitable standard x86
> types.
Since this is a target (not native) file it needs to use types portable to
all hosts.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."