[patch rfc] Always disassemble the target

Andrew Cagney ac131313@redhat.com
Thu May 1 23:22:00 GMT 2003


> 2003-04-28  Andrew Cagney  <cagney@redhat.com>
> 
> 	* disasm.c (gdb_disassemble_from_exec): Delete global variable.
> 	(gdb_disassembly): Make "di" non static, always initialize and
> 	cleanup.  Always use dis_asm_read_memory.
> 	(gdb_dis_asm_read_memory): Delete function.
> 
> Index: testsuite/ChangeLog
> 2003-04-28  Andrew Cagney  <cagney@redhat.com>
> 
> 	* gdb.asm/asm-source.exp: Check that the disassm and x/i of a
> 	variable doesn't give a memory error.
> 

I've checked this in.

Andrew




More information about the Gdb-patches mailing list