diff options
author | Michael Snyder <msnyder@vmware.com> | 2005-04-02 00:08:14 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2005-04-02 00:08:14 +0000 |
commit | 9b3c083c83dca517211431bdb3f23fbb6ce5236a (patch) | |
tree | 87b0846c5f6c1b6b009cf1b80265cc98990b3f74 /gdb/mn10300-prologue.c | |
parent | ab53d7c7563e707f982dc7e37cee5dd477f57c51 (diff) | |
download | gdb-9b3c083c83dca517211431bdb3f23fbb6ce5236a.zip gdb-9b3c083c83dca517211431bdb3f23fbb6ce5236a.tar.gz gdb-9b3c083c83dca517211431bdb3f23fbb6ce5236a.tar.bz2 |
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.
Diffstat (limited to 'gdb/mn10300-prologue.c')
-rw-r--r-- | gdb/mn10300-prologue.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/mn10300-prologue.c b/gdb/mn10300-prologue.c index 4875086..aea1608 100644 --- a/gdb/mn10300-prologue.c +++ b/gdb/mn10300-prologue.c @@ -119,10 +119,13 @@ set_movm_offsets (struct frame_info *fi, int offset = 0; CORE_ADDR base; - if (cache == NULL || fi == NULL) + if (fi == NULL || this_cache == NULL) return; cache = mn10300_frame_unwind_cache (fi, this_cache); + if (cache == NULL) + return; + base = trad_frame_get_this_base (cache); if (movm_args & movm_other_bit) { |