Mail Archives: djgpp/2000/01/15/09:57:41
On Sat, 15 Jan 2000, Todorovic wrote:
> >> But works correct in v1.4. When I enter simple "1 + 2" in Debug/Evaluate box
> >> it says "not available"!!! Can anybody else try it?
> >
> >What exactly did you want to achieve by that?
> >
> >Latest versions of RHIDE use a newer debugging code from GDB, so it might
> >reject operations that don't make sense, which previous GDB code accepted.
>
> I've just found that you have to be "online" to use Debug/Evaluate. I mean,
> you have to start your program first to calculate even what is value of 1.
> If you're only in edit mode (your program isn't executed), you can't
> evaluate _anything_.
> Conclusion: Not a bug, but feature. Not so good one.
>
Do simple test:
start gdb without specifying program to debug
type 'print 2+3' and You'll see that gdb does not have this
limitation. RHIDE also can do this with some small modifications
- Raw text -