From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5558 invoked by alias); 16 Jun 2014 06:58:40 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5541 invoked by uid 89); 16 Jun 2014 06:58:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-by2-obe.outbound.protection.outlook.com Received: from mail-by2lp0238.outbound.protection.outlook.com (HELO na01-by2-obe.outbound.protection.outlook.com) (207.46.163.238) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 16 Jun 2014 06:58:35 +0000 Received: from BY2PR03MB143.namprd03.prod.outlook.com (10.242.35.149) by BY2PR03MB042.namprd03.prod.outlook.com (10.255.241.146) with Microsoft SMTP Server (TLS) id 15.0.954.9; Mon, 16 Jun 2014 06:58:32 +0000 Received: from BY2PR03MB175.namprd03.prod.outlook.com (10.242.36.148) by BY2PR03MB143.namprd03.prod.outlook.com (10.242.35.149) with Microsoft SMTP Server (TLS) id 15.0.954.9; Mon, 16 Jun 2014 06:58:30 +0000 Received: from BY2PR03MB175.namprd03.prod.outlook.com ([169.254.5.40]) by BY2PR03MB175.namprd03.prod.outlook.com ([169.254.5.40]) with mapi id 15.00.0954.000; Mon, 16 Jun 2014 06:58:30 +0000 From: "catalin.udma@freescale.com" To: "gdb@sourceware.org" CC: Adrian Sendroiu Subject: RE: qSymbol when using symbol-file Date: Mon, 16 Jun 2014 06:58:00 -0000 Message-ID: <4dcec0b82884469cb9dae76f5d8a305c@BY2PR03MB175.namprd03.prod.outlook.com> References: In-Reply-To: x-microsoft-antispam: BL:0;ACTION:Default;RISK:Low;SCL:0;SPMLVL:NotSpam;PCL:0;RULEID: x-forefront-prvs: 0244637DEA x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(428001)(199002)(189002)(13464003)(51704005)(377454003)(81542001)(15975445006)(81342001)(19580395003)(19580405001)(83322001)(76576001)(101416001)(31966008)(74662001)(74502001)(4396001)(86362001)(76176999)(77096002)(50986999)(54356999)(561944003)(85306003)(105586001)(76482001)(77982001)(64706001)(80022001)(33646001)(66066001)(74316001)(46102001)(83072002)(85852003)(99396002)(99286001)(92566001)(2656002)(87936001)(21056001)(20776003)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR03MB143;H:BY2PR03MB175.namprd03.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (: freescale.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=catalin.udma@freescale.com; Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Microsoft-Antispam: BL:0;ACTION:Default;RISK:Low;SCL:0;SPMLVL:NotSpam;PCL:0;RULEID: X-OriginatorOrg: freescale.com X-SW-Source: 2014-06/txt/msg00040.txt.bz2 Hi, Just a reminder for the email below. Have any of you had the time to look i= nto it ? Regard, Catalin > -----Original Message----- > From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On > Behalf Of catalin.udma@freescale.com > Sent: Tuesday, June 03, 2014 11:59 AM > To: gdb@sourceware.org > Cc: Sendroiu Adrian-B46904 > Subject: qSymbol when using symbol-file >=20 > Hi, >=20 > In the gdb/gdbserver scenario, gdb is not sending qSymbol packet when > using "symbol-file", without "file" or "exec-file". > The steps are: > =A0 start gdb (with no arguments) > =A0 (gdb) symbol-file > =A0 (gdb) target remote : > ->=A0 qSymbol packet is not sent. >=20 > If the "file" command =A0is used instead of "symbol-file", the qSymbol > packet is sent to gdbserver. >=20 > The question makes more sense in the following context: Using Eclipse and > DSF -GDB Hardware Debugging . Here, Eclipse is not using "file", but only > "symbol-file" ( as explained why here: [1] ). =A0This =A0makes qSymbol > notification not working. >=20 > My questions/comments: > - In the above scenario, does make sense to enable qSymbol notification > even when the exec-file is not specified? Here is not required to specify > the =A0exec file. Or even in the gdb/gdbserver scenario where the > application/executable is started by gdbserver on target. >=20 > - For the particular case when some symbol files are added after "target > remote", gdb is sending qSymbol, even without having the exec file > specified. =A0The above proposal would be in sync with this. >=20 > - What would be your other thoughts to fix the qSymbol for the gdb + > Eclipse with DSF GDB Hardware Debugging scenario ? >=20 > Regards, > Catalin >=20 > [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D310304