This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Bug fixes for CLI "show" command


On Wed, Apr 21, 2004 at 11:49:28AM -0400, Andrew Cagney wrote:
> >On Tue, Apr 20, 2004 at 01:34:22PM -0400, Andrew Cagney wrote:
> >
> >>>>>-	  ui_out_field_string (uiout, "prefix", list->prefixname + 5);
> >>>>>-	  cmd_show_list (*list->prefixlist, from_tty, list->prefixname + 5);
> >>>>>+	  char *new_prefix = strstr (list->prefixname, "show ") + 5;
> >>
> >>>
> >>>This is no better - i18n.
> >
> >
> >Well, "this is no better from an i18n perspective".  That doesn't mean
> >it isn't better!  I'm trying to solve the cosmetic bug, not clear the
> >road for later i18n, which will require changing all this anyway.
> 
> If we touch any i18n breakage, we should fix it.  Just like, if we break 
> any deprecated code, we should fix it.

I am not interested in reworking the interface of widely used functions
to support i18n, when there is no comprehensive plan or anyone working
on i18n support for GDB.  Is that really unreasonable?  It's just
wasted work!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]