[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb on Cygwin

From: Bruno Haible
Subject: Re: gdb on Cygwin
Date: Mon, 23 Jan 2017 15:36:58 +0100
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

Eric Blake wrote:
> > There still is a crash in test-duplocale. It occurs in
> >   main (test-duplocale.c:100)
> >   -> get_locale_dependent_values (test-duplocale.c:45)
> >      -> strfmon
> > 
> > I'm using Cygwin 2.6.1(0.305/5/3) 2016-12-16 11:55.
> > 
> > By the way, is it normal that gdb is so unhelpful on Cygwin?
> Are you using CFLAGS=-g?  Without debugging symbols, there's not much to
> debug.

Of course I'm using "-g -O0" when I want to debug something.
I'm complaining about the facts that
  1. gdb doesn't stop the process before it's about to crash,
  2. the testduplocale.exe.stackdump file contains a list of addresses
     (from the stack), and it would be useful if gdb showed this
     as a stack trace. But it doesn't.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]