ARM simulator - memory alignment

Shaun Jackman shaunj@gray-interfaces.com
Fri Aug 25 12:21:00 GMT 2000


Is it possible to get the ARM simulator to stop a "continue" and generate a
warning if the simulated ARM ever attemps an unaligned memory access?
This would be very useful for porting apps from a target where alignment isn't
an issue.

something like...

(gdb) c
Continuing.

unaligned access, main () at main.c:8 8         int i = *p;
(gdb)

Thanks,
Shaun




More information about the Gdb mailing list