From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8430 invoked by alias); 31 Aug 2012 04:37:46 -0000 Received: (qmail 8250 invoked by uid 22791); 31 Aug 2012 04:37:44 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_IB X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 31 Aug 2012 04:37:31 +0000 Received: by iagk10 with SMTP id k10so5028919iag.0 for ; Thu, 30 Aug 2012 21:37:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=NhNzQnXBBpEH4tMZuIGkrl7UD+Rq+M8Ih6TITzx8yrc=; b=GAvvy5c45mG6oNeU0nIzpGWrsOCasmuYx6CGMWAfY87wcFTHQNqFjlWFL2HivcyvnK Em9lWZ9jzzKpN1ggmqyYTPjaOiy2INxG/7cMz0/7riUgad3frJ0Dl/hP3A8pbCkd0grd 6iy2osIqlMsL3/RBVT2PI9QcXjWDcd7lcWCL7cRu7WJZ1P9ESxzgrzSAD9zlFRwvtJoO 7EO5XbFa3ZRnNtAoPH5K2x4ZFDZJPHz8utPl5XTnVW3GAUIETYozpUHB+RMFab6Znelj 34bG2XJhoqbVUzbVXeQVqYr25nGsOThqKQb6dqt0k4VLPos+yBanbPIhob79zVuFdgJj 4iRA== MIME-Version: 1.0 Received: by 10.50.209.99 with SMTP id ml3mr864642igc.31.1346387850844; Thu, 30 Aug 2012 21:37:30 -0700 (PDT) Received: by 10.64.49.6 with HTTP; Thu, 30 Aug 2012 21:37:30 -0700 (PDT) Date: Fri, 31 Aug 2012 04:37:00 -0000 Message-ID: Subject: GDB 7.5 on OS X 10.7 From: Kaushik Srenevasan To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk34A3bUSnYkQmnXfTNAD4Vmt5213Hftb4ouNk4EsyZC0N9WLl0eXEL8i44pjdyJH8XHFGh 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: 2012-08/txt/msg00100.txt.bz2 Is GDB (7.5) known to work on OS X 10.7? I compiled it from GIT with all defaults except the prefix but don't seem to be able to get even the basic commands (bt, break) to work. file ~/src/jdk7/build/macosx-x86_64-debug/bin/java set args -classpath ~/src/tmp helloworld catch load libjvm Catchpoint 1 Inferior loaded /Users/ks/src/jdk7/build/macosx-x86_64-debug/lib/server/libjvm.dylib 0x00007fff5fc0b269 in ?? () (gdb) bt #0 0x00007fff5fc0b269 in ?? () #1 0x00007fff5fc0b24d in ?? () #2 0x00000001000d1a50 in ?? () #3 0x00007fff5fc3b560 in ?? () #4 0x00000001000d1f20 in ?? () #5 0x00007fff5fc0540e in ?? () #6 0x0000000101800000 in ?? () #7 0x0000000100200300 in ?? () #8 0x0000000050403138 in ?? () #9 0x00007fff5fc052ea in ?? () #10 0x0000000100200260 in ?? () #11 0x00000001000d1ae8 in ?? () #12 0x0000000000000000 in ?? () (gdb) break LRG::set_mask Cannot access memory at address 0x141be0 It looks like break was able to find the symbol's address. The address however looks suspect to me. The target (if that matters) is a debug build of the OpenJDK. --- Kaushik