2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* blockframe.c (generic_call_dummy_register_unwind): Use regcache_cooked_read to catch cases in which the variable is stored in a pseudo register.
This commit is contained in:
parent
4d210288d3
commit
fbefca5bab
@ -1,3 +1,9 @@
|
|||||||
|
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
|
||||||
|
|
||||||
|
* blockframe.c (generic_call_dummy_register_unwind): Use
|
||||||
|
regcache_cooked_read to catch cases in which the variable is
|
||||||
|
stored in a pseudo register.
|
||||||
|
|
||||||
2002-08-22 Andrew Cagney <cagney@redhat.com>
|
2002-08-22 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* NEWS: Mention that the i960 has been made obsolete.
|
* NEWS: Mention that the i960 has been made obsolete.
|
||||||
|
@ -1402,11 +1402,10 @@ generic_call_dummy_register_unwind (struct frame_info *frame, void **cache,
|
|||||||
#endif
|
#endif
|
||||||
gdb_assert (registers != NULL);
|
gdb_assert (registers != NULL);
|
||||||
/* Return the actual value. */
|
/* Return the actual value. */
|
||||||
/* FIXME: cagney/2002-06-26: This should be via the
|
/* Use the regcache_cooked_read() method so that it, on the fly,
|
||||||
gdbarch_register_read() method so that it, on the fly,
|
|
||||||
constructs either a raw or pseudo register from the raw
|
constructs either a raw or pseudo register from the raw
|
||||||
register cache. */
|
register cache. */
|
||||||
regcache_raw_read (registers, regnum, bufferp);
|
regcache_cooked_read (registers, regnum, bufferp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user