diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-05-08 06:19:32 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-05-08 06:19:32 +0000 |
commit | 5d74e06193a226af8e14b6bf3530237c6a731418 (patch) | |
tree | a1368ca5b9d80d7e20d7fbed784da59cc42caa59 /gdb/sol-thread.c | |
parent | 814a3ff71b0e90f67eb9003ca37fa90094204152 (diff) | |
download | gdb-5d74e06193a226af8e14b6bf3530237c6a731418.zip gdb-5d74e06193a226af8e14b6bf3530237c6a731418.tar.gz gdb-5d74e06193a226af8e14b6bf3530237c6a731418.tar.bz2 |
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.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r-- | gdb/sol-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |