This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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 and opcodes


Andrew Cagney writes:
 > - access to the assembler?
 > GDB would like to support a mechanism like:
 > 	(gdb) assemble 0x1000
 > 	> move r1, r2
 > 	> store r2, foo
 > 	> end
 > 	(gdb)

Way back when I posted a patch to the internal Cygnus gdb list
that implemented a basic form of this for cgen-based assemblers.
Should be straightforward to recreate.
[or if the archives are still around, grep for assemble.c or
assembler.c in the 1996-98 timeframe]


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