aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-21 19:07:01 +0000
committerDoug Evans <dje@google.com>2009-08-21 19:07:01 +0000
commitdfdbc9b4c04150a7f77847ffea70e61f091b96f6 (patch)
tree07ae949e1542ce7aa30300597f15592746ebe628 /gdb/jit.c
parent0756c555b50ddcf995a00701cb6897efd3cc2f90 (diff)
downloadgdb-dfdbc9b4c04150a7f77847ffea70e61f091b96f6.zip
gdb-dfdbc9b4c04150a7f77847ffea70e61f091b96f6.tar.gz
gdb-dfdbc9b4c04150a7f77847ffea70e61f091b96f6.tar.bz2
* jit.c (jit_event_handler): Use paddress to print target addresses.
Wrap printf string in _().
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index ffc6735..a362098 100644
--- 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);