From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19440 invoked by alias); 5 Jun 2007 18:01:43 -0000 Received: (qmail 19430 invoked by uid 22791); 5 Jun 2007 18:01:41 -0000 X-Spam-Check-By: sourceware.org Received: from mx3.palmsource.com (HELO mx3.palmsource.com) (12.7.175.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Jun 2007 18:01:40 +0000 Received: from ussunex02.svl.access-company.com ([192.168.101.10]) by mx3.palmsource.com (8.13.7/8.13.7) with ESMTP id l55I1a6D032238; Tue, 5 Jun 2007 11:01:36 -0700 Received: from 192.168.92.108 ([192.168.92.108]) by ussunex02.svl.access-company.com ([192.168.101.10]) via Exchange Front-End Server owa.access-company.com ([10.0.20.19]) with Microsoft Exchange Server HTTP-DAV ; Tue, 5 Jun 2007 18:01:35 +0000 Received: from svmsnyderlnx by owa.access-company.com; 05 Jun 2007 11:01:37 -0700 Subject: Re: technical question on GDB for MacOS From: Michael Snyder To: Jeff Roberts Cc: gdb@sourceware.org In-Reply-To: <307270C9C6214C9A883DE333F909D302@office.radgametools.com> References: <20070604105526.GA27250@caradoc.them.org> <307270C9C6214C9A883DE333F909D302@office.radgametools.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 05 Jun 2007 18:01:00 -0000 Message-Id: <1181066496.27951.2.camel@svmsnyderlnx.palmsource.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.5502:2.3.11,1.2.37,4.0.164 definitions=2007-06-05_07:2007-06-04,2007-06-05,2007-06-05 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=3.1.0-0705030000 definitions=main-0706050045 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/msg00048.txt.bz2 On Mon, 2007-06-04 at 14:42 -0700, Jeff Roberts wrote: > > Right. You can use "display/i $pc" and "x/i " to show the > > assembly anyway. > > Perfect, thank you! Yes, the problem is that "disassemble" wants to do a whole function -- so it has to find symbols for the beginning and end of the function. Self generated code doesn't have any symbols. The examine /i command can take a start address and a repeat count (number of instructions), eg "x/100i 0x1000"