From: Doug Abbott <doug@intellimetrix.us>
To: gdb@sourceware.org
Subject: Re: Remote debugging with gdbserver on ARM
Date: Thu, 15 Feb 2007 00:43:00 -0000 [thread overview]
Message-ID: <45D38312.5030907@intellimetrix.us> (raw)
Hi,
What version of GDB are you using? I had similar problems with version
6.3 and found hints on this list about changes to the handling of the
breakpoint trap in the ARM port that caused problems. I changed to 6.4
and the problems went away.
Doug
==============================================
Pelle Svensson wrote:
Hi,
I need some help!!!
I tried for a copule of days to get something out of a remote debugging.
I'm using eclipse/gdb
on i386 targeting ARM using gdbserver.
Setup
====
Starting the ARM target as:
gdbserver linuxhost:1027 application.
Issue launch debug session on eclipse with:
TCP/IP connection on port 1027
shared library path: (i386host)//home/dev/nfs/targetfs/lib, (target path
is /lib)
Load shared library symbols automatically is active
Stop on shared library events is active
Stop st main() on startup is active
issued set solib-absolute-prefix /dev/null
issued set unwindonsignal on
breakpoint set at main()
breakpoint set at other_function()
Messages at startup
=============
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Cannot access memory at address 0x0
Ignoring packet error, continuing...
Stopped due to shared library event
[Switching to Thread 16384]
Problems!!
=======
On launch I end up at the breakpoint on main()
o>int main(int argc,char **argv, char ** env)
> {
>
> #ifdef _DEBUG
> if (getenv("BOX2_NOOUTPUT") != NULL) _do_output = 0;
> if (getenv("BOX2_DISPLAY") != NULL) _ggi_open_name = "box2";
> #endif /* _DEBUG */
I can singel step once to 'if (getenv...' but next step is lost and a
message says:
Cannot access memory at address 0x0
If I hit resume the program seems to be running but the program is stuck
somewhere which it is not doing without the debugger attached.
Any ideas...
_________________________________________________________________
Motionera roligare med MSN Hälsa http://e-health.msn.se/
next reply other threads:[~2007-02-14 21:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 0:43 Doug Abbott [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-02-15 18:26 Pelle Svensson
2007-02-14 15:34 Pelle Svensson
2007-02-15 20:29 ` Daniel Jacobowitz
2007-02-16 12:55 ` Pelle Svensson
2007-02-16 16:02 ` Daniel Jacobowitz
2007-02-16 16:06 ` Pelle Svensson
2007-02-16 16:50 ` Daniel Jacobowitz
2007-02-17 2:46 ` Pelle Svensson
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=45D38312.5030907@intellimetrix.us \
--to=doug@intellimetrix.us \
--cc=gdb@sourceware.org \
/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