This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB crash problem on cygwin.


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
Here it crashes.

Kindly suggest how to solve this problem.

Thanks in advance.

Nitin Shah,
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on February 4, 2005.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 


---------------------------------
This message contains the information that may be privileged and is  the property of the KPIT Cummins Infosystems LTD.It is intended only for the person to whom it is addressed. If you are not intended recipient, you are not authorized to read, print , retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins does not accept any liability for virus infected mails.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]