GDB and opcodes
Doug Evans
dje@transmeta.com
Wed Sep 3 23:52:00 GMT 2003
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]
More information about the Binutils
mailing list