* jit.c (jit_event_handler): Use paddress to print target addresses.

Wrap printf string in _().
This commit is contained in:
Doug Evans 2009-08-21 19:07:01 +00:00
parent 0756c555b5
commit dfdbc9b4c0
2 changed files with 8 additions and 2 deletions

View 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.

View File

@ -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);