diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sol-thread.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f830db6..ff51bc7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-05-08 Joel Brobecker <brobecker@adacore.com> + * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]: + Replace ti.ti_startfunc by ti.ti_pc. + +2013-05-08 Joel Brobecker <brobecker@adacore.com> + * solib-aix.c (solib_aix_free_library_list): New function for the case where HAVE_LIBEXPAT is not defined. diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index f5ea3be..6faf91d 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -1137,7 +1137,7 @@ info_cb (const td_thrhandle_t *th, void *s) SYMBOL_PRINT_NAME (msym.minsym)); else printf_filtered (" - Sleep func: %s\n", - paddress (target_gdbarch (), ti.ti_startfunc)); + paddress (target_gdbarch (), ti.ti_pc)); } /* Wrap up line, if necessary. */ |