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.
This commit is contained in:
Joel Brobecker 2013-05-08 06:19:32 +00:00
parent 814a3ff71b
commit 5d74e06193
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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. */