From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28121 invoked by alias); 17 Oct 2006 20:20:33 -0000 Received: (qmail 28107 invoked by uid 22791); 17 Oct 2006 20:20:32 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 17 Oct 2006 20:20:29 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id 74DF727487; Tue, 17 Oct 2006 13:20:28 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29660-07-27; Tue, 17 Oct 2006 13:20:27 -0700 (PDT) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id 82DF427480; Tue, 17 Oct 2006 13:20:27 -0700 (PDT) Received: from 192.168.92.75 ([192.168.92.75]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Tue, 17 Oct 2006 20:20:28 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 17 Oct 2006 13:20:25 -0700 Subject: Re: "cannot find bounds of current function" From: Michael Snyder To: Turny =?ISO-8859-1?Q?D=E1vid?= Cc: Daniel Jacobowitz , gdb@sourceware.org In-Reply-To: <20061017205007.199nqbqk0so0o48w@www.stud.u-szeged.hu> References: <20061017205007.199nqbqk0so0o48w@www.stud.u-szeged.hu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Oct 2006 20:20:00 -0000 Message-Id: <1161116425.14535.385.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 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-10/txt/msg00129.txt.bz2 On Tue, 2006-10-17 at 20:50 +0200, Turny D=C3=A1vid wrote: > Hi, >=20 > Sorry, I see just now when I execute the continue or step or next=20=20 > command then the openOCD deamon write an error message: >=20 > error: arm7_9_common.c:1771 arm7_9_read_memory():memory read caused data = abort >=20 > What is this? :) I dont understand.=20 Personally, I'm not familiar with openOCD. One thing you might do at this point would be, before you=20 tell gdb to "continue", tell it "set debug remote 1". This will turn on "remote protocol debugging", so gdb will echo all traffic between the debugger and the target to the console. You can then see exactly what was the last thing that happened before you got the above error. You should consult the gdb doc to understand the remote protocol,=20 but here's a quick hint: messages that begin with "M" are memory writes, and messages that begin with "m" are memory reads. You are looking for a memory read (apparently). The hexadecimal address of the memory access will be the first number following the "M" or=20 "m".