Re: [PATCH] Remove global traceframe_fun and traceframe_sal

Tom Tromey
2013-10-24T17:19:51Z

>>>>> "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