mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
This commit is contained in:
parent
a5f2d12edc
commit
2f7603e08e
@ -9,3 +9,7 @@ void WEAK AP_HAL::dump_stack_trace()
|
|||||||
{
|
{
|
||||||
// stack dump not available on this platform
|
// stack dump not available on this platform
|
||||||
}
|
}
|
||||||
|
void WEAK AP_HAL::dump_core_file()
|
||||||
|
{
|
||||||
|
// core dump not available on this platform
|
||||||
|
}
|
||||||
|
@ -25,5 +25,6 @@ uint64_t native_micros64();
|
|||||||
uint64_t native_millis64();
|
uint64_t native_millis64();
|
||||||
|
|
||||||
void dump_stack_trace();
|
void dump_stack_trace();
|
||||||
|
void dump_core_file();
|
||||||
|
|
||||||
} // namespace AP_HAL
|
} // namespace AP_HAL
|
||||||
|
Loading…
Reference in New Issue
Block a user