This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
re:Add sim memory region by default
- From: "Yorkwar" <yorkwar at xinhuanet dot com>
- To: "xinan" <xinan at tidalnetworks dot net>
- Cc: "gdb" <gdb at sources dot redhat dot com>
- Date: Thu, 22 Jul 2004 09:01:06 +0800
- Subject: re:Add sim memory region by default
Hi
Try add the source code like:
sim_do_command(sd," memory region 0x7fff8000,0x8000") ;
usually added in the function
sim_open(...)
As for mips simulator, it's in the source file
sim/mips/interp.c
Good luck.
Yorkwar