From: Eli Zaretskii <eliz@gnu.org>
To: Michael Snyder <Michael.Snyder@palmsource.com>
Cc: misterveeru@gmail.com, gdb@sourceware.org
Subject: Re: GDB source structure
Date: Sat, 02 Sep 2006 15:28:00 -0000 [thread overview]
Message-ID: <uwt8muw37.fsf@gnu.org> (raw)
In-Reply-To: <1157144236.4466.80.camel@localhost.localdomain> (message from Michael Snyder on Fri, 01 Sep 2006 13:57:16 -0700)
> From: Michael Snyder <Michael.Snyder@palmsource.com>
> Cc: gdb@sourceware.org
> Date: Fri, 01 Sep 2006 13:57:16 -0700
>
> > So, is there a method to the file structure?
>
> Well... you be the judge.
>
> It's mostly flat -- only in a few cases have related files been
> dropped into a subdirectory. A file's name should give you some
> hint as to what it does -- stabsread.c reads stabs, dwarfread.c
> reads dwarf etc.
>
> There are a lot of files, because gdb does a lot of things.
>
> There are some clusters. *-thread.c deals with debugging threads
> on various platforms. *read.c (| grep -v thread) deals with
> reading various kinds of symbol and object files. inf*.c deals
> with direct control of the "inferior program" by gdb (jargon for
> the program being debugged.
>
> There are 92 files in the family *-tdep.c. tdep stands for
> target dependant code -- each of these files implements debug
> support for a specific target architecture (sparc, mips, etc).
> Usually only one of these will be used in a specific gdb
> configuration (sometimes two, closely related).
>
> Similarly, there are 56 *-nat.c files, each related to
> debugging on a specific native system (eg. sparc-linux-nat.c).
Thanks, Michael. Inspired by this, I added a new section to
gdbint.texinfo. See my message on gdb-patches.
prev parent reply other threads:[~2006-09-02 15:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ee4c53600609011321k5a7a538fp933250cc13bb58d6@mail.gmail.com>
2006-09-01 20:24 ` Veeru (वीऱू)
2006-09-01 20:26 ` Daniel Jacobowitz
2006-09-01 20:57 ` Michael Snyder
2006-09-02 15:28 ` Eli Zaretskii [this message]
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=uwt8muw37.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=Michael.Snyder@palmsource.com \
--cc=gdb@sourceware.org \
--cc=misterveeru@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