From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24659 invoked by alias); 4 Jun 2007 03:24:10 -0000 Received: (qmail 24645 invoked by uid 22791); 4 Jun 2007 03:24:09 -0000 X-Spam-Check-By: sourceware.org Received: from mail.radgametools.com (HELO mail.radgametools.com) (216.254.19.237) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Jun 2007 03:24:07 +0000 Received: from jeffrmain ([127.0.0.1]) by mail.radgametools.com ([127.0.0.1] running VPOP3) with ESMTP for ; Sun, 3 Jun 2007 20:21:31 -0700 Message-ID: From: "Jeff Roberts" To: Subject: technical question on GDB for MacOS Date: Mon, 04 Jun 2007 03:24:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.3790.3959 X-Server: VPOP3 Enterprise V2.5.0 - Registered 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: 2007-06/txt/msg00027.txt.bz2 I'm using GDB on MacOS and we do a lot of dynamically generated code in our products. This is all done safely on various platforms with valloc and mprotect, and everything runs fine. However, when I want to debug, I can't convince GDB to display the disassembly for my generated code. It silently steps and nexts just fine, but it never shows me my asm. I can't even use the disass command, because it tells me that there is not any functions at that address. Is there a way to convince it to show this? ->Jeff RAD Game Tools