linux-mips
[Top] [All Lists]

Re: remote GDB debugging and the __init macro of init.h

To: "Kevin D. Kissell" <kevink@mips.com>
Subject: Re: remote GDB debugging and the __init macro of init.h
From: Jun Sun <jsun@mvista.com>
Date: Mon, 30 Oct 2000 09:53:59 -0800
Cc: Steve Kranz <skranz@ridgerun.com>, linux-mips@oss.sgi.com, linux-mips@fnet.fr
References: <39F99E20.8EE47072@ridgerun.com> <014a01c0402d$b432ada0$0deca8c0@Ulysses>
Sender: owner-linux-mips@oss.sgi.com
"Kevin D. Kissell" wrote:
> 
> What you've done should solve the problem, but note
> that it has the side effect of preventing the text and data
> sections in question from getting freed up at the end
> of initialization.  I probably should have done so myself
> last year when I was struggling with debugging some init
> code using kgdb, but instead I simply got used to finding
> the address in the symbol table and setting the breakpoints
> by hex address instead of by symbol.
> 

Kevin,

A dumb question - how do you set breakpoint at specified address?  I was
trying to do that with "b 0xabcdabcd" or "b @0xabcdabcd", none of them
worked.

Jun

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