From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 25 02:10:37 2006 Return-Path: X-Original-To: ppc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 078C116A4DF; Fri, 25 Aug 2006 02:10:37 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07C043D46; Fri, 25 Aug 2006 02:10:36 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.150] (pptp0.pn.xcllnt.net [192.168.4.150]) by ns1.xcllnt.net (8.13.6/8.13.6) with ESMTP id k7P2Aavd081411; Thu, 24 Aug 2006 19:10:36 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <44EE49A2.1050809@freebsd.org> References: <44ED2448.7030503@freebsd.org> <46D747A2-7126-450A-83E4-DA7367706F18@xcllnt.net> <44EE45EC.3040403@freebsd.org> <44EE49A2.1050809@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <356BD079-D1A6-41E9-ADAB-371A096EB82E@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Thu, 24 Aug 2006 19:10:03 -0700 To: Peter Grehan X-Mailer: Apple Mail (2.752.2) Cc: ppc@freebsd.org Subject: Re: gdb(1) in the tree X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 02:10:37 -0000 On Aug 24, 2006, at 5:51 PM, Peter Grehan wrote: > Oops, previous one was wrong non-compilable version :( Alas, no fix: imac% gdb sig GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-marcel-freebsd"... (gdb) b main Breakpoint 1 at 0x18015bc: file sig.c, line 20. (gdb) run Starting program: /nfs/home/marcel/sig Program exited normally. (gdb) Adding a second breakpoint does the trick: (gdb) b breakpoint Breakpoint 2 at 0x180155c: file sig.c, line 6. (gdb) run Starting program: /nfs/home/marcel/sig Breakpoint 1, main () at sig.c:20 20 sa.sa_sigaction = handler; (gdb) However, the second breakpoint is not hit then: (gdb) c Continuing. Program exited normally. (gdb) FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net