diff options
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r-- | gdb/sol-thread.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 1b0489c..3aa9440 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -1250,7 +1250,8 @@ info_cb (const td_thrhandle_t *th, void *s) printf_filtered (" startfunc: %s\n", SYMBOL_PRINT_NAME (msym)); else - printf_filtered (" startfunc: 0x%s\n", paddr (ti.ti_startfunc)); + printf_filtered (" startfunc: %s\n", + paddress (target_gdbarch, ti.ti_startfunc)); } /* If thread is asleep, print function that went to sleep. */ @@ -1262,7 +1263,8 @@ info_cb (const td_thrhandle_t *th, void *s) printf_filtered (" - Sleep func: %s\n", SYMBOL_PRINT_NAME (msym)); else - printf_filtered (" - Sleep func: 0x%s\n", paddr (ti.ti_startfunc)); + printf_filtered (" - Sleep func: %s\n", + paddress (target_gdbarch, ti.ti_startfunc)); } /* Wrap up line, if necessary. */ |