Bug 6631

Summary: set EIP (PC) to entry point address of executable
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal CC: rmoseley
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 6573    

Description Andrew Cagney 2008-06-11 17:35:22 UTC
For an executable target, the initial PC can be set to the executable's entry
point address.

$ ./frysk/bindir/fhpd ./frysk/pkglibdir/funit-stack-inlined
[0.0] Loaded executable file:
/notnfs/cagney/git/native/frysk-core/frysk/pkglibdir/funit-stack-inlined
(fhpd) info regs
Error: Unknown command: regs
(fhpd) regs
[0.0]
rax:    0       0x0
rdx:    0       0x0
rcx:    0       0x0
rbx:    0       0x0
rsi:    0       0x0
rdi:    0       0x0
rbp:    (void *) 0x0    (void *) 0x0
rsp:    (void *) 0x0    (void *) 0x0
r8:     0       0x0
r9:     0       0x0
r10:    0       0x0
r11:    0       0x0
r12:    0       0x0
r13:    0       0x0
r14:    0       0x0
r15:    0       0x0
rip:    (void *) 0x0    (void *) 0x0