From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25884 invoked by alias); 29 Aug 2008 16:30:57 -0000 Received: (qmail 25869 invoked by uid 22791); 29 Aug 2008 16:30:55 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.netapp.com (HELO mx2.netapp.com) (216.240.18.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Aug 2008 16:30:21 +0000 X-IronPort-AV: E=Sophos;i="4.32,293,1217833200"; d="scan'208";a="41899203" Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 29 Aug 2008 09:30:19 -0700 Received: from dixit-lxp.nane.netapp.com ([10.97.17.120]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id m7TGU1Gr024438 for ; Fri, 29 Aug 2008 09:30:16 -0700 (PDT) Message-ID: <48B82409.7050202@netapp.com> Date: Sat, 30 Aug 2008 00:15:00 -0000 From: "Dixit, Amol" User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: gdb@sourceware.org Subject: breakpoint in gdbserver Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2008-08/txt/msg00288.txt.bz2 Hi, I am attempting to port gdbserver for freebsd (libpthread/libthr). While I may have complex doubts later, I will start with a simple one. I need to look at some gdbserver code path on Linux, and while I can set breakpoints and these functions are entered, gdb doesn't break at all. Gdbserver is compiled w/ symbols and I am using gdb6.8 to debug it. Any idea what I am missing here? (gdb) i b Num Type Disp Enb Address What 1 breakpoint keep y 0x0804f214 in main at ../server.c:1230 breakpoint already hit 1 time 2 breakpoint keep y 0x0804d560 in start_inferior at ../server.c:91 3 breakpoint keep y 0x0804b460 in add_thread at ../inferiors.c:101 I can hit 1, but not 2 & 3 for example. Thanks, Amol