Gurus,

I am trying to use gdb on RedHat 5.1 to step through the ncurses library to
try and find a particular bug in my code which is only manifesting via a
segmentation fault in the low-level refresh routines.

My problem comes in that while I have the source code for v5.0 of ncurses,
and I have installed said version, I can't make gdb step through the ncurses
source code while I am trying to debug my code.

I have tried setting the source code search path within gdb (via the 'dir'
command), but gdb persists in not allowing me to see the code.... what am I
missing? The man and info pages for gdb aren't exactly helpful in this area!

Thanks for any help available.

Regards,
MikeH

----------------------------------
Mike Humphreys
Datacom Systems Ltd, Christchurch
Phone: (03) 3386504
Fax:   (03) 3386444
Email: [EMAIL PROTECTED]

Reply via email to