From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31651 invoked by alias); 1 Sep 2006 14:27:00 -0000 Received: (qmail 31643 invoked by uid 22791); 1 Sep 2006 14:26:59 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Sep 2006 14:26:56 +0000 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-02.spheriq.net with ESMTP id k81EQrOT029933 for ; Fri, 1 Sep 2006 14:26:53 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-02.spheriq.net with ESMTP id k81EQqtU001052 for ; Fri, 1 Sep 2006 14:26:53 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id k81EQmPW005258 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 1 Sep 2006 14:26:51 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A8BDDDA4D; Fri, 1 Sep 2006 14:26:46 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 46CD94749B; Fri, 1 Sep 2006 14:26:46 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CHZ33935 (AUTH stubbsa); Fri, 1 Sep 2006 15:26:45 +0100 (BST) Message-ID: <44F84325.3040703@st.com> Date: Fri, 01 Sep 2006 14:27:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Cai Qian , gdb@sourceware.org Subject: Re: gdbserver with X86_64 References: <20060901125144.GA7378@nevyn.them.org> <20060901141316.GA9865@nevyn.them.org> In-Reply-To: <20060901141316.GA9865@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-09/txt/msg00013.txt.bz2 Daniel Jacobowitz wrote: > On Fri, Sep 01, 2006 at 02:31:50PM +0100, Cai Qian wrote: >> Oh, I see. Just realised >> >> set architecture i386:x86-64 >> >> also work for me. However, it seems there is a problem with single step, >> >> (gdb) s >> Cannot find bounds of current function > > This is the standard error when you aren't somewhere with source > debugging information; if you have a symbol file loaded, and are > stopped in it (instead of in the startup code) it should go away. Perhaps the message ought to be improved. I doubt this is the first time a user has not understood it. There are probably other examples of 'I can't do that' with only a cryptic internal reason given. It might be enough to change it to "Not enough information to step a source line (cannot find bounds of current function)." Otherwise, GDB should either try to find out why there were no function bounds (e.g "You can't do this without a program loaded"), or else it should add an extra message "This usually means there is no debug info for this part of the program." Just a thought. Andrew