From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5385 invoked by alias); 16 Jan 2009 20:13:00 -0000 Received: (qmail 5377 invoked by uid 22791); 16 Jan 2009 20:13:00 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Jan 2009 20:12:24 +0000 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id n0GKCMoI018184 for ; Fri, 16 Jan 2009 12:12:22 -0800 Received: from gxk13 (gxk13.prod.google.com [10.202.11.13]) by zps36.corp.google.com with ESMTP id n0GKCJaB015318 for ; Fri, 16 Jan 2009 12:12:20 -0800 Received: by gxk13 with SMTP id 13so1607962gxk.14 for ; Fri, 16 Jan 2009 12:12:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.140.14 with SMTP id n14mr1172964wfd.201.1232136739506; Fri, 16 Jan 2009 12:12:19 -0800 (PST) In-Reply-To: <966c7c700901161105l7212a096hecd192e7e4e751e1@mail.gmail.com> References: <966c7c700901141637g49f2bafcj6e95c60c80227eba@mail.gmail.com> <8ac60eac0901151805w1953e06do991af229cdccb5a2@mail.gmail.com> <966c7c700901161105l7212a096hecd192e7e4e751e1@mail.gmail.com> Date: Fri, 16 Jan 2009 20:13:00 -0000 Message-ID: <8ac60eac0901161212y46e8107avcb62c48deae23edc@mail.gmail.com> Subject: Re: Program terminated by SIGTRAP in gdb From: Paul Pluzhnikov To: Albert Fu Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2009-01/txt/msg00100.txt.bz2 On Fri, Jan 16, 2009 at 11:05 AM, Albert Fu wrote: >> What does the command below produce: >> nm /lib/libpthread.so.0 | egrep '_version|threads_events' > I typed the command and it produced: > > 0001da70 g __linuxthreads_version > 0001da9c s __pthread_threads_events Did you do that command on host or on target (or are they one and the same)? The target /lib/libpthread.so.0 *must* not be stripped. Cheers, -- Paul Pluzhnikov