On Tue, Sep 16, 2003 at 03:53:07PM -0500, Brian Ford wrote: >>(gdb) p fstat(fd1, &stat1) >>Segmentation fault (core dumped) >> >>now, why does GDB crash? >> >Maybe because gdb actually calls fstat instead of fstat64 since it doesn't >get the magic link time redirection? No idea really.
The current version of gdb just can't call functions from the prompt. I just fixed this recently. It was a gdb bug. I'm having a hard time regenerating gdb from cvs recently, otherwise, I'd have a new update out. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/