From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6828 invoked by alias); 5 Apr 2006 09:04:35 -0000 Received: (qmail 6819 invoked by uid 22791); 5 Apr 2006 09:04:35 -0000 X-Spam-Check-By: sourceware.org Received: from mail-in-07.arcor-online.net (HELO mail-in-07.arcor-online.net) (151.189.21.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Apr 2006 09:04:34 +0000 Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id 8D0F9130115 for ; Wed, 5 Apr 2006 11:04:31 +0200 (CEST) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id 3B092496B8 for ; Wed, 5 Apr 2006 11:04:31 +0200 (CEST) Received: from alatau.radix50.net (dslb-088-064-000-210.pools.arcor-ip.net [88.64.0.210]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id D445E25DD0D for ; Wed, 5 Apr 2006 11:04:30 +0200 (CEST) Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.6/8.13.6/Debian-1) with ESMTP id k3594MMo014321 for ; Wed, 5 Apr 2006 11:04:22 +0200 Received: (from ibr@localhost) by alatau.radix50.net (8.13.6/8.13.6/Submit) id k3594L1t014320 for gdb@sources.redhat.com; Wed, 5 Apr 2006 11:04:21 +0200 Date: Wed, 05 Apr 2006 09:04:00 -0000 From: Baurzhan Ismagulov To: gdb@sources.redhat.com Subject: show register assignment Message-ID: <20060405090421.GA12506@radix50.net> Mail-Followup-To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00033.txt.bz2 Hello, I'm using the GNU toolchain to create binaries for the ARM architecture (I build with -g -O2, debug info is presumably dwarf2). With "objdump -S file.o", I'm able to see which source lines generate which code. The Lauterbach debugger is also able to show which variable a register is holding, like this: "msr cpsr_c, r4 ; cpsr_c, flags". Is there a way to see this with gdb or objdump? Thanks in advance, Baurzhan.