ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb
authorJoel Brobecker <brobecker@gnat.com>
Wed, 8 May 2013 06:19:32 +0000 (06:19 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 8 May 2013 06:19:32 +0000 (06:19 +0000)
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
gdb/sol-thread.c

index f830db6e3135fe4b9d47be1bfd4e7d954bf3404c..ff51bc75efc9cc31b64a721da76085adb2264cab 100644 (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
index f5ea3bebcfbb03a03b0043fbd556c0bbedb37370..6faf91d28bae1cca9346d136469413d5aa6c1449 100644 (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.  */