Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "Andris Pavenis" , djgpp AT delorie DOT com Date: Mon, 10 Aug 1998 10:28:25 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Bug in RHIDE 1.4.5 In-reply-to: References: <35CBC151 DOT 8944A904 AT unb DOT ca> Precedence: bulk "Andris Pavenis" wrote: > I'm using patched version of RHIDE-1.4.5 built together with > sources of gdb-4.16 (instead of 4.17) Is that file available in your web? > > I recently upgraded from RHIDE v1.4 to v1.4.5 and have found some odd > > things (bugs?). I had many problems trying to use the old project files, > > rhide kept crashing [printing 1000's of different error messages]. > > I haven't seen anything like. However project files touched with > 1.4.5 are no more usable with 1.4 Same. > > I re-did all of my project files and that worked. But now it can't debug > > anything complex. If I try and write something simple, it debugs fine, but > > any program I tried it on that was reasonably large (100+ lines of code) > > pressing 'F8' (or using the menu selection) ran the entire program, not > > just the line. > > Known problem with original binaries. Use them to rebuild rhide- > 1.4.5 from sources with libgdb from gdb-4.16 instead of 4.17. > Some hacking may be needed. Is hard to do. I reported to Robert problems debugging the editor, but these problems aren't that huge. I can debug the editor (over than 650Kb of heavy C++ sources) with RHIDE 1.4.5 as distributed by Robert. > > I made the smallest version of a file that didn't work, I > > redirected 'stdout' into rhide and what I got is at the end of the > > message. I have also included the code that made this happen. I think I > > will move back to v1.4 for now, I would like to use 1.4.5 if there is a way > > to avoid this (or it can be fixed). > > > > =====================File that screws up debugger > > #include > > #include > > #include > > > > void Mode(short M) > > { > > __dpmi_regs Regs; > > > > memset(&Regs, 0, sizeof(Regs)); > > Regs.x.ax = M; > > __dpmi_int(0x10, &Regs); > > } > > > > > > int main() > > { > > Mode(0x13); > > cout << "Hi!"; > > Mode(0x3); > > return 0; > > } > > No crashes for me with patched 1.4.5. However I don't see output > in mode 0x13. I think that can also crash on different video card > as RHIDE does not handle 256 color modes well. Any problem in RHIDE about video modes doesn't mean it will crash ;-). Here we use 1.4.5 for 640x480x256 without major problems. 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