🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #169

Re: Using Codeview/TDebug w/ Plink86+

#169
From: Pete Holzmann
Date: Sat, 24 Mar 1990 15:22
39 lines
2422 bytes
fayne@tellab5.tellabs.com (Jeffrey Fayne) writes:
>
>Does anybody know of a way to use Codeview (or TurboDebug) on a C
>program linked with Plink86+ ?
>I understand .RTlink supports Codeview, but switching to that would be
>cost prohibitive (already forked out $$$ for plink86).

Time for me to rant and rave.

I'm working on a BIG program. Over 1MB EXE file, not including the gobs of
memory we have to malloc. Overlays required.

The answer, for now, is: you just can't do it. Not with PLink, NOT WITH
RTLINK!

What does PLink do when you have Codeview info in your obj files? It adds
all the Codeview info to DGROUP. So I get a 160K DGROUP! Great.

So off we go to use RTLink. "Written in MSC 5.1; works just fine with MSC 5.1;
no incompatibilities at all." Except one: Microsoft C always converts a
far call into a PUSH CS + near call when calling a routine in the same module.
RTLink turns the near call into a wild call if the routine being called 
happens to be indirectly callable from elsewhere! [Typical example: we've
got lots of 'helper functions', such as for managing a graphics cursor or a
data entry screen. The helper functions often call themselves.] RTLink claims
that this is not a bug, it is simply "a feature we do not support yet."
Riiiiiiight. Supposedly, they'll support it in the next release, coming out
in a few weeks.

So, we're stuck with MicroSoft Link until either we're fully debugged or
RTLink comes out with a fix. (Or PLink comes out with Codeview support, but
don't hold your breath...)

Pete
-- 
Peter Holzmann, Octopus Enterprises   |(if you're a techie Christian & are
19611 La Mar Ct., Cupertino, CA 95014 |interested in helping w/ the Great
UUCP: {hpda,pyramid}!octopus!pete     |Commission, email dsa-contact@octopus)
DSA office ans mach=408/996-7746;Work (SLP) voice=408/985-7400,FAX=408/985-0859
Technical Details
Message-ID: <1990Mar24.152234.387@Octopus.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!vsi1!octopus!pete
References: <2275@tellab5.tellabs.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!vsi1!octopus!pete
From: pete@Octopus.COM (Pete Holzmann)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: Using Codeview/TDebug w/ Plink86+
Keywords: Codeview, TurboDebug, PLINK86+
Message-ID: <1990Mar24.152234.387@Octopus.COM>
Date: 24 Mar 90 15:22:34 GMT
References: <2275@tellab5.tellabs.com>
Reply-To: pete@octopus.COM (Pete Holzmann)
Organization: Octopus Enterprises, Cupertino CA
Lines: 40