From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23638 invoked by alias); 25 Jul 2005 13:39:52 -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 23620 invoked by uid 22791); 25 Jul 2005 13:39:47 -0000 Received: from proof.math.bme.hu (HELO proof.math.bme.hu) (152.66.83.1) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 25 Jul 2005 13:39:47 +0000 Received: from localhost (localhost [127.0.0.1]) by proof.math.bme.hu (Postfix) with ESMTP id A371392863 for ; Mon, 25 Jul 2005 15:39:45 +0200 (CEST) Received: from csusza.math.bme.hu (csusza.math.bme.hu [152.66.83.17]) by proof.math.bme.hu (Postfix) with ESMTP id 660569275 for ; Mon, 25 Jul 2005 15:39:45 +0200 (CEST) Date: Mon, 25 Jul 2005 13:39:00 -0000 From: Buday Gergely To: gdb@sources.redhat.com Subject: Cannot find bounds of current function Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2005-07/txt/msg00230.txt.bz2 Hi, I'm to use remote debugging via gdbserver on my Ubuntu linux box. I've compiled my program with the -g gcc option. Then started $ gdbserver host:10000 a.out >From the same machine I started gdb and told her (gdb) target remote localhost:10000 Remote debugging using localhost:10000 0xb7febc20 in ?? () (gdb) n Cannot find bounds of current function I've googled a bit and found that I should use add-symbol-file at the gdb client. I've used an object file with debug information to load (not sure about this one) but was totally inept to figure out what address should I give as a second argument. Do you have any hint where I can get a proper address from? Or, any advice how should I set up my remote debugging session? - Gergely