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
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>, GDB Patches <gdb-patches at sourceware dot org>, Markus Deuling <deuling at de dot ibm dot com>
- Date: Thu, 11 Oct 2007 13:51:53 -0400
- Subject: Re: [rfc] [13/17] Get rid of current_gdbarch in win32-nat.c
- References: <470DE4B6.1050708@de.ibm.com>
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