aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-m32r-sdi.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-11-17 00:55:29 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-11-17 00:55:29 +0000
commitec20a626bda771eb0bddc25cc6a59ed7afcebe31 (patch)
tree1c3d597d2ea3d8e5551d8ec0d89b09ab17a1f6f2 /gdb/remote-m32r-sdi.c
parenta4ce5b0d0204872f94108f07f53703fceb9816d7 (diff)
downloadgdb-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/remote-m32r-sdi.c')
-rw-r--r--gdb/remote-m32r-sdi.c30
1 files changed, 16 insertions, 14 deletions
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c
index 25d5dc9..ed8feb7 100644
--- a/gdb/remote-m32r-sdi.c
+++ b/gdb/remote-m32r-sdi.c
@@ -1057,11 +1057,11 @@ m32r_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
if (remote_debug)
{
if (write)
- fprintf_unfiltered (gdb_stdlog, "m32r_xfer_memory(%08lx,%d,write)\n",
- memaddr, len);
+ fprintf_unfiltered (gdb_stdlog, "m32r_xfer_memory(%s,%d,write)\n",
+ paddr (memaddr), len);
else
- fprintf_unfiltered (gdb_stdlog, "m32r_xfer_memory(%08lx,%d,read)\n",
- memaddr, len);
+ fprintf_unfiltered (gdb_stdlog, "m32r_xfer_memory(%s,%d,read)\n",
+ paddr (memaddr), len);
}
if (write)
@@ -1155,8 +1155,8 @@ m32r_insert_breakpoint (struct bp_target_info *bp_tgt)
int i, c;
if (remote_debug)
- fprintf_unfiltered (gdb_stdlog, "m32r_insert_breakpoint(%08lx,...)\n",
- addr);
+ fprintf_unfiltered (gdb_stdlog, "m32r_insert_breakpoint(%s,...)\n",
+ paddr (addr));
if (use_ib_breakpoints)
ib_breakpoints = max_ib_breakpoints;
@@ -1196,8 +1196,8 @@ m32r_remove_breakpoint (struct bp_target_info *bp_tgt)
int i;
if (remote_debug)
- fprintf_unfiltered (gdb_stdlog, "m32r_remove_breakpoint(%08lx)\n",
- addr);
+ fprintf_unfiltered (gdb_stdlog, "m32r_remove_breakpoint(%s)\n",
+ paddr (addr));
for (i = 0; i < MAX_BREAKPOINTS; i++)
{
@@ -1298,7 +1298,8 @@ m32r_load (char *args, int from_tty)
if (!quiet)
printf_filtered ("[Loading section %s at 0x%lx (%d bytes)]\n",
bfd_get_section_name (pbfd, section),
- section_address, (int) section_size);
+ (unsigned long) section_address,
+ (int) section_size);
fptr = 0;
@@ -1378,7 +1379,8 @@ m32r_load (char *args, int from_tty)
entry = bfd_get_start_address (pbfd);
if (!quiet)
- printf_unfiltered ("[Starting %s at 0x%lx]\n", filename, entry);
+ printf_unfiltered ("[Starting %s at 0x%lx]\n", filename,
+ (unsigned long) entry);
}
print_transfer_performance (gdb_stdout, data_count, 0, &start_time,
@@ -1419,8 +1421,8 @@ m32r_insert_watchpoint (CORE_ADDR addr, int len, int type)
int i;
if (remote_debug)
- fprintf_unfiltered (gdb_stdlog, "m32r_insert_watchpoint(%08lx,%d,%d)\n",
- addr, len, type);
+ fprintf_unfiltered (gdb_stdlog, "m32r_insert_watchpoint(%s,%d,%d)\n",
+ paddr (addr), len, type);
for (i = 0; i < MAX_ACCESS_BREAKS; i++)
{
@@ -1443,8 +1445,8 @@ m32r_remove_watchpoint (CORE_ADDR addr, int len, int type)
int i;
if (remote_debug)
- fprintf_unfiltered (gdb_stdlog, "m32r_remove_watchpoint(%08lx,%d,%d)\n",
- addr, len, type);
+ fprintf_unfiltered (gdb_stdlog, "m32r_remove_watchpoint(%s,%d,%d)\n",
+ paddr (addr), len, type);
for (i = 0; i < MAX_ACCESS_BREAKS; i++)
{