Bug 7505 - remote-sim.h doesn't handle threads or multi-cpu targets
Summary: remote-sim.h doesn't handle threads or multi-cpu targets
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: sim (show other bugs)
Version: unknown
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-06 19:08 UTC by ac131313
Modified: 2016-01-07 22:51 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ac131313 2002-03-07 03:08:01 UTC
[Converted from Gnats 400]

Simulators such as PSIM are capable of modeling multi-cpu operating environment architectures and multi-threaded virtual environment architectures.

The remote-sim.h interface does not provide a mechanism for accessesing such threads / cpus.

Care will be needed as simulators have ``strange'' scheduler behavour.  A sim will often use deterministic fine grain scheduling to model concurrency (one cpu/cycle per thread at a time).  This fine grain scheduling could cause a number of problems:

- when gdb tells the sim to step, the sim will execute one instruction for the current cpu/thread and then switch to the next cpu

- gdb will find that it can't step a specific thread - the sim will ignore it.

Release:
unknown