This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: CYGWIN GDB on Insight - problems
- From: Keith Seitz <keiths at redhat dot com>
- To: duane_ellis at franklin dot com
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 30 Jun 2003 10:04:54 -0700
- Subject: Re: CYGWIN GDB on Insight - problems
- Organization:
- References: <200306301601.h5UG1YX09173@europa.franklin.com>
On Mon, 2003-06-30 at 09:01, Duane Ellis wrote:
> I've tried to back port the Tcl/Tk stuff (see the cygwin.html page) on
> Insight to 5.2.1 so that I can build it under CYGWIN. Well - I
> screwed something up, it does not work and I'm trying to debug it.
Ugh. 5.2. You know that 6.0 will soon be available? (Let me guess...
arm-elf ecos?) Just to be 100%: you're trying to revert the tcl/tk in
5.2.1 to tcl/tk 8.0.x, as per the instructions on the web page, right?
> When I start insight directly, I get a pop up "application failed to
> initialize properly (0xc0000022)"
>
> If I run GDB on Insight, it fails too... I get these messages
> when I type run:
>
> Starting program: /insight/install/winXX/bin/gdb.exe
>
> Program received signal SIGSEGV, Segmentation fault
> Program received signal SIGSEGV, Segmentation fault
> [YES 2 times]
>
> Program exited with code 0200
>
Sounds eerily familiar. Try rebuild without optimization (CFLAGS="-g"
/path/to/src/configure --prefix=...; make all-gdb; make install-gdb) and
run under gdb. When the segfault happens, gdb should be able to give you
a backtrace.
Keith