Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Deadlock when receiving kill-signal from child process



On Aug 10,  4:02am, Mikael Magnusson wrote:
} Subject: Re: Deadlock when receiving kill-signal from child process
}
} I think --enable-zsh-debug only sets the DEBUG define, and nothing
} more.

My generated configure script contains:

if test -n "$auto_cflags" && test ."$ansi2knr" != .yes; then
  if test "${enable_zsh_debug}" = yes; then
    if test -n "$GCC"; then
      CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -ggdb"
    else
      CFLAGS="$CFLAGS -g"
    fi
  else
    if test -n "$GCC"; then
      CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -O2"
    else
      CFLAGS="$CFLAGS -O"
    fi
  fi
fi

So apparently on Mathias's platform, passing -g plus not passing -O is
not sufficient to actually enable debugging symbols.



Messages sorted by: Reverse Date, Date, Thread, Author