This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb-5.3 on mips


On Tue, Jun 03, 2003 at 03:34:14PM +0200, Amit.Lubovsky@infineon.com wrote:
> Hi,
> I need some help in order to guide me where to start...,
> my target is mips running uClinux I have compiled gdb-5.3,
> gdbserver and gdb for the host,
> 
> follows the output when I run gdb on the host, what happens is that
> I can't control the target process like setting  breakpoints 
> getting info and so on.
> 
> any help will be appreciated. 

This looks like a kernel bug on your target to me.

> (gdb) b main
> Sending packet: $m400220,4#f5...Ack
> Packet received: 00000000
> Breakpoint 1 at 0x400220

That's really unlikely.  Main should not start with a nop.  So ptrace
PEEKTEXT isn't working, which suggests that POKETEXT won't either.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]