- When debug_server is built to use the graphical debugger as its
crash handler, also present the option to save a report instead
of debugging the app. Doesn't work 100% correctly yet though since
the report generator needs to wait for stack traces to be generated
if they aren't yet ready.
- When invoked, starts up the CLI such that it bypasses waiting for
input and instead save a crash report of the running team, then exits.
Mainly intended to be used by debug_server.
It has no use, since we don't know its value and the list of colors
might be longer (for example, for ARM currently B_MAX_CPU_COUNT is
only 1). The modula operator later on makes sure we keep within the
bounds of the kColors array anyway.
- The Tools menu now contains an option to save a debug report for the currently
debugged team. For now this report contains the following:
A list of all loaded images, their base address and their size.
A list of all threads active in their team, and their state.
* For each thread that is in a debug or exception state,
a stack trace, and a register dump at the top frame will also be emitted.
Feedback on report format + included details welcome.
For now, when the option is requested, the report is saved to the desktop
with an auto-generated name based on the target team and the current
date/time.
* move template method implementations out of class body, as otherwise
gcc2 bails with internal compiler error - thanks to Christof Lutteroth
for reporting
* cpu_idle:
Add disabled cpuidle driver and module to haikuImage.
x86_cpuidle: coding style fix according to Jerome
x86_cpuidle: use module_dependencies rather than get_module()
cpuidle: remove drivers/cpuidle
cpuidle: implement acpi cpuidle driver
acpi: export read_bit_register and write_bit_register
cpuidle: move generic cpuidle to generic
acpi: add ACPI_ALLOCATE_LOCAL_BUFFER to ACPI.h
cpuidle: we should exit when cStateCount is less than 3
cpuidle: add stats reporting support
intel_cpuidle: apply strict cpu checking to see it's snb or not
cpuidle: rename CpuidleStats to CpuidleStat
enable cpuidle module and device driver
driver: add cpuidle device driver
cpuidle: add intel native cpuidle module
idle: introduce cpuidle generic module
Since generic cpuidle module is loaded by lowlevel cpuidle drivers which
are loaded dynamically during boot, we don't need drivers/cpuidle any
more
Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>