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: [PATCH] Remove global traceframe_fun and traceframe_sal


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> I happen to see traceframe_fun and traceframe_sal are static
Yao> variables, which are not necessary to me.  They are only used in
Yao> set_traceframe_context, and they are not stateful.  This patch is
Yao> to remove them.

Yao> 2013-10-24  Yao Qi  <yao@codesourcery.com>

Yao> 	* tracepoint.c (traceframe_fun): Remove.
Yao> 	(traceframe_sal): Remove.
Yao> 	(set_traceframe_context): Add local variables.

This is ok.

Tom


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