Mail Archives: djgpp/1998/08/10/14:12:36
On Mon, 10 Aug 1998, Salvador Eduardo Tropea (SET) wrote:
> "Andris Pavenis" <pavenis AT lanet DOT lv> 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 put binaries there (patch were there already for a rather long time) it
there.
see: http://www.lanet.lv/~pavenis/rhide.html
> > > 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 found that with original binaries of 1.4.5 gdb command 'next' is executed
as 'cont'. 'step' still worked as required. That time Robert answered
that it seems to be bug in gdb. I didn't tried to study it more as I changed
to gdb-4.16.
One more note about RHIDE (and prehaps SETEDIT). RHIDE does not more
compile smootly with latest development snapshots of egcs as they
are giving warnings (a lot of warnings) about construction like
const Something=1;
and requires to explicitly specify type for constant. One way (not nice)
is to remove -Werr from compiler parameters. Under Linux I put types were
needed and RHIDE worked Ok compiled with egcs 19980721. Didn't tried
to compile it with snapshots of egcs under DJGPP (now I have working
egcs-2.91.53 19980803 for DJGPP. I built it using djdev202)
Andris
- Raw text -