From: Bob Rossi <bob@brasko.net>
To: "Manoj Verma, Noida" <manojv@noida.hcltech.com>
Cc: gdb@sources.redhat.com
Subject: Re: Interface to GDB
Date: Sat, 06 Sep 2003 14:11:00 -0000 [thread overview]
Message-ID: <20030906141156.GA10287@white> (raw)
In-Reply-To: <E04CF3F88ACBD5119EFE00508BBB21210BD0CD54@exch-01.noida.hcltech.com>
On Sat, Sep 06, 2003 at 07:27:11PM +0530, Manoj Verma, Noida wrote:
> Hi,
> I have an IDE running on windows to which I want to attach the GDB debugger
> support.
>
> I have configured the GDB server for the target "arm-linux".
> The GDB host is configured on MinGW-Msys environment on windows.
> The communication protocol used here is TCP/IP.
>
> The UI designing part is done, now I want to use GDB as the debugger in the
> back end.
>
> My concern is how do I interface my IDE program with the GDB?
> Does GDB makes any standard interfaces available to the external world?
>
> Thanks & Regards,
> Manoj
>
Every popular front to GDB, that I know of, is a big hack. They
literally parse the output of the regular gdb commands. Some of them go
as far as to use annotations.
http://www.gnu.org/manual/gdb/html_chapter/gdb_21.html#SEC203
This was originally designed to allow Emacs to act as a front end to
GDB. Annotations is not the way to go. However, if your front end doesn't
use annotations, it probably will not support old GDB versions.
However, there is light. Some people working on GDB already designed a
new interface to GDB. Its called the machine interface.
http://www.gnu.org/manual/gdb/html_chapter/gdb_22.html#SEC216
This is a much better way to go. However, since its new, there may still
be bugs, and it will only work with newer GDB's.
Good Luck,
You will need it.
Bob Rossi
next prev parent reply other threads:[~2003-09-06 14:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-06 13:58 Manoj Verma, Noida
2003-09-06 14:11 ` Bob Rossi [this message]
2003-09-07 10:23 Manoj Verma, Noida
2003-09-08 19:47 ` Jim Blandy
2003-09-08 19:58 ` Elena Zannoni
2003-09-08 20:07 ` Andrew Cagney
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=20030906141156.GA10287@white \
--to=bob@brasko.net \
--cc=gdb@sources.redhat.com \
--cc=manojv@noida.hcltech.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