This is the mail archive of the gdb-patches@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: [RFA] New GDB target iq2000


On Sat, Mar 05, 2005 at 02:37:39PM -0500, Daniel Jacobowitz wrote:
> I'm not talking about an ultra-specialized "simulator" the way that
> current GDB prologue analyzers work; I'm talking about most of a
> complete architecture simulator, with appropriate hooks to tell GDB
> what it wants to know.  There's plenty of other ways we could use this
> information.
> 
> Here's one I've been thinking about in particular: some instructions
> are "safe" to simulate on a running process, though not all.  When a
> breakpoint covers an instruction which is "safe", we can simulate the
> instruction instead of having to remove the breakpoint and single-step. 
> Huge win with threads.

It occured to me (late, but better than never) that generating this
sort of thing from a CGEN description would not be too hard... for
someone who spoke Scheme, anyway.

Not that I'm volunteering to write the missing cgen descriptions.
But it would be an interesting experiment for one of the five ports
that already have one (cris, frv, iq2000, m32r, sh).

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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