From: Daniel Jacobowitz <drow@false.org>
To: Rob Quill <rob.quill@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Adding files to GDB
Date: Fri, 01 Sep 2006 18:15:00 -0000 [thread overview]
Message-ID: <20060901181459.GA17930@nevyn.them.org> (raw)
In-Reply-To: <baf6008d0609011029n2a0a8e99kcffde9dd4d8276f4@mail.gmail.com>
On Fri, Sep 01, 2006 at 06:29:55PM +0100, Rob Quill wrote:
> Hi,
>
> I am wondering how to do the following:
>
> Say I wish to add a command to gdb, and then have the code carried out
> using this command in a new files or files, I should be able to figure
> out how to add a command using GDB Internals and looking through the
> code, but I have no real idea of how to add the files so they compile
> and are used.
>
> I quick look in the Autotools book mentions a makefile.am, but I can't
> fine one of these, and all of this is very new to me.
>
> Thanks for your time and help.
The best way to do anything in a new software project is to find
another example of it already done :-) Pick a file, say arch-utils.c /
arch-utils.c, and search for references to it. You'll find lots of
them in Makefile.in.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-09-01 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 17:30 Rob Quill
2006-09-01 18:15 ` Daniel Jacobowitz [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=20060901181459.GA17930@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=rob.quill@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