From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18448 invoked by alias); 30 Jan 2003 13:34:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18441 invoked from network); 30 Jan 2003 13:34:26 -0000 Received: from unknown (HELO himmelsborg.cs.lth.se) (130.235.16.11) by 172.16.49.205 with SMTP; 30 Jan 2003 13:34:26 -0000 Received: from ygg.cs.lth.se (ygg [130.235.16.32]) by himmelsborg.cs.lth.se (8.10.2/8.10.2/perf-jw-tr) with ESMTP id h0UDYPL00451 for ; Thu, 30 Jan 2003 14:34:25 +0100 (CET) Received: from localhost (fransson@localhost) by ygg.cs.lth.se (8.11.6+Sun/8.10.2) with ESMTP id h0UDYOl04776 for ; Thu, 30 Jan 2003 14:34:24 +0100 (CET) X-Authentication-Warning: ygg.cs.lth.se: fransson owned process doing -bs Date: Thu, 30 Jan 2003 13:34:00 -0000 From: Per Fransson X-X-Sender: To: gdb mailing list Subject: solaris multi processor Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-01/txt/msg00515.txt.bz2 Hi, I'm having trouble using the 'call' command on solaris-2.8 (sparc). It just doesn't seem to work att all. I get... "Program received signal SIGSEGV, Segmentation fault. The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (callee) will be abandoned." I'm running this program: ----- #include void main() { while(1){} } void callee() {printf("callee");} ----- When I attach gdb to it, it looks like this: ----- Retry #1: Retry #2: Retry #3: Retry #4: [New LWP 1] 0x00019db4 in main () at testgdb.c:4 4 while(1){} (gdb) ----- What's that all about? I don't know if it's relevant, but it's running on a multiprocessor. Any help would be appreciated. /Per