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: [RFA] Fix file name generation in edit_command (was: Ver 6.3 edit command failing)


   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


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