From: Doug Evans Date: Fri, 21 Aug 2009 19:07:01 +0000 (+0000) Subject: * jit.c (jit_event_handler): Use paddress to print target addresses. X-Git-Tag: cgen-snapshot-20090901~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfdbc9b4c04150a7f77847ffea70e61f091b96f6;p=external%2Fbinutils.git * jit.c (jit_event_handler): Use paddress to print target addresses. Wrap printf string in _(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b0a623a..8d57ddb 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 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);