[rfc] Bug fixes for CLI "show" command

Daniel Jacobowitz drow@false.org
Wed Apr 21 14:59:00 GMT 2004


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.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list