[RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)

Mark Kettenis mark.kettenis@xs4all.nl
Wed Apr 27 17:43:00 GMT 2005


   Date: Wed, 27 Apr 2005 18:48:46 +0300
   From: "Eli Zaretskii" <eliz@gnu.org>

   Thanks for the tip.  Here's the revised patch:

   2005-04-27  Eli Zaretskii  <eliz@gnu.org>

	   * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
	   set, use symtab_to_fullname , instead of trying to do its job.

And you get extra bonus points for eliminating sprintf(3) ;-)

Is it just me, or do others also find the NULL == expression bits a
bit odd?  Anyway, they're not your fault, although I'd welcome you ti
fix those ;-).

Mark



More information about the Gdb-patches mailing list