linux-mips
[Top] [All Lists]

Re: Debugging the MIPS processor using GDB

To: jfraser@broadcom.com
Subject: Re: Debugging the MIPS processor using GDB
From: Brian Foster <brian.foster@innova-card.com>
Date: Wed, 13 Aug 2008 17:12:34 +0200
Cc: linux-mips@linux-mips.org, "Maciej W. Rozycki" <macro@linux-mips.org>, TriKri <kristoferkrus@hotmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:sender; bh=eXZSNNYkoMD9Hd5tzeJTtQzVia1VjeLal8Fi31EjVIE=; b=pK0qPf0wF5inUvCQOwD3qEBtJo9ZLMdM36iLCdVYm/SXcKGD5PKFh1ssT/kwUAKnIG SQpu7FDdKuYt1M0pVY3xmE4YqqpDtujRIzGoR63a+cyKPNShzj4VNDVkaDYK/XkkBbJB q0hMXwo7xmYp9owh3yex0OTs75e8IZLrJMRwU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:sender; b=frYir0hMM7cxQrbwX7S30jDr6Cnxi+IhP90kY4GMDeD34ntrCgreQKlTOv2l/DUYqv vmeVUsgeg11sTGGdobySZzQUZ9iHjYFjQq2q5DTzLM6xvfwVaRRx/MHaKGkCVjwcJbbg FM3xr4OWNfma7Rm1AbNO29AWJ8TMBisX+CpsQ=
In-reply-to: <1218638494.21039.6.camel@chaos.ne.broadcom.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <18944199.post@talk.nabble.com> <200808130905.53671.brian.foster@innova-card.com> <1218638494.21039.6.camel@chaos.ne.broadcom.com>
Reply-to: Brian Foster <brian.foster@innova-card.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
On Wednesday 13 August 2008 16:41:34 Jon Fraser wrote:
> I use the FS2 probe with sde-gdb on a nearly daily basis.
> Are you compiling your kernel with -g -O1 ?

Jon,

  ‘-g’, yes.  ‘-O1’?  Not sure, I will have to check when
 I get a chance.  (But I don't see how either would have
 the effect on breakpoints I'm suffering from?)

> You can also try 'hbreak' instead of 'break' in sde-gdb.

  I'll have to (re-)try that when I get a chance.  I did
 try it once, and have (very! vague!!) memories of some
 issue, but now cannot recall anything useful.  ;-\ 

cheers!
        -blf-

-- 
“How many surrealists does it take to   | Brian Foster
 change a lightbulb? Three. One calms   | somewhere in south of France
 the warthog, and two fill the bathtub  |   Stop E$$o (ExxonMobil)!
 with brightly-coloured machine tools.” |      http://www.stopesso.com

<Prev in Thread] Current Thread [Next in Thread>