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: About the breakpoint for arm-linux(ARM920T)


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


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