Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Ulrich Weigand" <uweigand@de.ibm.com>,
	 deuling@de.ibm.com, 	  gdb-patches@sourceware.org
Subject: Re: [rfc] [2/6] Replace DEPRECATED_FUNCTION_START_OFFSET
Date: Tue, 19 Jun 2007 18:57:00 -0000	[thread overview]
Message-ID: <m3wsxzeprs.fsf@codesourcery.com> (raw)
In-Reply-To: <utzt4qz28.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 19 Jun 2007 08:43:27 +0300")


Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Mon, 18 Jun 2007 22:38:50 +0200 (CEST)
>> From: "Ulrich Weigand" <uweigand@de.ibm.com>
>> Cc: deuling@de.ibm.com (Markus Deuling), gdb-patches@sourceware.org
>> 
>> The purpose of this patch series is to make the "current_gdbarch" that is
>> implicit in those macros *explicit* at the call site, so that we can
>> subsequently replace it with the appropriate local "gdbarch" architecture.
>> This is all part of supporting multiple architectures at the same time.
>> 
>> Now, for those particular cases where the macro is already deprecated,
>> we might alternatively just eliminate its use.  However, for this specific
>> macro some thought is required how that can be done (if at all).  I thought
>> it made sense to follow through with eliminating all the gdbarch macros
>> now, even the deprecated ones.  They actual elimination of the deprecated
>> routines can happen later on just the same.
>
> Sorry, but if this is the only reason, it doesn't make sense to me.  I
> think if we touch deprecated code, we should not replace it with
> another deprecated code.  If there's a way to eliminate deprecated
> features, let's eliminate them, even if it takes more work.
>
> That is my opinion; if others don't mind, I won't make a fuss out of
> it, but I surely feel like we are doing haphazard job here.

My opinion is that the change is fine.

Ulrich and Markus have already posted a substantial body of patches
working towards making GDB support multiple architectures
simultaneously.  By all indications, the Cell is a priority at IBM,
and multi-arch support would be helpful to Cell debugging, so I
believe they will carry through.  If they do, that would be a major
step forward for GDB.  If, in the process of making a valuable change,
code with an unrelated problem is left still having that unrelated
problem, I think that's fine.

If the patch introduced new uses of a deprecated facility, then I
would not be comfortable with that.


      reply	other threads:[~2007-06-19 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-18  9:03 Markus Deuling
2007-06-18 19:31 ` Eli Zaretskii
2007-06-18 20:39   ` Ulrich Weigand
2007-06-19  5:43     ` Eli Zaretskii
2007-06-19 18:57       ` Jim Blandy [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=m3wsxzeprs.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=deuling@de.ibm.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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