From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3446 invoked by alias); 10 Jan 2011 20:58:35 -0000 Received: (qmail 3435 invoked by uid 22791); 10 Jan 2011 20:58:34 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Jan 2011 20:58:26 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0AKwNex001546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Jan 2011 15:58:23 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p0AKwNgS011650; Mon, 10 Jan 2011 15:58:23 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p0AKwMYh030073; Mon, 10 Jan 2011 15:58:23 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 7C6AB3782BC; Mon, 10 Jan 2011 13:58:22 -0700 (MST) From: Tom Tromey To: loody Cc: gdb@sourceware.org Subject: Re: some questions about gdb References: Date: Mon, 10 Jan 2011 20:58:00 -0000 In-Reply-To: (loody's message of "Sat, 8 Jan 2011 21:50:37 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-01/txt/msg00030.txt.bz2 >>>>> ">" == loody writes: >> 1. I compile the kernel with -g but I cannot see the disassembly. >> My pc increase 4 when I type 'n' but I cannot see the disassembly. I don't know what is going on here. >> 2. I search gdb and which tell me there is a command, disassemble /m, >> which can mix source and assembly. >> But I use it on my mips platform, it said: >> (gdb) disassemble /m irq_enter >> A syntax error in expression, near `/m'. You probably have too old a version of gdb. >> 3. is any document about how to compile insight6.8.1 with mips gdb 7.2? You can't do this. You have to get a corresponding version of Insight. I don't know whether a new version of Insight has been released. Tom