* jit.c (jit_event_handler): Use paddress to print target addresses.
authorDoug Evans <dje@google.com>
Fri, 21 Aug 2009 19:07:01 +0000 (19:07 +0000)
committerDoug Evans <dje@google.com>
Fri, 21 Aug 2009 19:07:01 +0000 (19:07 +0000)
Wrap printf string in _().

gdb/ChangeLog
gdb/jit.c

index 4b0a623aee62b8e3832482d6d7a491048e52f279..8d57ddbea445c0a2d855523f50a8564d2cf5448d 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-21  Ken Werner <ken@linux.vnet.ibm.com>
+           Doug Evans  <dje@google.com>
+
+       * jit.c (jit_event_handler): Use paddress to print target addresses.
+       Wrap printf string in _().
+
 2009-08-21  Doug Evans  <dje@google.com>
 
        * jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
index ffc6735903fee00cba3d0f493cc5d6f2d6b223f3..a362098b02e8f1366ed7e91399dd162cd19e549b 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -436,8 +436,8 @@ jit_event_handler (struct gdbarch *gdbarch)
     case JIT_UNREGISTER:
       objf = jit_find_objf_with_entry_addr (entry_addr);
       if (objf == NULL)
-        printf_unfiltered ("Unable to find JITed code entry at address: %p\n",
-                           (void *) entry_addr);
+       printf_unfiltered (_("Unable to find JITed code entry at address: %s\n"),
+                          paddress (gdbarch, entry_addr));
       else
         jit_unregister_code (objf);