This is the mail archive of the gdb-patches@sources.redhat.com 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: Fork event updates, part the fourth


This patch removes the infrun hackery expecting two TARGET_WAITKIND_FORKED
events.  Instead it modifies the hppah-nat child_wait function to return
only the interesting fork event.  This uses TARGET_WAITKIND_IGNORE, which is
like TARGET_WAITKIND_SPURIOUS but does not trigger a resume.  A logical
followup patch will probably rename both SPURIOUS and IGNORE, since I kept
getting them confused while I was doing this.  I updated the comments on
TARGET_WAITKIND_IGNORE since it isn't only used for the evil remote-async
output packets now.
Just FYI,

A correctly written (event driven) remote.c would be generating these continuously.

Andrew



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