This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Undeprecate GNU/Hurd
- From: Andrew Cagney <cagney at gnu dot org>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 08 Aug 2004 10:32:17 -0400
- Subject: Re: [PATCH] Undeprecate GNU/Hurd
- References: <200408081417.i78EHf2r022405@elgar.kettenis.dyndns.org>
@@ -268,15 +266,15 @@ gnu_store_registers (int regno)
proc_debug (thread, "storing all registers");
for (i = 0; i < I386_NUM_GREGS; i++)
- if (deprecated_register_valid[i])
- fill (state, i);
+ if (regcache_valid_p (regcache, i))
+ regcache_raw_supply (regcache, i, REG_ADDR (state, i));
}
else
Should this, and a few others, be ``collect''? Supplying an already
valid register doesn't seem logical :-)
Andrew