From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26005 invoked by alias); 17 Jun 2004 06:43:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25995 invoked from network); 17 Jun 2004 06:43:16 -0000 Received: from unknown (HELO webmail-outgoing.us4.outblaze.com) (205.158.62.67) by sourceware.org with SMTP; 17 Jun 2004 06:43:16 -0000 Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id B9C1C18005DC for ; Thu, 17 Jun 2004 06:43:15 +0000 (GMT) X-OB-Received: from unknown (205.158.62.49) by 205.158.62.180; 17 Jun 2004 06:42:20 -0000 Received: by ws1-1.us4.outblaze.com (Postfix, from userid 1001) id 5DE5F4BDB1; Thu, 17 Jun 2004 06:42:52 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Received: from [212.199.10.23] by ws1-1.us4.outblaze.com with http for plm@iname.com; Thu, 17 Jun 2004 14:42:52 +0800 From: "L P" To: gdb@sources.redhat.com Date: Thu, 17 Jun 2004 06:43:00 -0000 Subject: Update sources for gdb without exiting X-Originating-Ip: 212.199.10.23 X-Originating-Server: ws1-1.us4.outblaze.com Message-Id: <20040617064252.5DE5F4BDB1@ws1-1.us4.outblaze.com> X-SW-Source: 2004-06/txt/msg00184.txt.bz2 Hello, I understand that this must be somewhere, I studied a lot of docs, internet, etc. but still can not achieve the result: I cross-develop and have the following in my .gdbinit: define o9 set mpcbdm_adapter 2 target mpcbdm 0 add-symbol-file ./Debug/dtc load ./Debug/dtc printf "Executable was loaded\n" end o9 Now, while in gdb, I change something in the code, recompile it and back in gdb call "o9" - gdb always says that source file is newer then executable. I tried "kill, o9" and many other variants - no use... How can I do this? Many thanks ahead for any help. PLM -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm