From: Andrew Cagney <ac131313@cygnus.com>
To: Alan Modra <amodra@bigpond.net.au>
Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: bfd_read and bfd_write
Date: Wed, 05 Sep 2001 20:03:00 -0000 [thread overview]
Message-ID: <3B96E752.8030205@cygnus.com> (raw)
In-Reply-To: <20010906112244.C24712@bubble.sa.bigpond.net.au>
> I have patches for all of bfd, gas, gdb. Shouldn't be more than half an
> hour checking them all in, unless my net connection breaks or something.
> I tend to agree with rth that it's better to break things temporarily
> and force use of a new interface than leave compatibility code around,
> unless it's a major effort to change over.
>
> Of course, you could force me to leave the old code in by witholding
> permission to make the changes to gdb. [:-)]
could i suggest taking a step back and deciding what bfd's policy is
going to be on public / external interfaces. remember, bfd is a library
used by more than gdb and the other code immediately to hand. i don't
think changing public / external interfaces should be taken lightly (are
you bumping the shlib version?).
i'd strongly recommend at least changing the function name as well as
the function signature - that way old code can't pick up the new
interface. i'd also prefer to have the old interface around for at
least a wee bit (allow mix 'n' match) of new bfd, old ... and give the
change a chance to propogate / settle. this also guarentees that gdb
continues to _always_ be buildable. i'm also some what puzzled as to
why this all has to be done as a single jumbo patch, three separate
patches (add new, change, delete old) are surely easier.
if you want, i can also add a check to gdb that ensures that the old
function isn't used.
enjoy
andrew
next prev parent reply other threads:[~2001-09-05 20:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 22:20 Alan Modra
2001-09-05 9:45 ` Andrew Cagney
2001-09-05 12:21 ` Richard Henderson
2001-09-05 17:26 ` Andrew Cagney
2001-09-05 18:52 ` Alan Modra
2001-09-05 20:03 ` Andrew Cagney [this message]
2001-09-06 10:33 ` Nick Clifton
2001-09-18 3:27 ` Alan Modra
2001-09-19 11:58 ` Andrew Cagney
2001-09-20 9:52 ` Andrew Cagney
2001-09-05 23:15 ` Andreas Jaeger
2001-09-06 0:01 ` Alan Modra
2001-09-05 20:13 ` Hans-Peter Nilsson
2001-09-05 20:30 ` Alan Modra
2001-09-08 22:42 ` Jim Blandy
2001-09-09 7:24 ` Hans-Peter Nilsson
2001-09-10 9:51 ` Ian Lance Taylor
2001-09-10 17:56 ` Hans-Peter Nilsson
2001-09-10 18:04 ` Ian Lance Taylor
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=3B96E752.8030205@cygnus.com \
--to=ac131313@cygnus.com \
--cc=amodra@bigpond.net.au \
--cc=binutils@sources.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