This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
ARM simulator - memory alignment
- To: gdb at sources dot redhat dot com
- Subject: ARM simulator - memory alignment
- From: Shaun Jackman <shaunj at gray-interfaces dot com>
- Date: Fri, 25 Aug 2000 13:14:40 -0600
- Organization: Gray Interfaces
- Reply-To: shaunj at gray-interfaces dot com
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