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] Set $trace_frame and $tracepoint on disconnect


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

Yao> The chunk for tracepoint.c is to set these variables correctly
Yao> when GDB disconnects and some small refactors in code.
Yao> Regression tested on x86_64-linux, two fails above are fixed.
Yao> OK to apply?

Looks good to me.
I read your patch and traced through the various tracepoint.c functions.

Just a side note on tracepoint.c - it seems bad to have functions named
"set_traceframe_num" and "set_traceframe_number" with different effects.
A bit of reading showed me what was going on, but the names seem
needlessly confusing.

Tom


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