Bug 5706 - break main missed
Summary: break main missed
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Tim Moore
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2008-02-01 21:43 UTC by Andrew Cagney
Modified: 2008-02-01 21:43 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-02-01 21:43:55 UTC
Consider:

cagney@toadstool$ fhpd /bin/bash
Loaded executable file: /bin/bash
(fhpd) break main
breakpoint 0 deferred
(fhpd) run
Attached to process 2067
Running process 2067
(fhpd) cagney@toadstool$ 

Yes the prompt appears because bash manipulated the pty; but the key thing is
that those calls occure after main.  So instead of the above, main should have
been hit.