diff options
author | Doug Evans <dje@google.com> | 2009-08-21 19:07:01 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-08-21 19:07:01 +0000 |
commit | dfdbc9b4c04150a7f77847ffea70e61f091b96f6 (patch) | |
tree | 07ae949e1542ce7aa30300597f15592746ebe628 | |
parent | 0756c555b50ddcf995a00701cb6897efd3cc2f90 (diff) | |
download | gdb-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 _().
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/jit.c | 4 |
2 files changed, 8 insertions, 2 deletions
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 <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. @@ -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); |