From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31950 invoked by alias); 7 May 2013 12:25:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 31904 invoked by uid 89); 7 May 2013 12:25:42 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KAM_STOCKGEN,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 12:25:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 926212EDB4; Tue, 7 May 2013 08:25:39 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id duyDshlY4Q46; Tue, 7 May 2013 08:25:39 -0400 (EDT) Received: from kwai.gnat.com (kwai.gnat.com [205.232.38.4]) by rock.gnat.com (Postfix) with ESMTP id 7A11F2EDB1; Tue, 7 May 2013 08:25:39 -0400 (EDT) Received: by kwai.gnat.com (Postfix, from userid 4233) id 78E113FF09; Tue, 7 May 2013 08:25:39 -0400 (EDT) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Pedro Alves , Joel Brobecker Subject: [RFA/commit 1/3] ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb Date: Tue, 07 May 2013 12:25:00 -0000 Message-Id: <1367929532-4849-2-git-send-email-brobecker@adacore.com> In-Reply-To: <518284AF.5090802@redhat.com> References: <518284AF.5090802@redhat.com> X-SW-Source: 2013-05/txt/msg00199.txt.bz2 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/sol-thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 6202997..2e76700 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -1195,7 +1195,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. */ -- 1.7.0.4