From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9111 invoked by alias); 30 Jul 2004 07:31:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9095 invoked from network); 30 Jul 2004 07:31:22 -0000 Received: from unknown (HELO ata.cs.hacettepe.edu.tr) (193.140.236.6) by sourceware.org with SMTP; 30 Jul 2004 07:31:22 -0000 Received: from ata.cs.hacettepe.edu.tr (ata.cs.hacettepe.edu.tr [127.0.0.1]) by ata.cs.hacettepe.edu.tr (8.12.8/8.11.6) with ESMTP id i6U7VJno004483 for ; Fri, 30 Jul 2004 10:31:19 +0300 Received: (from ibr@localhost) by ata.cs.hacettepe.edu.tr (8.12.8/8.12.8/Submit) id i6U7VIAe004482 for gdb@sources.redhat.com; Fri, 30 Jul 2004 10:31:18 +0300 Date: Fri, 30 Jul 2004 08:23:00 -0000 From: Baurjan Ismagulov To: gdb@sources.redhat.com Subject: Re: breaking at for-loop test line Message-ID: <20040730073116.GA4446@ata.cs.hacettepe.edu.tr> Mail-Followup-To: gdb@sources.redhat.com References: <4108321A.6070306@eecs.berkeley.edu> <20040729152940.GA7326@nevyn.them.org> <20040729185840.A6412132DF@grayscale.canids> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040729185840.A6412132DF@grayscale.canids> User-Agent: Mutt/1.5.4i X-SW-Source: 2004-07/txt/msg00367.txt.bz2 Hello Felix, On Thu, Jul 29, 2004 at 11:58:40AM -0700, Felix Lee wrote: > how about just that. something like "asm 30" that will print all > the machine instructions that correspond to line 30 of the > source. Do you mean something like the following? (gdb) info line 223 Line 223 of "main.c" starts at address 0x804e384 and ends at 0x804e3a0 . (gdb) disas 0x804e384 0x804e3a0 With kind regards, Baurjan.