This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

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


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