From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13842 invoked by alias); 22 Jun 2009 18:48:01 -0000 Received: (qmail 13832 invoked by uid 22791); 22 Jun 2009 18:48:00 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f210.google.com (HELO mail-fx0-f210.google.com) (209.85.220.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Jun 2009 18:47:51 +0000 Received: by fxm6 with SMTP id 6so3945403fxm.24 for ; Mon, 22 Jun 2009 11:47:47 -0700 (PDT) Received: by 10.103.39.3 with SMTP id r3mr2450171muj.56.1245696467597; Mon, 22 Jun 2009 11:47:47 -0700 (PDT) Received: from horst.localnet (port-92-204-65-212.dynamic.qsc.de [92.204.65.212]) by mx.google.com with ESMTPS id e8sm13090747muf.36.2009.06.22.11.47.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 11:47:46 -0700 (PDT) From: Maik Beckmann To: gdb@sourceware.org Subject: debugging gdb Date: Mon, 22 Jun 2009 18:48:00 -0000 User-Agent: KMail/1.11.4 (Linux/2.6.29-ARCH; KDE/4.2.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906222048.02212.Beckmann.Maik@googlemail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00211.txt.bz2 Hello, gdb-archer segfaults on me at a certain point in my source code. To give a proper bug report I did wanted to get a backtrace. So I did ulimit -c unlimited to get a core dump. However, I all I get by running my systems gdb-6.8 on the core file gdb --core=core is {{{ $ gdb --core=core GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-unknown-linux-gnu". (no debugging symbols found) Core was generated by `/home/maik/abs/gdb-archer/src/gdb-archer/build/gdb/gdb --annotate=3 pong'. Program terminated with signal 11, Segmentation fault. [New process 21841] #0 0x0000000000633ff4 in ?? () (gdb) bt #0 0x0000000000633ff4 in ?? () (gdb) }}} Can you guys give me a hand on how to move forward from here? Thanks, -- Maik PS: I configured archer with {{{ export CFLAGS=" -g -O1 " export CXXFLAGS=" -g -O1 " ../configure --enable-debug \ --prefix=/usr \ --disable-nls \ --mandir=/usr/share/man \ --disable-werror \ --infodir=/usr/share/info }}} ran make but didn't install it.