From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch rfc] -Wmissing-prototypes round #3
Date: Wed, 11 Jun 2003 23:30:00 -0000 [thread overview]
Message-ID: <1030611233000.ZM27356@localhost.localdomain> (raw)
In-Reply-To: Andrew Cagney <ac131313@redhat.com> "Re: [patch rfc] -Wmissing-prototypes round #3" (Jun 11, 4:59pm)
On Jun 11, 4:59pm, Andrew Cagney wrote:
> > Some comments with regard to IA-64:
> >
> > 1) I'd rather have the declarations for
> > ia64_linux_sigcontext_register_address() and
> > ia64_aix_sigcontext_register_address() go into a single ia64-tdep.h
> > file. I think having two files is overkill.
>
> I'ts 6 of one half dozen of the other. At least it's clear which .c
> file the .h declaration belongs to. If someone later eliminates it, all
> the better.
I think it's quite likely that an ia64-tdep.h file will prove useful
in the long term, so I don't mind seeing it created. OTOH, I don't
see any point in creating two files which'll likely contain nothing
more than the declarations you're proposing putting in them. These
files and the resulting Makefile.in baggage (dependencies) will just
wind up being deleted at some later time when someone gets around
to doing #2 below.
Also, I don't think it'll be difficult to find the header file
containing the declarations when necessary.
> > 2) However, even that shouldn't be necessary. Now that we have the
> > OSABI machinery, it should be possible to solve the problem without
> > having to export these functions at all.
>
> In the mean time I'd like to get -Wmissing-prototypes enabled.
Sure. I didn't mean for you to do #2. In fact, the problem gets
considerably easier if we delete the IA-64 AIX stuff first. (To
the best of my knowledge, it's completely dead.)
Kevin
next prev parent reply other threads:[~2003-06-11 23:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 17:43 Andrew Cagney
2003-06-11 18:56 ` Mark Kettenis
2003-06-11 19:25 ` Andrew Cagney
2003-06-11 23:47 ` Kevin Buettner
2003-06-11 20:31 ` Kevin Buettner
2003-06-11 20:59 ` Andrew Cagney
2003-06-11 23:30 ` Kevin Buettner [this message]
2003-06-12 14:30 ` Richard Earnshaw
2003-06-12 17:09 ` Andrew Cagney
2003-06-13 14:13 ` Richard Earnshaw
2003-06-13 19:40 ` Andrew Cagney
2003-06-12 18:08 ` 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=1030611233000.ZM27356@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.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