From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32641 invoked by alias); 18 Oct 2007 16:15:48 -0000 Received: (qmail 32632 invoked by uid 22791); 18 Oct 2007 16:15:48 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Oct 2007 16:15:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CC6FC2ABA98; Thu, 18 Oct 2007 12:15:40 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9ebH6mKrps7i; Thu, 18 Oct 2007 12:15:40 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 92B042ABA97; Thu, 18 Oct 2007 12:15:40 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 86DAFE7A13; Thu, 18 Oct 2007 09:15:38 -0700 (PDT) Date: Thu, 18 Oct 2007 16:15:00 -0000 From: Joel Brobecker To: Christoph Bartoschek Cc: gdb@sourceware.org Subject: Re: Compiling on AIX 5.3 with xlC Message-ID: <20071018161538.GQ16618@adacore.com> References: <200710181330.49445.bartoschek@or.uni-bonn.de> <20071018121854.GA3467@caradoc.them.org> <200710181513.11050.bartoschek@or.uni-bonn.de> <200710181635.33871.bartoschek@or.uni-bonn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710181635.33871.bartoschek@or.uni-bonn.de> User-Agent: Mutt/1.4.2.2i 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: 2007-10/txt/msg00140.txt.bz2 > I claimed success too early. I am not able to attach to a process. That's strange. I don't have any problems: (gdb) attach 700422 Attaching to program: /[...]/foo, process 700422 0xd0234e94 in nsleep () from /usr/lib/libc.a(shr.o) (gdb) bt #0 0xd0234e94 in nsleep () from /usr/lib/libc.a(shr.o) #1 0xd026759c in nanosleep () from /usr/lib/libc.a(shr.o) #2 0x100174d4 in system.os_primitives.timed_delay () #3 0x100211ac in ada.calendar.delays.timed_delay_nt () #4 0x100210d4 in ada.calendar.delays.delay_for () #5 0x1002d3ec in pck.wait_for_debugger () at pck.adb:11 #6 0x1002da58 in foo () at foo.adb:15 Something must have happened during the build. Are you able to debug GDB? -- Joel