From: "TANAKA MIHO" <kamakuran@hotmail.com>
To: drow@mvista.com
Cc: gdb@sources.redhat.com
Subject: Re: About the breakpoint for arm-linux(ARM920T)
Date: Thu, 11 Jul 2002 17:57:00 -0000 [thread overview]
Message-ID: <F38U2RJPFQkIzmA11Eh0000e779@hotmail.com> (raw)
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/
next reply other threads:[~2002-07-12 0:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-11 17:57 TANAKA MIHO [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-12 19:38 Tanaka Miho
2002-07-10 22:13 たなか みほ
2002-07-11 5:53 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F38U2RJPFQkIzmA11Eh0000e779@hotmail.com \
--to=kamakuran@hotmail.com \
--cc=drow@mvista.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox