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]

Re: [rfc] [17/17] Get rid of current_gdbarch in go32-nat.c


Hi Eli,

Eli Zaretskii schrieb:
	* go32-nat.c (fetch_register, go32_fetch_registers, store_register)
	(go32_store_registers): Use get_regcache_arch to get at the current
	architecture by regcache.

Sorry for asking this so late, but could you please explain the reason(s) why these changes are a good idea, i.e. what potential problem(s) are they trying to solve? If I tell you that the go32 (a.k.a. DJGPP) native build of GDB supports only a single architecture, would those reason(s) still hold?


sorry for the late respone. I've been on vacation. Please see here: http://sourceware.org/ml/gdb-patches/2007-10/msg00108.html

What I'll try to achieve is to get rid of the global variable current_gdbarch to have a real per-frame architecture.

--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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