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: "Dave Korn" <dk at artimi dot com>
- To: "'Xinan Tang'" <xinan at tidalnetworks dot net>,<gdb at sources dot redhat dot com>
- Date: Wed, 21 Jul 2004 14:11:00 +0100
- Subject: RE: "Add sim memory region by default"
> -----Original Message-----
> From: gdb-owner On Behalf Of Xinan Tang
> Sent: 20 July 2004 23:38
> Rather than adding a memory region through command of
>
> "sim memory-region addr,length"
>
> I would like to add some memory regions permanently within
> my gdb. Which
> source files need to be touched to add a new memory region in GDB?
Why not just put a set of "sim memory-region" commands into a .gdbinit
file? It's just as automatic and effective and a whole lot simpler and more
generic than hardcoding it into the source.
cheers,
DaveK
--
Can't think of a witty .sigline today....