From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20854 invoked by alias); 29 Jan 2003 09:50:46 -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 20847 invoked from network); 29 Jan 2003 09:50:45 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by 172.16.49.205 with SMTP; 29 Jan 2003 09:50:45 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 49156145E8; Wed, 29 Jan 2003 10:50:44 +0100 (MET) To: Romain Guilleret Cc: gdb@sources.redhat.com Subject: Re: debugging assembler instructions X-Yow: Our father who art in heaven.. I sincerely pray that SOMEBODY at this table will PAY for my SHREDDED WHAT and ENGLISH MUFFIN.. and also leave a GENEROUS TIP... From: Andreas Schwab Date: Wed, 29 Jan 2003 09:50:00 -0000 In-Reply-To: <20030129081028.GB1976@buffy.herge.org> (Romain Guilleret's message of "Wed, 29 Jan 2003 09:10:28 +0100") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (ia64-suse-linux) References: <20030129081028.GB1976@buffy.herge.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-01/txt/msg00480.txt.bz2 Romain Guilleret writes: |> Hi, |> |> I've written assembler code using __asm__. The code does not work as |> expected and I would like to debug it. |> |> Is it possible to do so using GDB ? Ideally, I would like gdb to stop |> after every assembler instruction so that I can inspect memory or |> registers to find what's wrong. |> |> Is it possible to do so using GDB ? What's wrong with stepi? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."