This is the mail archive of the gdb-patches@sourceware.org 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: Make parse_frame_specification static, remove code duplication


   From: Fred Fish <fnf@specifix.com>
   Date: Fri, 5 Aug 2005 11:56:47 -0400

   This patch turns a global function, that doesn't need to be global,
   into a static function, and removes a couple of lines of code duplication
   in stack.c.

   2005-08-02  Fred Fish  <fnf@specifix.com>

	   * defs.h (parse_frame_specification): Remove prototype.
	   * stack.c (parse_frame_specification): Add prototype and
	   make function static.
	   (frame_info): Move common code outside if..then..else.

Looks good to me.

Mark


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