This is the mail archive of the gdb-patches@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]

Re: [PATCH] disassembly fixes


On Fri, Apr 04, 2003 at 06:04:48PM -0500, Elena Zannoni wrote:
> 
> A few fixes for the new disassembler. I'll commit in a day or so.
> 
> 2003-04-04  Elena Zannoni  <ezannoni at redhat dot 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.

While you're in there, any comments on:
  http://sources.redhat.com/ml/gdb/2003-02/msg00153.html
?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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