This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb crashed when using -data-disassemble command


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]