Use core_addr_to_string_nz in csky_analyze_prologue
[external/binutils.git] / gdb / csky-tdep.c
index 972ac59..95bcead 100644 (file)
@@ -1103,8 +1103,8 @@ csky_analyze_prologue (struct gdbarch *gdbarch,
                                          "csky: found stack adjustment of"
                                          " 0x%x bytes.\n", adjust);
                      fprintf_unfiltered (gdb_stdlog,
-                                         "csky: skipping to new address "
-                                         "0x%lx\n", addr);
+                                         "csky: skipping to new address %s\n",
+                                         core_addr_to_string_nz (addr));
                      fprintf_unfiltered (gdb_stdlog,
                                          "csky: continuing\n");
                    }
@@ -1415,8 +1415,8 @@ csky_analyze_prologue (struct gdbarch *gdbarch,
                                          "found stack adjustment of 0x%x"
                                          " bytes.\n", adjust);
                      fprintf_unfiltered (gdb_stdlog, "csky: "
-                                         "skipping to new address 0x%lx\n",
-                                         addr);
+                                         "skipping to new address %s\n",
+                                         core_addr_to_string_nz (addr));
                      fprintf_unfiltered (gdb_stdlog, "csky: continuing\n");
                    }
                  continue;