From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30255 invoked by alias); 5 Jun 2007 18:15:42 -0000 Received: (qmail 30247 invoked by uid 22791); 5 Jun 2007 18:15:42 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Jun 2007 18:15:38 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3056621612; Tue, 5 Jun 2007 20:15:32 +0200 (CEST) From: Andreas Schwab To: Michael Snyder Cc: Jeff Roberts , gdb@sourceware.org Subject: Re: technical question on GDB for MacOS References: <20070604105526.GA27250@caradoc.them.org> <307270C9C6214C9A883DE333F909D302@office.radgametools.com> <1181066496.27951.2.camel@svmsnyderlnx.palmsource.com> X-Yow: I was born in a Hostess Cupcake factory before the sexual revolution! Date: Tue, 05 Jun 2007 18:15:00 -0000 In-Reply-To: <1181066496.27951.2.camel@svmsnyderlnx.palmsource.com> (Michael Snyder's message of "Tue\, 05 Jun 2007 11\:01\:36 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00049.txt.bz2 Michael Snyder writes: > 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. disassemble also takes two arguments, using those as the bounds. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."