From: Andrew Cagney <cagney@gnu.org>
To: libra <mr924352@cs.nthu.edu.tw>
Cc: gdb@sources.redhat.com
Subject: Re: About bfd in gdb
Date: Thu, 08 Jul 2004 21:52:00 -0000 [thread overview]
Message-ID: <40EDC1FC.8030609@gnu.org> (raw)
In-Reply-To: <1088992739.40e8b5e3cc227@webmail.cs.nthu.edu.tw>
Have a look at include/gdb/remote-sim.h
Andrew
> At first, thanks for your reply.
>
> After survey the gdb source code,i can roughly take the gdb source code into
> two part, one is gdb and the other is sim. (Maybe now, it must add the third
> part that is binutils(bfd and opcodes))
>
> My question is :
> Because the gdb source code is complex, i do not know how these two part(gdb
> and sim) communicate with each other.In other word, which file is the
> interface that can connect these two part.Once i add a new simulator(sim ,ISA)
> into the gdb source code, the gdb can connct to my new sim,and run my program
> on the new sim and debug it. Any documentation can reference
>
>
> My idea is that the gdb is just an interface that connect to the simulator(sim)
> , after doing that i can run my own program and debug it (ex:use arm-elf-gdb
> or just use the simulator arm-elf-run).
>
> thanks a lot!!
>
>
next prev parent reply other threads:[~2004-07-08 21:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-05 1:59 libra
2004-07-08 21:52 ` Andrew Cagney [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-04 13:35 libra
2004-07-04 14:00 ` Ramana Radhakrishnan
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=40EDC1FC.8030609@gnu.org \
--to=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=mr924352@cs.nthu.edu.tw \
/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