Xref: utzoo alt.msdos.programmer:216 comp.sys.ibm.pc:31905 Path: utzoo!utgpu!watmath!maytag!watdcsu!mgardi From: mgardi@watdcsu.waterloo.edu (M.Gardi - ICR) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc Subject: Re: Debugging library routines in with Turbo C/Debugger Message-ID: <6129@watdcsu.waterloo.edu> Date: 21 Jul 89 07:58:58 GMT References: <6094@watdcsu.waterloo.edu> Reply-To: zeexsun@watshine.waterloo.edu (Bruce Wilson) Distribution: comp Organization: U. of Waterloo, Ontario Lines: 20 Hi, Thanks to all who responded. The problem is that there is a bug in TLIB.EXE (in v2.0). When adding .objs to a library, it would strip the line number info from the .obj. Borland has a patch for this which I found on the net a while back (I grabbed it but didn't have time to look at it closely and thus forgot about it until now). I have applied the patch and everything works perfectly. The arcs can be found at simtel20: pd1:tc2pat.arc /* fix for tlib */ pd1:td1pat.arc /* fix for td386 */ They need a program called patch.com which I also had but I don't know where I got it (I doesn't seem to be at simtel20). The format of the patch files is easy so you could probably use debug. thanks, bruce bruce Wilson | "what you don't spend you don't have to earn..." zeexsun@watshine.waterloo.edu | from Blake (a film by Bill Mason)