This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb crashed when using -data-disassemble command
- From: "zhao mindong" <foolfox008 at hotmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 28 Aug 2003 17:57:32 +0800
- Subject: gdb crashed when using -data-disassemble command
- Bcc:
under the gdb/mi mode,when using -data-disassemble -s startaddress -e
endaddress -- 1
if the startaddress or endaddress is out the code field(text section) of the
the memory,
&"Cannot access memory at address 0x8100ec00\n"
then type random command,gdb dumped
it shows:
(gdb)
-data-disassemble -s 0x8100ec00 -e 0x8100ec06 -- 1
&"Cannot access memory at address 0x8100ec00\n"
^error,msg="Cannot access memory at address 0x8100ec00"
(gdb)
s
&"s\n"
&"../../gdb/ui-out.c:133: gdb-internal-error: push_level: Asserti
l >= 0 && uiout->level < MAX_UI_OUT_LEVELS' failed.\n"
~"An internal GDB error was detected. This may make further\n"
~"debugging unreliable. Quit this debugging session? (y or n) "
how does this happen?solved?
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail