From: Daniel Jacobowitz <drow@mvista.com>
To: Chris Gniady <gniady@ecn.purdue.edu>
Cc: gdb@sources.redhat.com
Subject: Re: gdbserver on ixp1200
Date: Sat, 07 Dec 2002 17:33:00 -0000 [thread overview]
Message-ID: <20021208013416.GA9337@nevyn.them.org> (raw)
In-Reply-To: <3DF2A06A.7070603@ecn.purdue.edu>
On Sat, Dec 07, 2002 at 08:29:14PM -0500, Chris Gniady wrote:
> Hello,
> I have searched all over the web and did not find a clear answer. I am
> trying to run gdbserver on ixp1200. It is SA1100 with linux 2.3.99. I
> have compiled the gdb 5.2.1 and gdbserver from this distribution. Here
> is what happens:
> 1) FOR GDB configured as "--host=i686-pc-linux-gnu --target=arm-linux"
> I when i execute a breakpoint the instruction is simply skipped. My
> code is
>
> while(1);
> prinf("done\n");
>
> When I set breakpoint at while(1) the printf gets executed. so it is skipped
> I am also not able to single step.
>
> 2) FOR GDB configured as "--host=i686-pc-linux-gnu --target=arm-elf"
> I am able to single step but when I set a breakpoint I get on host:
>
> > Program received signal SIGILL, Illegal instruction.
> > 0x02001590 in main (argc=1, argv=0xbffffdc4) at tmmain.c:82
> > 82 while(1)
>
> AND on remote:
> > Treadmartm (280): undefined instruction: pc=02001590
>
> Can anyone help me with correct configuration or patches, to handle
> breakpoints in this configuration.
Don't configure for arm-elf, that won't work.
I need more information on the problem with arm-linux. Would you post
these things:
- output of a gdb session with 'set debug remote 1'
- output of a gdb session with 'set debug target 1'
- output of arm-linux-objdump -d a.out
I do use an arm-linux configured GDB and I haven't had these kinds of
problems with it...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-08 1:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1039308677.1853.ezmlm@sources.redhat.com>
2002-12-07 17:28 ` Chris Gniady
2002-12-07 17:33 ` Daniel Jacobowitz [this message]
2002-12-07 20:18 ` Daniel Jacobowitz
[not found] ` <3DF32223.3090306@ecn.purdue.edu>
2002-12-08 2:47 ` Chris Gniady
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=20021208013416.GA9337@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=gniady@ecn.purdue.edu \
/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