This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: About the breakpoint for arm-linux(ARM920T)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "?$B$?$J$+ ?$B$_$[" <kamakuran at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 11 Jul 2002 08:52:53 -0400
- Subject: Re: About the breakpoint for arm-linux(ARM920T)
- References: <F223Xaz5Fi071cgx6js0000d729@hotmail.com>
On Thu, Jul 11, 2002 at 02:13:35PM +0900, ?$B$?$J$+ ?$B$_$[ wrote:
>
> Hi all,
>
> I'am trying to remote debugging with gdbserver.
> Target is arm-linux for ARM920T.
>
> Using environment is the following.
>
> +------------------+ +--------------------+
> | HostPC | TCP/IP | target board |
> | (i386 RedHat7.2) |------------------- | (ARM920T arm-linux)|
> | gdb | | gdbserver |
> +------------------+ +--------------------+
>
> For remote debugging, I tried to compile gdb and gdbserver(gdb-5.2)
> following the README and it was success.
> Then I started to remote debugging .
> The gdbserver attached debugging program and stopped at first instruction
> of debugging program.
>
> But when I set a breakpoint and executed the debugging program, SIGILL
> occurred in the address where I set a breakpoint.
> So checked the instruction in that address.
> There are "0xe7 0xff 0xde 0xfe".
>
> The instruction "0xe7 0xff 0xde 0xfe" are the breakpoint instruction for
> arm-linux?
No, that's the breakpoint instruction for arm-elf, which is different.
How did you configure GDB?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer