From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6806 invoked by alias); 16 Oct 2007 07:17:16 -0000 Received: (qmail 6794 invoked by uid 22791); 16 Oct 2007 07:17:14 -0000 X-Spam-Check-By: sourceware.org Received: from smtp18.poczta.onet.pl (HELO smtp18.poczta.onet.pl) (213.180.130.78) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Oct 2007 07:17:08 +0000 Received: from static-62-233-152-148.devs.futuro.pl ([62.233.152.148]:1231 "EHLO [10.0.0.62]" rhost-flags-OK-OK-OK-FAIL) by ps18.test.onet.pl with ESMTPA id S184566582AbXJPHREF9J62 (ORCPT ); Tue, 16 Oct 2007 09:17:04 +0200 Message-ID: <4714656F.4040008@op.pl> Date: Tue, 16 Oct 2007 07:17:00 -0000 From: Bogdan Slusarczyk User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: [gdb6.6/6.7] undefined/not implemented MI command causes gdb crash (windows/linux) References: <4713758E.6040807@op.pl> <20071015145956.GA21761@caradoc.them.org> In-Reply-To: <20071015145956.GA21761@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00115.txt.bz2 > Could you be more precise? > > - What target is GDB configured for? windows(XP): i686-pc-cygwin linux: i686-pc-linux-gnu I tried also i686-pc-mingw32 (using mingw gdb6.6 source pack), but this one it's ok (except it hangs after 'attach' command, so it's useless for me) I noticed that mingw version intercepts user input from shell with bit different way. I don't know how to explain it, just run windows shell with gdb and try use 'up/down' keys. > - What exactly do you type, and what does GDB do? on both platforms run gdb using: 'gdb -i mi' and: windows: dummy &"dummy\n" &"Undefined command: \"dummy\". Try \"help\".\n" ^error,msg="Undefined command: \"dummy\". Try \"help\"." (gdb) -target-attach ^error,msg="Undefined mi command: target-attach (missing implementation)" ^error,msg=" 12118 [sig] gdb 3968 open_stackdumpfile: Dumping stack trace to gdb.exe.stackdump linux: dummy &"dummy\n" &"Undefined command: \"dummy\". Try \"help\".\n" ^error,msg="Undefined command: \"dummy\". Try \"help\"." (gdb) -target-attach ^error,msg="Undefined mi command: target-attach (missing implementation)" ^error,msg="" (gdb) dummy &"dummy\n" Segmentation fault Regards Bogdan