Bug 5706

Summary: break main missed
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Tim Moore <timoore>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 2246    

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.