From: Chris Gniady <gniady@ecn.purdue.edu>
To: gdb@sources.redhat.com
Subject: gdbserver on ixp1200
Date: Sat, 07 Dec 2002 17:28:00 -0000 [thread overview]
Message-ID: <3DF2A06A.7070603@ecn.purdue.edu> (raw)
In-Reply-To: <1039308677.1853.ezmlm@sources.redhat.com>
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.
Thank you,
Chris
next parent reply other threads:[~2002-12-08 1:28 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 [this message]
2002-12-07 17:33 ` Daniel Jacobowitz
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=3DF2A06A.7070603@ecn.purdue.edu \
--to=gniady@ecn.purdue.edu \
--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