aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-05 12:57:16 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-05 12:57:16 +0000
commit0b1553bcdd4db0c7ddb09f01cd281917447d5769 (patch)
tree9faff3860f79981f381f651020ba1630984fac6f /gdb/gdbarch.c
parent2454a0247b12f34d5eb87f52172722115b0f0915 (diff)
downloadgdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.zip
gdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.tar.gz
gdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.tar.bz2
* gdbarch.sh (gdbarch_dump): Use core_addr_to_string_nz
instead of paddr_nz. * gdbarch.c: Regenerate. * target.c (target_xfer_partial, debug_print_register): Use core_addr_to_string_nz instead of paddr_nz.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 1986e25..1ec3a33 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -743,14 +743,14 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
"gdbarch_dump: core_xfer_shared_libraries = <0x%lx>\n",
(long) gdbarch->core_xfer_shared_libraries);
fprintf_unfiltered (file,
- "gdbarch_dump: decr_pc_after_break = 0x%s\n",
- paddr_nz (gdbarch->decr_pc_after_break));
+ "gdbarch_dump: decr_pc_after_break = %s\n",
+ core_addr_to_string_nz (gdbarch->decr_pc_after_break));
fprintf_unfiltered (file,
"gdbarch_dump: deprecated_fp_regnum = %s\n",
plongest (gdbarch->deprecated_fp_regnum));
fprintf_unfiltered (file,
- "gdbarch_dump: deprecated_function_start_offset = 0x%s\n",
- paddr_nz (gdbarch->deprecated_function_start_offset));
+ "gdbarch_dump: deprecated_function_start_offset = %s\n",
+ core_addr_to_string_nz (gdbarch->deprecated_function_start_offset));
fprintf_unfiltered (file,
"gdbarch_dump: gdbarch_displaced_step_copy_insn_p() = %d\n",
gdbarch_displaced_step_copy_insn_p (gdbarch));
@@ -818,8 +818,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
"gdbarch_dump: frame_align = <0x%lx>\n",
(long) gdbarch->frame_align);
fprintf_unfiltered (file,
- "gdbarch_dump: frame_args_skip = 0x%s\n",
- paddr_nz (gdbarch->frame_args_skip));
+ "gdbarch_dump: frame_args_skip = %s\n",
+ core_addr_to_string_nz (gdbarch->frame_args_skip));
fprintf_unfiltered (file,
"gdbarch_dump: gdbarch_frame_num_args_p() = %d\n",
gdbarch_frame_num_args_p (gdbarch));