From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4880 invoked by alias); 18 Oct 2007 16:25:47 -0000 Received: (qmail 4868 invoked by uid 22791); 18 Oct 2007 16:25:44 -0000 X-Spam-Check-By: sourceware.org Received: from brical.or.uni-bonn.de (HELO brical.or.uni-bonn.de) (131.220.141.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 Oct 2007 16:25:41 +0000 Received: from wse04.or.uni-bonn.de (bg-1.or.uni-bonn.de [131.220.141.100]) by brical.or.uni-bonn.de (Postfix) with ESMTP id 2F37A3B6AA for ; Thu, 18 Oct 2007 18:25:01 +0200 (CEST) Received: from [131.220.143.130] (wse00.or.uni-bonn.de [131.220.143.130]) by wse04.or.uni-bonn.de (Postfix) with ESMTP id 4DE0EE927 for ; Thu, 18 Oct 2007 18:25:38 +0200 (CEST) From: Christoph Bartoschek To: gdb@sourceware.org Subject: Re: Compiling on AIX 5.3 with xlC Date: Thu, 18 Oct 2007 16:25:00 -0000 User-Agent: KMail/1.9.6 (enterprise 20070831.706792) References: <200710181330.49445.bartoschek@or.uni-bonn.de> <200710181635.33871.bartoschek@or.uni-bonn.de> <20071018161538.GQ16618@adacore.com> In-Reply-To: <20071018161538.GQ16618@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710181826.04526.bartoschek@or.uni-bonn.de> 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: 2007-10/txt/msg00141.txt.bz2 Am Donnerstag, 18. Oktober 2007 schrieb Joel Brobecker: > > 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? I did not make my point clear. I am able to attach but I do not get any backtrace. Here is my log: bartosch@duco:/fs/data/bartosch/work/12.1aktuell>gdb GNU gdb 6.7 Copyright (C) 2007 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 "powerpc-ibm-aix5.3.0.0". (gdb) attach 98248 Attaching to process 98248 0x00000000 in ?? () (gdb) where #0 0x00000000 in ?? () (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: , process 98248 bartosch@duco:/fs/data/bartosch/work/12.1aktuell> How did you compile your GDB with xlc? Did you use the same settings --disable-sim? Christoph