This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [patch/resend/rfa] (2/4) Cleanup tm-hppa.h for multiarch.


2004-04-13 Randolph Chung <tausq@debian.org>

	* hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
	* config/pa/tm-hppa.h (INSTRUCTION_SIZE): Move to hppa-tdep.c.

It should be renamed to HPPA_INSTRUCTION_SIZE and might as well declare it as:
enum { HPPA_INSTRUCTION_SIZE = 4 };
Also does the new PA GNU/Linux file use INSTRUCTION_SIZE? If it doesn't, the definition might as well live in hppa-tdep.c


After that (remember to update hppa-tdep.c's references) ok,
Andrew



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