2003-04-04 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 8 Apr 2003 01:40:31 +0000 (01:40 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 8 Apr 2003 01:40:31 +0000 (01:40 +0000)
commit1211bce379c9a4281cdf75593035c73da91b3d61
tree21ee221383e5cb9dd17362cf541b48c506a21804
parent8aa4c77d702ed72d06bb41639aab18a6c4c318b9
2003-04-04  Elena Zannoni  <ezannoni@redhat.com>

* disasm.c (dump_insns):  Move variables inside loop, or they will
        be freed more than once, causing wild memory corruptions.
(gdb_disassembly): Look for the substring "-thread",
        instead of "-threads" in the target name, to make sure to find
        the 'multi-thread' target.  Also, make sure we do the right thing
        with the "core" target.
gdb/ChangeLog
gdb/disasm.c