aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/gdbstub.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix emacs local variable block to use correct C style variable.David Vrabel2013-02-211-1/+1
| | | | | | | The emacs variable to set the C style from a local variable block is c-file-style, not c-set-style. Signed-off-by: David Vrabel <david.vrabel@citrix.com
* x86: Implement cpu hotplug notifiers. Use them.Keir Fraser2010-05-141-6/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* gdbstub: Fix the build and make a few cleanups.Keir Fraser2009-08-131-6/+0
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* gdbstub: Various fixes.Keir Fraser2007-12-271-0/+3
| | | | | | | | | Highlights: - Removed panics and smp stop calls in favour of an smp pause mechanism. - Added x86_64 register mapping for gdb serial protocol support. Signed-off-by: Dan Doucette <doucette.daniel@gmail.com>
* Fix gdb debugging of hypervisor.Keir Fraser2007-12-121-0/+1
| | | | | | | | | | | | | This patch: * enables the gdbstubs to properly access hypervisor memory; * prevents an assertion failure in __spurious_page_fault's call to map_domain_page if such accesses fail, by testing in_irq(); * prints some additional helpful messages; * fixes the endianness of register transfers from the gdbstubs so that gdb is much less confused. * fixes the documentation in docs/misc/crashdb.txt Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* gdbstub: Bit-field boolean must be unsigned.kfraser@localhost.localdomain2007-06-041-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Use GDB 'O' packets for console output if the serial line is sharedkfraser@localhost.localdomain2006-09-231-1/+2
| | | | | | | | | | and GDB is attached. It may be necessary for gdb and the console to share a serial port. This patch utilises the GDB protocol to encode console output. Based on a patch from Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Whitespace clean-ups. shand@kneesaa.uk.xensource.com2006-08-161-5/+5
| | | | | Signed-off-by: Steven Hand <steven@xensource.com>
* Fix additional gdbstub issues.kaf24@firebug.cl.cam.ac.uk2006-03-061-0/+3
| | | | | | | | | | - gdbstub.h uses atomic_t and PAGE_SIZE, so include those headers - do not lie about setting breakpoints - fix memory writing Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* Fix up some issues I found when porting PPC to the new common gdb stub code:kaf24@firebug.cl.cam.ac.uk2006-03-031-0/+10
| | | | | | | | | | | | | | | | | | | - cosmetic changes in the messages printed - 'flags' must always be unsigned long. - explicitly calling initialize_gdb() is not difficult. For x86 and ia64 I placed this call immediately before do_initcalls(), since that's where it's being called from now so we know it's safe. Architecture people can move it earlier as appropriate. - I don't understand all these ASSERT(!local_irq_is_enabled()) statements, sometimes bracketing a single call like receive_command(). How exactly would receive_command() manage to re-enable irqs? Also, a failing ASSERT would just call into the stub again anways... - initialize_gdb() was overcomplicated. serial_parse_handle() already handles the parsing for us, and there's no need to panic there. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* Rename cdb to gdbstub and split it into arch dependent/neutral part.kaf24@firebug.cl.cam.ac.uk2006-01-141-0/+96
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>