* Re: RFA: Remove unused synchronous code [not found] <5m8zpzkeir.fsf@jtc.redback.com> @ 2001-03-21 2:08 ` Todd Whitesel 2001-03-21 7:05 ` Elena Zannoni 0 siblings, 1 reply; 6+ messages in thread From: Todd Whitesel @ 2001-03-21 2:08 UTC (permalink / raw) To: jtc; +Cc: fnasser, gdb-patches > Not so fast. There was some issue, I think related to stopping the > inferior, that I reported shortly after the async loop as made the > default. I believe the fix was grotty enough that we (redback) were > forced to go back to using the synchronous loop. > > I'll try to look up the details sometime later today. Whatever came of this? FWIW the Wind River patches to GDB still use the sync loop, but only because I have not gotten around to moving my command_loop/command_line_input patches over to the async versions of those functions. I also have to ditch my async patches for the official ones, but that's a separate issue. Todd Whitesel toddpw @ best.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFA: Remove unused synchronous code 2001-03-21 2:08 ` RFA: Remove unused synchronous code Todd Whitesel @ 2001-03-21 7:05 ` Elena Zannoni 0 siblings, 0 replies; 6+ messages in thread From: Elena Zannoni @ 2001-03-21 7:05 UTC (permalink / raw) To: Todd Whitesel; +Cc: jtc, fnasser, gdb-patches Todd Whitesel writes: > > Not so fast. There was some issue, I think related to stopping the > > inferior, that I reported shortly after the async loop as made the > > default. I believe the fix was grotty enough that we (redback) were > > forced to go back to using the synchronous loop. > > > > I'll try to look up the details sometime later today. > I missed this one somehow. Did JT post this? Ok, one more argument to keep the code there a while longer. > Whatever came of this? > > FWIW the Wind River patches to GDB still use the sync loop, but only because > I have not gotten around to moving my command_loop/command_line_input patches > over to the async versions of those functions. I also have to ditch my async > patches for the official ones, but that's a separate issue. > OK, so yes, it's still a little early to complete the migration to async. Elena > Todd Whitesel > toddpw @ best.com > ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <15031.47958.387059.980177@kwikemart.cygnus.com>]
[parent not found: <Pine.SUN.3.91.1010321120432.24397V-100000@is>]
[parent not found: <15032.49809.72980.803946@kwikemart.cygnus.com>]
* Re: RFA: Remove unused synchronous code [not found] ` <15032.49809.72980.803946@kwikemart.cygnus.com> @ 2001-03-24 12:34 ` Eli Zaretskii 2001-03-25 11:18 ` Elena Zannoni 0 siblings, 1 reply; 6+ messages in thread From: Eli Zaretskii @ 2001-03-24 12:34 UTC (permalink / raw) To: ezannoni; +Cc: fnasser, gdb-patches, ac131313 > From: Elena Zannoni <ezannoni@cygnus.com> > Date: Wed, 21 Mar 2001 10:02:41 -0500 (EST) > > Eli Zaretskii writes: > > > > On Tue, 20 Mar 2001, Elena Zannoni wrote: > > > > > Eli has a point. > > > I would like to close this issue and leave things as they are > > > for the 5.1 release. > > > > FYI: I have a known bug with using the async code in the DJGPP port. > > If you type quickly, sometimes characters get stuck in some buffer, > > and GDB becomes out of sync with user keystrokes; i.e. you type a key, > > but GDB sees the previous key. > > Ah, thanks. I suspect there are a few (several?) bugs that still needs > to be ironed out. > > > I don't yet know whether this is due to some bug in the DJGPP's > > version of `select' or something in GDB's own code. It's the next > > issue I will be working on RSN, and I hope to get it solved for v5.1. > > > > Let me know if i can do something. > Have you seen this anywhere else other than DJGPP? I debugged this. It's a bug in DJGPP's library (`select' wasn't paying attention to characters buffered by the termios emulation). After fixing it, the -async option is working correctly in the DJGPP port. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFA: Remove unused synchronous code 2001-03-24 12:34 ` Eli Zaretskii @ 2001-03-25 11:18 ` Elena Zannoni 0 siblings, 0 replies; 6+ messages in thread From: Elena Zannoni @ 2001-03-25 11:18 UTC (permalink / raw) To: Eli Zaretskii; +Cc: ezannoni, fnasser, gdb-patches, ac131313 Eli Zaretskii writes: > > From: Elena Zannoni <ezannoni@cygnus.com> > > Date: Wed, 21 Mar 2001 10:02:41 -0500 (EST) > > > > Eli Zaretskii writes: > > > > > > On Tue, 20 Mar 2001, Elena Zannoni wrote: > > > > > > > Eli has a point. > > > > I would like to close this issue and leave things as they are > > > > for the 5.1 release. > > > > > > FYI: I have a known bug with using the async code in the DJGPP port. > > > If you type quickly, sometimes characters get stuck in some buffer, > > > and GDB becomes out of sync with user keystrokes; i.e. you type a key, > > > but GDB sees the previous key. > > > > Ah, thanks. I suspect there are a few (several?) bugs that still needs > > to be ironed out. > > > > > I don't yet know whether this is due to some bug in the DJGPP's > > > version of `select' or something in GDB's own code. It's the next > > > issue I will be working on RSN, and I hope to get it solved for v5.1. > > > > > > > Let me know if i can do something. > > Have you seen this anywhere else other than DJGPP? > > I debugged this. It's a bug in DJGPP's library (`select' wasn't > paying attention to characters buffered by the termios emulation). > After fixing it, the -async option is working correctly in the DJGPP > port. > Ah, Great! Thanks Elena ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <3A28185D.D114FFF4@cygnus.com>]
[parent not found: <7263-Sat02Dec2000100947+0200-eliz@is.elta.co.il>]
* Re: RFA: Remove unused synchronous code [not found] ` <7263-Sat02Dec2000100947+0200-eliz@is.elta.co.il> @ 2001-03-20 12:29 ` Elena Zannoni 2001-03-20 12:38 ` Fernando Nasser 0 siblings, 1 reply; 6+ messages in thread From: Elena Zannoni @ 2001-03-20 12:29 UTC (permalink / raw) To: Eli Zaretskii; +Cc: fnasser, cagney, gdb-patches Hi, I am going through a list of pending e-mails. (yes, I have been out of the loop for a while.) Eli has a point. I would like to close this issue and leave things as they are for the 5.1 release. We should revisit this after 5.1 is out/branched. OK? Andrew? Thanks Elena Eli Zaretskii writes: > > Date: Fri, 01 Dec 2000 16:30:05 -0500 > > From: Fernando Nasser <fnasser@cygnus.com> > > > > The new event loop has been the default since 1999-06-23. This is > > almost 1 1/2 yrs. > > I don't think it's correct to measure time since the introduction of > the feature into the CVS. I think we need to measure since the first > official release which made it the default, since that's when the > users really see it. > > Correct me if I'm wrong, but I think that GDB 5.0 was the first > official release that used the event loop as the default. GDB 5.0 was > released in May 2000, which is only 6 months ago. > > In addition, DJGPP users only got a precompiled binary a few weeks > ago (my fault), so they only now begin using it en masse. > > I think that removing the fallback after a single release is a too > short notice. I think we should keep it for at least one more > version. Please keep in mind that the async code is modeled on Unix > and GNU/Linux systems; other platforms are using emulations of > `select' and related facilities, and the quality of those emulations > might vary... > > > It happens that the provisions for fall-back (run synchronously) are > > getting in the way, making the code illegible > > Perhaps we could discuss the specific problems with retaining the old > code, and find interim solutions for them that won't require excessive > labor. > > > and requiring > > duplicate efforts (you should still make sure that the old way works > > -- have you tested with --noasync after applying your patches?). > > Perhaps the test suite should be run with --noasync as well as without > it? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFA: Remove unused synchronous code 2001-03-20 12:29 ` Elena Zannoni @ 2001-03-20 12:38 ` Fernando Nasser 0 siblings, 0 replies; 6+ messages in thread From: Fernando Nasser @ 2001-03-20 12:38 UTC (permalink / raw) To: Elena Zannoni; +Cc: Eli Zaretskii, fnasser, cagney, gdb-patches Elena Zannoni wrote: > > Hi, I am going through a list of pending e-mails. > (yes, I have been out of the loop for a while.) > > Eli has a point. > I would like to close this issue and leave things as they are > for the 5.1 release. > We should revisit this after 5.1 is out/branched. > I would like to have a decision to remove it right after the branch, as we remove the pre-ui-out code. We have already seem a few instances of fixes/changes being applied to only one version of the code (this on the ui-out/non-ui-out case -- the non-async is probably stale as async has been the default for so long).. Fernando > OK? > Andrew? > > Thanks > Elena > > Eli Zaretskii writes: > > > Date: Fri, 01 Dec 2000 16:30:05 -0500 > > > From: Fernando Nasser <fnasser@cygnus.com> > > > > > > The new event loop has been the default since 1999-06-23. This is > > > almost 1 1/2 yrs. > > > > I don't think it's correct to measure time since the introduction of > > the feature into the CVS. I think we need to measure since the first > > official release which made it the default, since that's when the > > users really see it. > > > > Correct me if I'm wrong, but I think that GDB 5.0 was the first > > official release that used the event loop as the default. GDB 5.0 was > > released in May 2000, which is only 6 months ago. > > > > In addition, DJGPP users only got a precompiled binary a few weeks > > ago (my fault), so they only now begin using it en masse. > > > > I think that removing the fallback after a single release is a too > > short notice. I think we should keep it for at least one more > > version. Please keep in mind that the async code is modeled on Unix > > and GNU/Linux systems; other platforms are using emulations of > > `select' and related facilities, and the quality of those emulations > > might vary... > > > > > It happens that the provisions for fall-back (run synchronously) are > > > getting in the way, making the code illegible > > > > Perhaps we could discuss the specific problems with retaining the old > > code, and find interim solutions for them that won't require excessive > > labor. > > > > > and requiring > > > duplicate efforts (you should still make sure that the old way works > > > -- have you tested with --noasync after applying your patches?). > > > > Perhaps the test suite should be run with --noasync as well as without > > it? -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-03-25 11:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <5m8zpzkeir.fsf@jtc.redback.com>
2001-03-21 2:08 ` RFA: Remove unused synchronous code Todd Whitesel
2001-03-21 7:05 ` Elena Zannoni
[not found] <15031.47958.387059.980177@kwikemart.cygnus.com>
[not found] ` <Pine.SUN.3.91.1010321120432.24397V-100000@is>
[not found] ` <15032.49809.72980.803946@kwikemart.cygnus.com>
2001-03-24 12:34 ` Eli Zaretskii
2001-03-25 11:18 ` Elena Zannoni
[not found] <3A28185D.D114FFF4@cygnus.com>
[not found] ` <7263-Sat02Dec2000100947+0200-eliz@is.elta.co.il>
2001-03-20 12:29 ` Elena Zannoni
2001-03-20 12:38 ` Fernando Nasser
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox