From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24120 invoked by alias); 4 May 2005 13:06:32 -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 23884 invoked from network); 4 May 2005 13:06:05 -0000 Received: from unknown (HELO sohm.kpit.com) (203.197.93.231) by sourceware.org with SMTP; 4 May 2005 13:06:05 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: GDB crash problem on cygwin. Date: Wed, 04 May 2005 13:06:00 -0000 Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1305627CF5@sohm.kpit.com> From: "Nitin Shah" To: "Ramana Radhakrishnan" Cc: X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-SW-Source: 2005-05/txt/msg00053.txt.bz2 Hi, After set debug frame 1, while running the run command I have log the output mentioned below, after this if I give "info frame" command, it's completely crashes and closed the complete gdb. *************************gdb.txt**************************************** **** { flush_cached_frames () } { frame_id_p (l=3D{stack=3D0x0,code=3D0x0,special=3D0x0}) -> 0 } { frame_id_p (l=3D{stack=3D0x0,code=3D0x0,special=3D0x0}) -> 0 } { frame_id_p (l=3D{stack=3D0x0,code=3D0x0,special=3D0x0}) -> 0 } { frame_id_p (l=3D{stack=3D0x0,code=3D0x0,special=3D0x0}) -> 0 } { create_sentinel_frame (...) -> {level=3D-1,type=3DNORMAL_FRAME,unwind=3D0x52a2b4,pc=3D,id=3D{stac= k=3D0x0,c ode=3D0x0,special=3D0x0},func=3D} } { get_prev_frame (this_frame=3D-1) { frame_pc_unwind (this_frame=3D-1) -> 0x1a8 } { deprecated_update_frame_pc_hack (frame=3D0,pc=3D0x1a8) } { frame_id_p (l=3D{stack=3D0x0,code=3D0x1a8,special=3D0x0}) -> 0 } -> // unwound legacy ID invalid } { deprecated_update_frame_pc_hack (frame=3D-1,pc=3D0x1a8) } ************************************************************************ **** Breakpoint 1, main () at test.c:2 Regards, Nitin Shah -----Original Message----- From: Ramana Radhakrishnan [mailto:ramana.radhakrishnan@codito.com]=20 Sent: Wednesday, May 04, 2005 4:11 PM To: Nitin Shah Cc: gdb@sources.redhat.com Subject: Re: GDB crash problem on cygwin. Nitin Shah wrote: > Hi, > I have built gdb-6.3 on cygwin-1.5.9 for h8300 (coff and elf) target.=20 > 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=20 > have built the same gdb-6.3 on Linux, it works fine for both h8300-elf > and h8300-coff targets. >=20 > **************test_code.c************************** > int main() > { > int i=3D1; > i++; > return 0; > } > *************************************************** > Command to compile: > h8300-elf-gcc test_code.c -g >=20 > 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=20 that output on the list. cheers Ramana --=20 Ramana Radhakrishnan GNU Tools codito ergo sum (www.codito.com) --------------------------------- This message contains the information that may be privileged and is the pr= operty of the KPIT Cummins Infosystems LTD.It is intended only for the pers= on to whom it is addressed. If you are not intended recipient, you are not = authorized to read, print , retain copy, disseminate, distribute, or use th= is message or any part thereof. If you receive this message in error, pleas= e notify the sender immediately and delete all copies of this message. KPIT= Cummins does not accept any liability for virus infected mails.