Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tea <teawater@gmail.com>
To: drow@false.org, "Thiago Jung Bauermann" <bauerman@br.ibm.com>,
	 	Tea <teawater@gmail.com>,
	"Michael Snyder" <msnyder@specifix.com>,
	 	gdb-patches@sourceware.org
Subject: Re: GDB record patch 0.1.3.1 for GDB-6.8 release
Date: Tue, 20 May 2008 15:32:00 -0000	[thread overview]
Message-ID: <daef60380805192055x257c4ed7s64a3a258fa71e51e@mail.gmail.com> (raw)
In-Reply-To: <20080519212903.GA869@caradoc.them.org>

Agree with Daniel.
I think current way is better than include Linux kernel header files.

To compile GDB with Linux KERNEL? I think it will make compile GDB not
very easy. If the Linux Kernel change. The user need re-compile the
GDB?
Or add Linux Kernel files to GDB directory? It looks not very
professional. And maybe will cause some copyright problem.

And this types size will not change very continually. The GLIBC use it
too. The kernel more like add new types than change the old types.

Of course, add more comments for these size #define are needed. It is
a big job for me. It make me crazy in before. :)

Thanks,
teawater



On Tue, May 20, 2008 at 5:29 AM, Daniel Jacobowitz <drow@false.org> wrote:
>
> On Mon, May 19, 2008 at 06:19:15PM -0300, Thiago Jung Bauermann wrote:
> > I wonder if there is a way to get these sizes by including the Linux
> > kernel header files? The way it is done here looks very fragile and tied
> > to a specific Linux kernel version to me...
> >
> > Granted, using kernel includes will still be fragile and
> > version-specific, but at least to update GDB only a recompile is needed,
> > as oposed to manually figuring out and editing these #defines.
>
> No, this way is better.  These are not types used internally by the
> kernel; they're part of its public interface and will not change.
> And the headers are in good shape nowadays but the clean headers are
> not universally available yet.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery


  reply	other threads:[~2008-05-20  3:55 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23  8:55 Tea
2008-05-20  4:33 ` Thiago Jung Bauermann
2008-05-20  6:38   ` Daniel Jacobowitz
2008-05-20 15:32     ` Tea [this message]
2008-05-20 18:51       ` Michael Snyder
2008-05-21 17:26         ` Tea
2008-05-20 15:33   ` Tea
2008-05-21 17:14   ` Tea
2008-05-21 22:01     ` Michael Snyder
2008-05-21 22:16       ` Thiago Jung Bauermann
2008-05-21 22:40         ` Daniel Jacobowitz
2008-05-22 15:08           ` Thiago Jung Bauermann
2008-05-23  2:54             ` Tea
2008-05-23  4:33               ` Michael Snyder
2008-05-23 14:33                 ` Tea
2008-05-23 16:46                   ` Michael Snyder
2008-05-23 18:16                     ` Tea
2008-05-23  3:52 ` Pedro Alves
2008-05-23 14:31   ` Tea
2008-05-23 21:10     ` Pedro Alves
2008-06-08  6:53       ` teawater
2008-06-09  0:52         ` Pedro Alves
2008-06-09  3:00           ` Daniel Jacobowitz
2008-06-09 13:58             ` Thiago Jung Bauermann
2008-06-10  2:04               ` Michael Snyder
2008-06-09 22:56             ` Michael Snyder
2008-06-11 11:59           ` teawater
2008-06-11 20:03             ` Michael Snyder
2008-06-12 18:10               ` teawater
2008-06-13  6:08                 ` Michael Snyder
2008-06-14  6:24                   ` teawater
2008-06-14 10:31                     ` Michael Snyder
2008-06-15  3:27                       ` teawater

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=daef60380805192055x257c4ed7s64a3a258fa71e51e@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=bauerman@br.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@specifix.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