Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Thomas Demmer , djgpp AT delorie DOT com Date: Wed, 15 Apr 1998 17:12:59 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: strip.exe and -gstabs broken In-reply-to: <3534ED10.4AD5DF9B@LSTM.Ruhr-UNI-Bochum.De> Precedence: bulk Thomas Demmer wrote: > SET has a patched version of gcc 2.7.2.1 on his homepage that > supports the stabs debugging info format. Compiling > C++ code with -gstabs allows some nice debugging possibilities > that the usual -g does not. Yeap. > However, running strip.exe on the > executable seems to ruin the image, I guess already the startup > code. More or less. > The only thing you get is a "General Protection Fault", > nothing else. Not always, but most of the time. > The message is: > General Protection Fault at eip=123a flags=3246 > and some registers... > No stack traceback, so I guess strip screws up the image > quite completely. The crash is in the entry point I guess. > (Trivial) C code seems not to be affected, although I didn't try > a more complicated source. > > Eli proposed to use -gxcoff instead, but that only gets you a warning > "debugging format not supported by this version of gcc". > > I am not sure if 2.8 supports stabs, Yes it supports stabs. > but I guess that if so, strip.exe > will ruin those images, too. I never tried. > The only way around this, so far, is > to rebuild all without debugging info... I guess you mean link when you say rebuild, no? Well that's one solution. The other, heavilly used by Robert and me, is just compress the file with djp. DJP will remove the stabs debug info without any problem. Now for Tomas: Did you ported the GPIB thing from the LLP? If yes, can you point me to some test (step by step) to make it work? In some weeks I'll need to control a scanner (for meassurements, not to scan peactures) and the idiots of NI only provided MSC .obj files for the board (GPIB-PCII/IIA) and I really hate the idea to make the program with Quick C (I prefer to hack the original driver if needed ;-). SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013