2005-04-01 Michael Snyder <msnyder@redhat.com>
* mn10300-prologue.c (set_movm_offsets): Don't test variable before setting it. * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue instead of skip_prologue_using_sal.
This commit is contained in:
parent
ab53d7c756
commit
9b3c083c83
@ -1,3 +1,10 @@
|
|||||||
|
2005-04-01 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* mn10300-prologue.c (set_movm_offsets): Don't test variable
|
||||||
|
before setting it.
|
||||||
|
* mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
|
||||||
|
instead of skip_prologue_using_sal.
|
||||||
|
|
||||||
2005-03-31 Kevin Buettner <kevinb@redhat.com>
|
2005-03-31 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* solib-frv.c (struct lm_info): Add new field ``lm_addr''.
|
* solib-frv.c (struct lm_info): Add new field ``lm_addr''.
|
||||||
|
@ -119,10 +119,13 @@ set_movm_offsets (struct frame_info *fi,
|
|||||||
int offset = 0;
|
int offset = 0;
|
||||||
CORE_ADDR base;
|
CORE_ADDR base;
|
||||||
|
|
||||||
if (cache == NULL || fi == NULL)
|
if (fi == NULL || this_cache == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cache = mn10300_frame_unwind_cache (fi, this_cache);
|
cache = mn10300_frame_unwind_cache (fi, this_cache);
|
||||||
|
if (cache == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
base = trad_frame_get_this_base (cache);
|
base = trad_frame_get_this_base (cache);
|
||||||
if (movm_args & movm_other_bit)
|
if (movm_args & movm_other_bit)
|
||||||
{
|
{
|
||||||
|
@ -295,9 +295,15 @@ mn10300_breakpoint_from_pc (CORE_ADDR *bp_addr, int *bp_size)
|
|||||||
static CORE_ADDR
|
static CORE_ADDR
|
||||||
mn10300_skip_prologue (CORE_ADDR pc)
|
mn10300_skip_prologue (CORE_ADDR pc)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
CORE_ADDR ret;
|
||||||
/* FIXME: not implemented. */
|
/* FIXME: not implemented. */
|
||||||
/* First approximation, try simply using skip_prologue_using_sal. */
|
/* First approximation, try simply using skip_prologue_using_sal. */
|
||||||
return skip_prologue_using_sal (pc);
|
ret = skip_prologue_using_sal (pc);
|
||||||
|
return ret ? ret : pc;
|
||||||
|
#else
|
||||||
|
return mn10300_analyze_prologue (NULL, NULL, pc);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Simple frame_unwind_cache.
|
/* Simple frame_unwind_cache.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user