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] |
(struct remote_state): Move to remote.h.
What's the reason for moving struct remote_state to remote.h? [I did a simple grep and couldn't find a reason, I could have missing something of course.] Having it live in remote.c means the implementation is "private" to just that file.
void remote_notif_pending_replies (struct notif *np) { struct remote_state *rs = get_remote_state (); .... .... getpkt (&rs->buf, &rs->buf_size, 0);
-- Yao
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |