Xref: news-dnh.mv.net comp.os.msdos.djgpp:410 Path: news-dnh.mv.net!mv!news.sprintlink.net!simtel!harbinger.cc.monash.edu.au!wilma.eng.monash.edu.au!junaid From: junaid AT wilma DOT eng DOT monash DOT edu DOT au (Junaid A. Walker) Newsgroups: comp.os.msdos.djgpp Subject: Re: Debugging C++ programs compiled by djgpp? Date: 16 Jun 1995 06:53:54 GMT Organization: Monash University Lines: 26 References: <3rhb3s$ba6 AT news DOT ox DOT ac DOT uk> <3rjnbt$lte AT mserv1 DOT dl DOT ac DOT uk> <3rl1v5$rch AT news DOT ox DOT ac DOT uk> Nntp-Posting-Host: wilma.eng.monash.edu.au To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Matthew Biddulph (ball0079 AT sable DOT ox DOT ac DOT uk) wrote: : In article <3rjnbt$lte AT mserv1 DOT dl DOT ac DOT uk>, : I. Badcoe wrote: : >Matthew Biddulph (ball0079 AT sable DOT ox DOT ac DOT uk) wrote: : [stuff about ladybug not seeing C++ symbols cut] : > : I've solved the problem now - it wasn't a problem with C++ at all, : really - it's just that I had called my C++ program 'rotate.cpp', : whereas unix-style programs like gcc expect 'rotate.cc'. So Ladybug : was instructed by gcc to look for rotate.cc, and didn't find it. So I : got no source code in my disassembly. The problem i'v encounterred is that gdb doesnt want to go to C++ mode, even if the source file is 'file.cc' and we fiddle with all the commands to enable C++ demangling. Maybe gdb really needs stabs format? I doubt it because Linux uses coff like djgpp, and it works perfectly. What gives? Junaid : Matt.