This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [13/17] Get rid of current_gdbarch in win32-nat.c
Hi Christopher,
Christopher Faylor schrieb:
On Thu, Oct 11, 2007 at 10:54:14AM +0200, Markus Deuling wrote:
this patch gets rid of some of the current_gdbarch's in win32-nat.c. Maybe
someone can test this? I have no idea how to :-)
Thanks a lot. Is this ok to commit?
ChangeLog:
* win32-nat.c (do_win32_fetch_inferior_registers, win32_resume)
(do_win32_store_inferior_registers): Use get_regcache_arch to get at
the current architecture by regcache.
I'm sorry. I'm a little confused. If you're offering a patch why can't
you test it? Wouldn't that be considered a prerequisite for a patch?
cgf
you're right. One should test a patch before posting it ;-) But this patch is a mechanical change. Thats the reason
I ask a responsible maintainer to have a look at it instead of setting up an environment to test GDB on Windows (cygwin) myself.
Thank you for your objection and sry for the late response. I've been on vacation.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com