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 7/8] fix py-finish-breakpoint.exp with always-async


Doug> IOW, it'd be clearer if the patch did:
Doug>   int was_executing = target_has_execution;
Doug> and then augment the patch with whatever else is necessary
Doug> to make it correct.
Doug> [Assuming I understand correctly what the patch is trying to do.]

I think what is happening is that we need to detect the transition from
"not executing" to "executing a sync command".  But perhaps we don't
need to test sync_execution beforehand if we correctly detect execution.

Doug> Also, is target_has_execution what you want here?

Yeah, that is wrong.

Tom


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