From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14968 invoked by alias); 4 May 2005 10:41:05 -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 14730 invoked from network); 4 May 2005 10:40:57 -0000 Received: from unknown (HELO calvin.codito.co.in) (220.225.32.98) by sourceware.org with SMTP; 4 May 2005 10:40:57 -0000 Received: from [192.168.100.52] (ramana.codito.co.in [192.168.100.52]) by calvin.codito.co.in (8.12.10/8.12.10) with ESMTP id j44Aer4H013860; Wed, 4 May 2005 16:10:54 +0530 Message-ID: <4278A6A3.6060107@codito.com> Date: Wed, 04 May 2005 10:41:00 -0000 From: Ramana Radhakrishnan User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) MIME-Version: 1.0 To: Nitin Shah CC: gdb@sources.redhat.com Subject: Re: GDB crash problem on cygwin. References: <4A1BE23A7B777442B60F4B4916AE0F13055DF485@sohm.kpit.com> In-Reply-To: <4A1BE23A7B777442B60F4B4916AE0F13055DF485@sohm.kpit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00052.txt.bz2 Nitin Shah wrote: > Hi, > I have built gdb-6.3 on cygwin-1.5.9 for h8300 (coff and elf) target. I > tried to use command > (gdb) info frame, for h8300-elf target after putting breakpoint at main. > But it is crashing, although it works fine for h8300-coff target. I have > built the same gdb-6.3 on Linux, it works fine for both h8300-elf and > h8300-coff targets. > > **************test_code.c************************** > int main() > { > int i=1; > i++; > return 0; > } > *************************************************** > Command to compile: > h8300-elf-gcc test_code.c -g > > Command to debug: > h8300-elf-gdb > (gdb) file a.out > (gdb) target sim > (gdb) load > (gdb) b 1 > (gdb) r > (gdb) info frame set debug frame 1 and send the output on the list. Maybe someone can then see the error. > Here it crashes. What is the crash message ? Use the script command and send that output on the list. cheers Ramana -- Ramana Radhakrishnan GNU Tools codito ergo sum (www.codito.com)