diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-17 00:55:29 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-17 00:55:29 +0000 |
commit | ec20a626bda771eb0bddc25cc6a59ed7afcebe31 (patch) | |
tree | 1c3d597d2ea3d8e5551d8ec0d89b09ab17a1f6f2 /gdb/mn10300-tdep.c | |
parent | a4ce5b0d0204872f94108f07f53703fceb9816d7 (diff) | |
download | gdb-ec20a626bda771eb0bddc25cc6a59ed7afcebe31.zip gdb-ec20a626bda771eb0bddc25cc6a59ed7afcebe31.tar.gz gdb-ec20a626bda771eb0bddc25cc6a59ed7afcebe31.tar.bz2 |
* amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
(amd64fbsd_sigtramp_end_addr): Likewise.
* iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
(iq2000_address_to_pointer): Likewise.
(iq2000_frame_prev_register): Likewise.
(iq2000_extract_return_value): Use regcache_cooked_read_unsigned
instead of regcache_cooked_read into CORE_ADDR variable.
(iq2000_return_value): Fix argument types.
* m32r-rom.c (m32r_load_section): Fix printf argument type.
(m32r_load): Likewise.
* m68kbsd-tdep.c: Include "gdbtypes.h".
* Makefile.in: Update dependencies.
* mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
* nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
lmo->l_addr_size element.
* remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
(m32r_insert_breakpoint): Likewise.
(m32r_remove_breakpoint): Likewise.
(m32r_insert_watchpoint): Likewise.
(m32r_remove_watchpoint): Likewise.
(m32r_load): Fix printf argument type.
* xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
argument type.
(xtensa_frame_this_id): Do not cast pointers to "int" for output.
(xtensa_frame_prev_register): Likewise.
(xtensa_push_dummy_call): Likewise.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 9b59c50..25239de 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -839,13 +839,16 @@ mn10300_frame_unwind_cache (struct frame_info *next_frame, { struct trad_frame_cache *cache; CORE_ADDR pc, start, end; + void *cache_p; if (*this_prologue_cache) return (*this_prologue_cache); - cache = trad_frame_cache_zalloc (next_frame); + cache_p = trad_frame_cache_zalloc (next_frame); pc = gdbarch_unwind_pc (get_frame_arch (next_frame), next_frame); - mn10300_analyze_prologue (next_frame, (void **) &cache, pc); + mn10300_analyze_prologue (next_frame, &cache_p, pc); + cache = cache_p; + if (find_pc_partial_function (pc, NULL, &start, &end)) trad_frame_set_id (cache, frame_id_build (trad_frame_get_this_base (cache), |