Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Xinan Tang" <xinan@tidalnetworks.net>
To: "Dave Korn" <dk@artimi.com>, <gdb@sources.redhat.com>
Subject: RE: "Add sim memory region by default"
Date: Wed, 21 Jul 2004 17:53:00 -0000	[thread overview]
Message-ID: <KAEHILJLFHMPJPLKAFBHOELACBAA.xinan@tidalnetworks.net> (raw)
In-Reply-To: <NUTMEGsQtgTIFprhMOg000009b5@NUTMEG.CAM.ARTIMI.COM>

Hi

  That is the exact solution we have right now. However this requires each
user coping the .gdbinit file.

  I wonder whether I can hardcode this info into the GDB and do not bother
each user copying anymore.

Thanks

--Xinan

-----Original Message-----
From: Dave Korn [mailto:dk@artimi.com]
Sent: Wednesday, July 21, 2004 5:11 AM
To: 'Xinan Tang'; gdb@sources.redhat.com
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....


  reply	other threads:[~2004-07-21 15:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <KAEHILJLFHMPJPLKAFBHAEDFCBAA.xinan@tidalnetworks.net>
2004-06-16  1:53 ` "Info reg doesn't work" Jim Blandy
2004-07-16 21:46   ` "which function is called when updating a register?" Xinan Tang
2004-07-18 20:38     ` Andrew Cagney
2004-07-19 18:50       ` Xinan Tang
2004-07-19 18:59         ` Andrew Cagney
2004-07-21  5:24           ` "Add sim memory region by default" Xinan Tang
2004-07-21 15:48             ` Dave Korn
2004-07-21 17:53               ` Xinan Tang [this message]
2004-07-21 19:15             ` "igen based simulators doc.?" Xinan Tang
2004-07-21 20:24               ` "igen vs. cgen?" Xinan Tang
2004-07-22  9:35                 ` Monika Chaddha
2004-07-22 19:12                   ` Xinan Tang
2004-07-23  8:11                     ` Monika Chaddha
2004-07-23 19:03               ` "igen based simulators doc.?" Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=KAEHILJLFHMPJPLKAFBHOELACBAA.xinan@tidalnetworks.net \
    --to=xinan@tidalnetworks.net \
    --cc=dk@artimi.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox