aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugger
Commit message (Collapse)AuthorAgeFilesLines
* Change how event channels are allocated and used by the controlkaf24@firebug.cl.cam.ac.uk2005-10-061-5/+1
| | | | | | | | | | | | | | tools. /dev/xen/evtchn is now used by daemons to connect to remote domains: the advantage is that the local ports are garbage collected automatically if the daemon dies. xen no longer constructs end-to-end event-channel port pairs -- it allocates an unbound port in new domU and writes that port to xenstore. It is then picked up by teh appropriate daemon which does interdomain bind via /dev/xen/evtchn. Signed-off-by: Keir Fraser <keir@xensource.com>
* Update GDB server documentation for crashed guests.kaf24@firebug.cl.cam.ac.uk2005-09-291-2/+10
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Better gdb server documentation.kaf24@firebug.cl.cam.ac.uk2005-09-191-3/+14
|
* Fix xc_ptrace (live debug, not coredump debug) for 32-bit pae.kaf24@firebug.cl.cam.ac.uk2005-09-192-19/+33
| | | | | | | | | Clean up interfaces and add simple documentation for using the domU debug interfaces. Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix gdb build script.kaf24@firebug.cl.cam.ac.uk2005-09-191-10/+7
|
* Trivial gdb build fix from Leendert.kaf24@firebug.cl.cam.ac.uk2005-09-182-2/+2
|
* Rename libxc => libxenctrl and xc.h => xen/xenctrl.hcl349@firebug.cl.cam.ac.uk2005-08-2410-10/+10
| | | | | | | | | Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk> --HG-- rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
* Get rid of memory_t. Almost all uses should be unsigned long.kaf24@firebug.cl.cam.ac.uk2005-08-198-29/+29
| | | | | | | | | | | | The few uses for a physical/machine address have been mostly changed to u64. Grant table code probably needs auditing for PAE correctness, but at least the interface is now sound. Signed-off-by: Keir Fraser <keir@xensource.com>
* PDB: watchpoints for process contextach61@arcadians.cl.cam.ac.uk2005-08-1515-83/+787
|
* PDB: convert ptrace.c and traps.c changes to local patchesach61@arcadians.cl.cam.ac.uk2005-08-018-8/+81
|
* PDB: add some additional filesach61@arcadians.cl.cam.ac.uk2005-07-281-0/+46
|
* PDB: process targetsach61@arcadians.cl.cam.ac.uk2005-07-2811-255/+616
|
* Use hg root instead of bk root.kaf24@firebug.cl.cam.ac.uk2005-07-251-1/+1
| | | | | | Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* pdb: read/write registers for process targetach61@arcadians.cl.cam.ac.uk2005-07-1714-145/+218
|
* pdb: reconcile register manipulation between processes and domainsach61@arcadians.cl.cam.ac.uk2005-07-134-37/+32
|
* pdb: get rid of absolute path in module makefileach61@arcadians.cl.cam.ac.uk2005-07-121-2/+3
|
* pdb: execution_domain -> vcpuach61@arcadians.cl.cam.ac.uk2005-07-123-14/+14
|
* Remove non-ISO attributes from public headers.kaf24@firebug.cl.cam.ac.uk2005-07-021-2/+2
| | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1764 (42c12471iroiktRDv2QDqEDoIQVDNg)ach61@arcadians.cl.cam.ac.uk2005-06-286-4/+47
| | | | | comments
* bitkeeper revision 1.1761 (42c0704c_K5N6pcA--cz5L-FX_z0zw)ach61@arcadians.cl.cam.ac.uk2005-06-2726-800/+2562
|\ | | | | | | | | | | Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/bk
| * bitkeeper revision 1.1726.3.1 (42c07007i9Bkz3ggP_PXIksWaGD1Eg)ach61@arcadians.cl.cam.ac.uk2005-06-2726-800/+2562
| | | | | | | | | | add framework for debugging processes
* | bitkeeper revision 1.1751 (42bbe480z9Fp_L5Tc500W8c8CL3g9A)kaf24@firebug.cl.cam.ac.uk2005-06-241-3/+3
|/ | | | | | | | | Rationalise x86 CRn guest state into a ctrlreg array in the per-vcpu context structure. Most noticeably this means the pt_base field has gone away -- replaced by ctrlreg[3] (CR3). VCPU_guest_stts is also gone -- it was never arch-independent anyway. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1713.1.10 (42b03d19TAy64Sdjkm7M7nVoGNwCVw)ach61@arcadians.cl.cam.ac.uk2005-06-151-0/+84
| | | | | readme for pdb 0.3
* bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)kaf24@firebug.cl.cam.ac.uk2005-06-0427-0/+10596
Rationalise debugger stuff in the tree. Within Xen itself, remove PDB references and fold into domu_debug. When domu_debug hits a breakpoint, it pauses all vcpus of the domain and raises VIRQ_DEBUGGER (not VIRQ_PDB). The debugger in domain0 can either poll pause status or bind to VIRQ_DEBUGGER. Before debugging a breakpointed domain the debugger should issue PAUSEDOMAIN itself, or it is not guaranteed to see paused state of the domain! Outside Xen there's a new dir tools/debugger, containing gdb, pdb and a new library libxendebug (used by pdb). I also think the ptrace functions in libxc also ought to be moved out: either to libxendebug or to a new library libxenptrace. Signed-off-by: Keir Fraser <keir@xensource.com>