From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13796 invoked by alias); 3 Aug 2011 14:06:25 -0000 Received: (qmail 13785 invoked by uid 22791); 3 Aug 2011 14:06:24 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Aug 2011 14:05:57 +0000 Received: (qmail 4046 invoked from network); 3 Aug 2011 14:05:57 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Aug 2011 14:05:57 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Break at address on darwin Date: Wed, 03 Aug 2011 14:06:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: "Ben L. Titzer" , Jonas Maebe References: <3A370EF2-7FE5-4266-99A9-E58537D4A4B2@elis.ugent.be> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201108031505.53265.pedro@codesourcery.com> 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: 2011-08/txt/msg00014.txt.bz2 On Wednesday 03 August 2011 14:45:11, Ben L. Titzer wrote: > Yes, 0x1000 is where the program loads its first text page, which is > mapped to file offset 0. 0x01114 happens to be the entrypoint > instruction. 0x01148 is the address of the first function it calls, > which you can see from the assembly listing. Okay. I know close to nothing about Darwin. Apple have their own heavilly modified version of gdb, forked from the FSF tree eons ago, so as Tristan said, you need to contact them. Or try current FSF gdb. -- Pedro Alves