projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*** empty log message ***
[deliverable/binutils-gdb.git]
/
gdb
/
inf-child.c
diff --git
a/gdb/inf-child.c
b/gdb/inf-child.c
index 5e08cd66dbcf98ad2d622e2e5b810e9dbcecb73c..da613d0398f34edd464731efeae532c6ea225658 100644
(file)
--- a/
gdb/inf-child.c
+++ b/
gdb/inf-child.c
@@
-35,7
+35,9
@@
inf_child_fetch_inferior_registers (struct regcache *regcache, int regnum)
{
if (regnum == -1)
{
- for (regnum = 0; regnum < gdbarch_num_regs (current_gdbarch); regnum++)
+ for (regnum = 0;
+ regnum < gdbarch_num_regs (get_regcache_arch (regcache));
+ regnum++)
regcache_raw_supply (regcache, regnum, NULL);
}
else
This page took
0.023608 seconds
and
4
git commands to generate.