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)


Hello.
Thanks for your reply.


>From: Daniel Jacobowitz <drow@mvista.com>
>To: "?$B$?$J$+ ?$B$_$[" <kamakuran@hotmail.com>
>CC: gdb@sources.redhat.com
>Subject: Re: About the breakpoint for arm-linux(ARM920T)
>Date: Thu, 11 Jul 2002 08:52:53 -0400
>
>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


I did configure as follows...


-- GDB for host ---

1. $ tar zxvf gdb-5.2.tar.gz
2. $ mkdir /home/tanaka/work
3. $ cd /home/tanaka/work
4. $ ./../gdb-5.2/configure --target=arm-linux --host=i586-linux 
--prefix=/tools
5. $ make
6. $ su
7. # make install


-- GDBserver ---

1. $ mkdir /home/tanaka/work_server
2. $ cd /home/tanaka/work_server
3. $ ./../gdb-5.2/gdb/gdbserver/configure arm-linux
4. $ make
5. $ su
6. # make install


I missed doing configure?



_________________________________________________________________
ハイセンスな商品を気軽に購入 MSN ショッピング http://shopping.msn.co.jp/

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