From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26402 invoked by alias); 16 Nov 2005 19:58:15 -0000 Received: (qmail 26082 invoked by uid 22791); 16 Nov 2005 19:58:10 -0000 Received: from ns2.lanforge.com (HELO ns2.lanforge.com) (66.165.47.211) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 16 Nov 2005 19:58:10 +0000 Received: from [71.112.206.236] (pool-71-112-206-236.sttlwa.dsl-w.verizon.net [71.112.206.236]) (authenticated bits=0) by ns2.lanforge.com (8.13.4/8.13.4) with ESMTP id jAGJw4YC015550; Wed, 16 Nov 2005 11:58:05 -0800 Message-ID: <437B8F4C.8060708@candelatech.com> Date: Wed, 16 Nov 2005 19:58:00 -0000 From: Ben Greear User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 MIME-Version: 1.0 To: Brian Dessent CC: gdb@sources.redhat.com Subject: Re: Dumping core on windows? References: <437B87D4.4060304@candelatech.com> <437B8D6B.65249253@dessent.net> In-Reply-To: <437B8D6B.65249253@dessent.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00324.txt.bz2 Brian Dessent wrote: > Ben Greear wrote: > > >>Is there any way to configure windows to dump a core file >>that GDB can decode? > > > If you are using Cygwin, the dumper utility is provided for this. See > the users guide. I'm using mingw on Linux to cross-compile a windows executable. It does not require/use cygwin, but I can use cygwin if that will do what I need. I'll investigate the dumper tool. >>(Or, get a stack-trace some other way?) > > > Attach to the process and "bt"? No core file is needed for that. Maybe > you should supply some more details. After hours or days, my application crashes. It's not overly convenient for me to attach gdb to the process(es), but it can be done if that is the only way. Is there a way to have gdb automatically start running an app, for instance, something like this: gdb --exe=foo.exe --autostart --command="--arg1 --arg2=bar" I know you can pipe commands in, but that's a bit inconvenient... Thanks, Ben > > Brian > -- Ben Greear Candela Technologies Inc http://www.candelatech.com