From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22107 invoked by alias); 3 Aug 2011 09:00:05 -0000 Received: (qmail 22088 invoked by uid 22791); 3 Aug 2011 09:00:03 -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 08:59:42 +0000 Received: (qmail 404 invoked from network); 3 Aug 2011 08:59:41 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Aug 2011 08:59:41 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Break at address on darwin Date: Wed, 03 Aug 2011 09:00: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: <5456BE39-F808-4255-B327-334CBC46B068@elis.ugent.be> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108030959.38208.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/msg00010.txt.bz2 On Tuesday 02 August 2011 22:51:22, Ben L. Titzer wrote: > (gdb) disass 0x1114 0x1140 > Dump of assembler code from 0x1114 to 0x1140: > 0x00001114: mov (%esp),%ebx > 0x00001117: mov $0x0,%eax ... > (gdb) break *0x1148 > Breakpoint 2 at 0x1148 > Num Type Disp Enb Address What > 1 breakpoint keep y 0x00001114 > 2 breakpoint keep y 0x00001148 Does the program really load at those addresses? They look suspiciously low. -- Pedro Alves