From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17379 invoked by alias); 28 Nov 2007 15:31:19 -0000 Received: (qmail 17357 invoked by uid 22791); 28 Nov 2007 15:31:18 -0000 X-Spam-Check-By: sourceware.org Received: from dns02.canvas.de (HELO mail02.canvas.de) (213.179.137.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Nov 2007 15:31:07 +0000 Received: from [213.179.137.3] (unknown [213.179.137.3]) by mail02.canvas.de (Postfix) with ESMTP id AD0CA1AA25 for ; Wed, 28 Nov 2007 17:04:56 +0100 (CET) Received: from mail.cadenas.de by [213.179.137.3] via smtpd (for mail02.canvas.de [213.179.137.31]) with ESMTP; Wed, 28 Nov 2007 16:29:59 +0100 Received: from cprog027.cadenas by cprog027.cadenas via smtpd (for mail.cadenas.de [10.0.0.99]) with ESMTP; Wed, 28 Nov 2007 16:29:58 +0100 Message-ID: <474D8AC5.1000200@cadenas.de> Date: Wed, 28 Nov 2007 15:31:00 -0000 From: Thomas Mittelstaedt User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: Problem with gdb/mi under hp-ux 11.11, aix 5.2, gdb 6.7.1 References: <474D86D2.6070807@cadenas.de> In-Reply-To: <474D86D2.6070807@cadenas.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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-11/txt/msg00257.txt.bz2 Hallo, Some more investigation shows that the forked gdb runs at about 90+ % CPU and the truss output shows that floating point exceptions occur. sigvec(SIGFPE, 0x7b042560, 0x7b042570) = 0 Received signal 8, SIGFPE, in user mode, [caught], partial siginfo Siginfo: si_code: I_EXCEP, faulting address: 0xc015fd6b, si_errno: 0 PC: 0xc015fd6b, instruction: 0x27c11200 sigvec(SIGFPE, 0x7b042560, 0x7b042570) = 0 Received signal 8, SIGFPE, in user mode, [caught], partial siginfo Siginfo: si_code: I_EXCEP, faulting address: 0xc015fd6b, si_errno: 0 PC: 0xc015fd6b, instruction: 0x27c11200 sigvec(SIGFPE, 0x7b042560, 0x7b042570) = 0 Received signal 8, SIGFPE, in user mode, [caught], partial siginfo Siginfo: si_code: I_EXCEP, faulting address: 0xc015fd6b, si_errno: 0 PC: 0xc015fd6b, instruction: 0x27c11200 Thomas Mittelstaedt schrieb: > Hallo, > > I am trying to get ccdebug , a Qt-based > gdb frontend to work on hp-ux. It works without problems on linux. On > hp-ux, though, and also on aix, > I am having trouble when I hit the key to show the register values. The > funny thing is, sometimes it works, but mostly it does not, i.e. there is no > response from the forked gdb, because otherwise I would see it in the log. > The following command is sent to gdb, but no response arrives. > > Sent: -data-list-register-values x  > > What can this be and how can I test this? > > Also, when I try to debug ccdebug with gdb directly, I get a ttrace: > Protocol error. > Attaching to the running process also does not work. > > tmstaedt@buildhp3$ gdb ../ccdebug > GNU gdb 6.7.1 > 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 "hppa2.0w-hp-hpux11.11"... > (gdb) r > Starting program: > /localbuild/source/V9_UNICODE_RESTRUCTURE/3rdparty/ccdebug/ccdebug > warning: The shared libraries were not privately mapped; setting a > breakpoint in a shared library will not work until you rerun the program. > > [New process 3561, lwp 1296829] > Using /opt/gcc-4.1/32/bin/gdb > Detaching after fork from child process 3567. > [Switching to process 3561, lwp 1296829] > 0x7affe5d4 in _fork_sys () from /usr/lib/libc.2 > ttrace: Protocol error. > > > > gcc -v > Reading specs from > /opt/gcc/gcc-4.1/32/lib/gcc/hppa2.0w-hp-hpux11.11/4.1.1/specs > Target: hppa2.0w-hp-hpux11.11 > Configured with: ../gcc-4.1.1/configure --prefix=/opt/gcc-4.1-32 > --enable-version-specific-runtime-libs --enable-static --enable-shared > --with-gnu-as --with-as=/opt/gcc-4.1-32/bin/as --enable-threads=posix > --disable-nls --enable-languages=c,c++ > Thread model: posix > gcc version 4.1.1 > > > Thanks in advance for help, > thomas > >