From 5d74e06193a226af8e14b6bf3530237c6a731418 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 8 May 2013 06:19:32 +0000 Subject: [PATCH] ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb gdb/ChangeLog: * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]: Replace ti.ti_startfunc by ti.ti_pc. Probably OK to commit without approval, so will likely do so in the next few days. --- gdb/ChangeLog | 5 +++++ gdb/sol-thread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f830db6e313..ff51bc75efc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-05-08 Joel Brobecker + + * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]: + Replace ti.ti_startfunc by ti.ti_pc. + 2013-05-08 Joel Brobecker * solib-aix.c (solib_aix_free_library_list): New function diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index f5ea3bebcfb..6faf91d28ba 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. */ -- 2.30.2