RFA: Make parse_frame_specification static, remove code duplication

Mark Kettenis mark.kettenis@xs4all.nl
Fri Aug 5 17:39:00 GMT 2005


   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



More information about the Gdb-patches mailing list