From: Sergio Durigan Junior <sergiodj@redhat.com>
To: mak visp <mak.visp@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: GDB on development board!
Date: Mon, 16 Jan 2012 22:19:00 -0000 [thread overview]
Message-ID: <m3ipkbcmuf.fsf@redhat.com> (raw)
In-Reply-To: <CAKPaLSoDsXtoLfMJXyrqt=ZvnXRVb9zTN-8qkBv1FYESUz=U0A@mail.gmail.com> (mak visp's message of "Mon, 16 Jan 2012 19:15:56 +0530")
On Monday, January 16 2012, mak visp wrote:
> I am new to the GDB stuff. I am using my ARM based custom board in
> that I wanted to debug my code on ARM. Can I do it without JTAG only
> with GDB connected over serial port? Also is it possible to do it
> without any OS running on board (I am in starting phase, so no OS
> yet)? I read the user manual, but could not make out. Any pointer to
> the material is a great help.
Hello,
For other ways of using GDB remotely (without JTAG), have you considered
gdbserver yet? Take a look at:
http://sourceware.org/gdb/current/onlinedocs/gdb/Remote-Debugging.html#Remote-Debugging
and
http://sourceware.org/gdb/current/onlinedocs/gdb/Server.html#Server
As for the question regarding running GDB on a system without OS, others
can correct me if I'm wrong but I don't think it's possible because GDB
uses many OS-specific features (such as ptrace, and glibc functions).
Regards,
Sergio.
next prev parent reply other threads:[~2012-01-16 22:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 13:46 mak visp
2012-01-16 22:19 ` Sergio Durigan Junior [this message]
2012-01-17 12:02 ` Jeremy Bennett
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=m3ipkbcmuf.fsf@redhat.com \
--to=sergiodj@redhat.com \
--cc=gdb@sourceware.org \
--cc=mak.visp@gmail.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