From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68294 invoked by alias); 23 Oct 2016 16:10:54 -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 68271 invoked by uid 89); 23 Oct 2016 16:10:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SEMBACKSCATTER,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=lot!, Sangamesh, H*Ad:D*in.ibm.com, H*x:Release X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Oct 2016 16:10:42 +0000 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u9NG9Brc040863 for ; Sun, 23 Oct 2016 12:10:41 -0400 Received: from e28smtp08.in.ibm.com (e28smtp08.in.ibm.com [125.16.236.8]) by mx0a-001b2d01.pphosted.com with ESMTP id 268yyu1a5f-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sun, 23 Oct 2016 12:10:40 -0400 Received: from localhost by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 23 Oct 2016 21:40:37 +0530 Received: from d28dlp02.in.ibm.com (9.184.220.127) by e28smtp08.in.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 23 Oct 2016 21:40:35 +0530 X-IBM-Helo: d28dlp02.in.ibm.com X-IBM-MailFrom: sangamesh.swamy@in.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 558973940033 for ; Sun, 23 Oct 2016 21:40:35 +0530 (IST) Received: from d50lp03.ny.us.ibm.com (d50lp03.extnet.ibm.com [146.89.104.211]) by d28relay04.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u9NGAX7646924030 for ; Sun, 23 Oct 2016 21:40:34 +0530 Received: from localhost by d50lp03.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 23 Oct 2016 12:10:33 -0400 Received: from smtp.notes.na.collabserv.com (192.155.248.67) by d50lp03.ny.us.ibm.com (158.87.18.22) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128/128) Sun, 23 Oct 2016 12:10:31 -0400 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Sun, 23 Oct 2016 16:10:30 -0000 Received: from us1a3-smtp01.a3.dal06.isc4sb.com (10.106.154.95) by smtp.notes.na.collabserv.com (10.106.227.16) with smtp.notes.na.collabserv.com ESMTP; Sun, 23 Oct 2016 16:10:27 -0000 Received: from us1a3-mail142.a3.dal06.isc4sb.com ([10.146.38.78]) by us1a3-smtp01.a3.dal06.isc4sb.com with ESMTP id 2016102316102705-84439 ; Sun, 23 Oct 2016 16:10:27 +0000 In-Reply-To: <20161021154952.0A7A61161CC@oc8523832656.ibm.com> To: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, Ulrich.Weigand@de.ibm.com (Ulrich Weigand) Subject: Re: [PATCH] Make name of current file as pst->filename instead of _start_ in AIX From: "Sangamesh Mallayya" Date: Sun, 23 Oct 2016 16:10:00 -0000 References: from "Sangamesh Mallayya" at Oct 21, 2016 02:01:28 PM <20161021154952.0A7A61161CC@oc8523832656.ibm.com> MIME-Version: 1.0 X-KeepSent: 43DCC124:DE5F97B2-65258055:0058C62C; type=4; name=$KeepSent X-LLNOutbound: False X-Disclaimed: 36343 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII" x-cbid: 16102316-0028-0000-0000-00000331D045 X-IBM-ISS-SpamDetectors: Score=0.40962; BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.40962; ST=0; TS=0; UL=0; ISC= X-IBM-ISS-DetailInfo: BY=3.00005965; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000187; SDB=6.00771726; UDB=6.00370284; UTC=2016-10-23 16:10:28 x-cbparentid: 16102316-0328-0000-0000-0000014CA32D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-Content-Scanned: Fidelis XPS MAILER X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-10-23_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1610230294 X-SW-Source: 2016-10/txt/msg00656.txt.bz2 Thanks a lot! Thanks, -Sangamesh From: "Ulrich Weigand" To: Sangamesh Mallayya/India/IBM@IBMIN Cc: gdb-patches@sourceware.org, Ulrich.Weigand@de.ibm.com (Ulrich=20 Weigand) Date: 10/21/2016 09:20 PM Subject: Re: [PATCH] Make name of current file as pst->filename=20 instead of _start_ in AIX Sangamesh Mallayya wrote: > When -qfuncsect xlc or -ffunction-section gcc compiler option is used in > AIX, each function csect will be associated with each psymtab, > so each psymtab will have it's corresponding filename entries set. >=20 > If the pst filename isn't set then we will be seeing the below output=20 when > we set a breakpoint. >=20 > (gdb) br main > Breakpoint 1 at 0x10000374: file _start_ , line 18. >=20 > With the fix it will be. >=20 > (gdb) br main > Breakpoint 1 at 0x10000518: file test.c, line 24. >=20 > Attached patch resolve this issue and correct filename will be set. This is OK. I've checked the patch in now. Thanks, Ulrich --=20 Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com