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 | 6f943d0bd73b2cfa0d43a0b4cb05a120b973c831 (patch) | |
tree | 26a78c961987ac4215f2ea09e24fd43cf53eeb5d /gdb/xtensa-tdep.c | |
parent | bc1597b283d8ea92477cbd18d27d25be89446934 (diff) | |
download | gdb-6f943d0bd73b2cfa0d43a0b4cb05a120b973c831.tar.gz |
* 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/xtensa-tdep.c')
-rw-r--r-- | gdb/xtensa-tdep.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index e2be9f399f4..5b5fdaa542a 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -854,7 +854,7 @@ xtensa_regset_from_core_section (struct gdbarch *core_arch, { DEBUGTRACE ("xtensa_regset_from_core_section " "(..., sect_name==\"%s\", sect_size==%x) \n", - sect_name, sect_size); + sect_name, (unsigned int) sect_size); if (strcmp (sect_name, ".reg") == 0 && sect_size >= sizeof(xtensa_elf_gregset_t)) @@ -1169,8 +1169,8 @@ xtensa_frame_this_id (struct frame_info *next_frame, xtensa_frame_cache (next_frame, this_cache); struct frame_id id; - DEBUGTRACE ("xtensa_frame_this_id (next 0x%08x, *this 0x%08x)\n", - (unsigned int) next_frame, (unsigned int) *this_cache); + DEBUGTRACE ("xtensa_frame_this_id (next 0x%lx, *this 0x%lx)\n", + (unsigned long) next_frame, (unsigned long) *this_cache); if (cache->prev_sp == 0) return; @@ -1250,10 +1250,10 @@ xtensa_frame_prev_register (struct frame_info *next_frame, CORE_ADDR saved_reg = 0; int done = 1; - DEBUGTRACE ("xtensa_frame_prev_register (next 0x%08x, " - "*this 0x%08x, regnum %d (%s), ...)\n", - (unsigned int) next_frame, - *this_cache ? (unsigned int) *this_cache : 0, regnum, + DEBUGTRACE ("xtensa_frame_prev_register (next 0x%lx, " + "*this 0x%lx, regnum %d (%s), ...)\n", + (unsigned long) next_frame, + *this_cache ? (unsigned long) *this_cache : 0, regnum, xtensa_register_name (gdbarch, regnum)); if (regnum ==gdbarch_pc_regnum (gdbarch)) @@ -1590,8 +1590,8 @@ xtensa_push_dummy_call (struct gdbarch *gdbarch, { struct value *arg = args[i]; struct type *arg_type = check_typedef (value_type (arg)); - fprintf_unfiltered (gdb_stdlog, "%2d: 0x%08x %3d ", - i, (int) arg, TYPE_LENGTH (arg_type)); + fprintf_unfiltered (gdb_stdlog, "%2d: 0x%lx %3d ", + i, (unsigned long) arg, TYPE_LENGTH (arg_type)); switch (TYPE_CODE (arg_type)) { case TYPE_CODE_INT: @@ -1604,8 +1604,8 @@ xtensa_push_dummy_call (struct gdbarch *gdbarch, fprintf_unfiltered (gdb_stdlog, "%3d", TYPE_CODE (arg_type)); break; } - fprintf_unfiltered (gdb_stdlog, " 0x%08x\n", - (unsigned int) value_contents (arg)); + fprintf_unfiltered (gdb_stdlog, " 0x%lx\n", + (unsigned long) value_contents (arg)); } } |