This is the mail archive of the 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]

Re: GDB crash problem on cygwin.


With today's cvs and your testcase, (again you haven't mentioned which version of gcc and binutils you used to build it.) With whatever older version of the h8 toolchain that I have , on cygwin I didn't get any problems with the simulator. (from GCC CVS head in July / August 04 and binutils head in the same period . )

info frame gave me correct frame info and the simulator did not crash.

One way for you to go forward would be to run gdb within gdb and see exactly where it crashes, then maybe you can analyze it further.


Breakpoint 1, main () at test.c:2

Nitin Shah

-----Original Message-----
From: Ramana Radhakrishnan [] Sent: Wednesday, May 04, 2005 4:11 PM
To: Nitin Shah
Subject: Re: GDB crash problem on cygwin.

Nitin Shah wrote:

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


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.

int main()
       int i=1;
       return 0;
Command to compile:
h8300-elf-gcc test_code.c -g

Command to debug:
(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

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