The gdb x86 function prologue parser

Andreas Schwab schwab@suse.de
Wed Jun 8 19:58:00 GMT 2005


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."



More information about the Gdb-patches mailing list