List Info

Thread: Disassembly kills GDB




Disassembly kills GDB
country flaguser name
Sweden
2007-02-20 04:26:33
Hello,
I am using GDB 5.2 and GDB server over MI for debugging
from
within Eclipse.
GDB server is debugging our simulator as a process. When
disassembly is invoked like this 
GDB exits/crashes with the following message
(gdb) 
252-data-disassemble -s 0x12586566 -e 0x125865ca -- 0
&"../../gdb-5.2/gdb/ui-out.c:133:
gdb-internal-error:
push_level: Assertion `uiout->level >= 0 &&
uiout->level <
MAX_UI_OUT_LEVELS' failed.n"
../../gdb-5.2/gdb/ui-out.c:133: gdb-internal-error:
push_level:
Assertion `uiout->level >= 0 &&
uiout->level <
MAX_UI_OUT_LEVELS' failed.
253-gdb-exit

Why does gdb exit ? Whats this assert checking ? 
Isnt it possible for GDB to just emit an error message in
case
of a problem and do not exit ?
Please help.

Thanx for your attention
Veenu




 
____________________________________________________________
________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos'
Green Center.
http://autos.yah
oo.com/green_center/

Re: Disassembly kills GDB
country flaguser name
Germany
2007-02-20 04:44:42
Hello Veenu,

On Tue, Feb 20, 2007 at 02:26:33AM -0800, veenu khanna
wrote:
> I am using GDB 5.2 and GDB server over MI for debugging
from
> within Eclipse.

This version is at least five years old. Try the latest
release, 6.6.


> Why does gdb exit ? Whats this assert checking ? 
> Isnt it possible for GDB to just emit an error message
in case
> of a problem and do not exit ?

Google for "assert".


With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )