From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25120 invoked by alias); 9 Aug 2007 09:32:01 -0000 Received: (qmail 25015 invoked by uid 22791); 9 Aug 2007 09:32:00 -0000 X-Spam-Check-By: sourceware.org Received: from mail.sysgo.com (HELO mail.sysgo.com) (62.8.134.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Aug 2007 09:31:56 +0000 Received: from donald.sysgo.com (unknown [172.20.1.30]) by mail.sysgo.com (Postfix) with ESMTP id 32A5DCC04C for ; Thu, 9 Aug 2007 11:31:54 +0200 (CEST) Received: from blanice.sysgo.cz (unknown [172.24.12.10]) by donald.sysgo.com (Postfix) with ESMTP id 21D672E42C8 for ; Thu, 9 Aug 2007 11:31:54 +0200 (CEST) Received: from localhost.localdomain (pko.sysgo.cz [172.24.12.22]) by blanice.sysgo.cz (Postfix) with ESMTP id 5CE5812FDEC for ; Thu, 9 Aug 2007 11:31:53 +0200 (CEST) Received: from pko by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1IJ4MH-00081h-KS for gdb@sourceware.org; Thu, 09 Aug 2007 11:31:09 +0200 Date: Thu, 09 Aug 2007 09:32:00 -0000 From: Petr Koloros To: GDB Mailing list Subject: Re: Restart remote application Message-ID: <20070809093109.GA30348@pko.sysgo.cz> Reply-To: pko@sysgo.com References: <20070808132955.GB10087@pko.sysgo.cz> <20070808142429.GA32455@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20070808142429.GA32455@caradoc.them.org> X-GPG-Key: http://aa.vslib.cz/silk/mygpgkey.txt X-GPG-Fingerprint: 693F 5F55 3E6D B709 ED70 8611 5255 7630 724B C713 X-Operating-System: GNU/Linux User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes 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 X-SW-Source: 2007-08/txt/msg00090.txt.bz2 > Here's some bits of that code plus another related fix I noticed; > does it help for you? Thanks for the patch. Unfortunately it does not work yet. It was able to pass the k,R sequence as expected but then the application is somewhat lost. Here's the output: The program being debugged has been started already. Start it from the beginning? (y or n) y Sending packet: $k#6b...Ack target_mourn_inferior () target_kill () Starting program: /home/pko/zkgdb Sending packet: $R0#82...Ack Sending packet: $?#3f...Ack Packet received: T0505:00000000;04:9004abbf;08:1018fbb7; target_memory_map () extended-remote:target_xfer_partial (7, (null), 0x836e7b0, 0x0, 0x0, 4095) = -1 Sending packet: $Z0,b7f70fb0,1#71...Ack Packet received: Packet Z0 (software-breakpoint) is NOT supported Sending packet: $mb7f70fb0,1#28...Ack Packet received: E01 extended-remote:target_xfer_partial (2, (null), 0x834bc58, 0x0, 0xb7f70fb0, 1) = -1 target_insert_breakpoint (0xb7f70fb0, xxx) = 5 target_terminal_ours_for_output () target_terminal_ours () Warning: Cannot insert breakpoint -3. Error accessing memory address 0xb7f70fb0: Input/output error. Petr