This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Prec/RFA] Remove macros for record size in i386-linux-tdep.c


Hi guys,

I told that I need the macros for record size in i386-linux-tdep.c
because I have a idea with precord speed up need these macros.
But I found that there are a lot of wrong with this idea.  So I think
the better way is  give it up.
So I don't need this macros now.  Post a patch to removed them.

Please help me review it.

Thanks,
Hui

2009-05-23  Hui Zhu  <teawater@gmail.com>

	* i386-linux-tdep.c (I386_LINUX_RECORD_SIZE_*,
	I386_LINUX_RECORD_IOCTL_*,
	I386_LINUX_RECORD_FCNTL_*) Removed.
	(i386_linux_init_abi): Change size of record from macros to
	numbers.

	* i386-linux-tdep.c (i386_linux_init_abi): Change
	i386_linux_record_tdep.size_char from 8 to 1.

Attachment: remove-i386-linux-tdep-macro.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]