From dfdbc9b4c04150a7f77847ffea70e61f091b96f6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 21 Aug 2009 19:07:01 +0000 Subject: [PATCH] * jit.c (jit_event_handler): Use paddress to print target addresses. Wrap printf string in _(). --- gdb/ChangeLog | 6 ++++++ gdb/jit.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b0a623aee6..8d57ddbea44 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-08-21 Ken Werner + Doug Evans + + * jit.c (jit_event_handler): Use paddress to print target addresses. + Wrap printf string in _(). + 2009-08-21 Doug Evans * jit.c (jit_read_descriptor): New arg gdbarch, all callers updated. diff --git a/gdb/jit.c b/gdb/jit.c index ffc6735903f..a362098b02e 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); -- 2.30.2