delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/13/23:49:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 13 Sep 2011 22:48:43 -0500
Message-ID: <CAP_ScW024Rb4Y=NJC-QDRTbuShVr1JCKkGTz-WbKcari7ueFbQ@mail.gmail.com>
Subject: Problem w/ gdb 7.3.50-2 under emacs
From: Bill Priest <priestwilliaml AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

All,
      I updated gdb to 7.3.50-2 and I can no longer run M-x gdb under
emacs inside rxvt (gdb core dumps).  Reverting back to 7.3.50-1 and it
works.  The executable being debugged is built with gcc 4.5.3 and gdb
under rxvt and ddd works.  Running M-x shell (/bin/sh) gdb also works.
 Running M-x gdba fails identically  to M-x gdb.  The odd thing is
that after "Reading symbols ... done" nothing is typed and the
"Debugger segmentation fault (core dumped) occurs w/o typing a key.

Bill

t.c
--------------
#include <stdio.h>

int main(void)
{
 printf("Hello World\n");
 return 0;
}
---------------

compiled with
gcc -Wall -g -o t t.c


Current directory is ~/
GNU gdb (GDB) 7.3.50.20110821-cvs (cygwin-special)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/wpriest/t.exe...done.
(gdb)
Debugger segmentation fault (core dumped)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019