mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
79abfc2a96
add tcp and udp port remeber issue 533 add udp listern wait issue 534 fix wp receive on mono part issue 530 allow logging of unknown packets mav 0.9 do_speed_change fix issue 531 remember last video res issue 521 fix issue 528 - ch 6 and ch 7 options
30 lines
594 B
Plaintext
30 lines
594 B
Plaintext
handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
|
|
|
|
define mono_backtrace
|
|
select-frame 0
|
|
set $i = 0
|
|
while ($i < $arg0)
|
|
set $foo = (char*) mono_pmip ($pc)
|
|
if ($foo)
|
|
printf "#%d %p in %s\n", $i, $pc, $foo
|
|
else
|
|
frame
|
|
end
|
|
up-silently
|
|
set $i = $i + 1
|
|
end
|
|
end
|
|
|
|
|
|
define mono_stack
|
|
set $mono_thread = mono_thread_current ()
|
|
if ($mono_thread == 0x00)
|
|
printf "No mono thread associated with this thread\n"
|
|
else
|
|
set $ucp = malloc (sizeof (ucontext_t))
|
|
call (void) getcontext ($ucp)
|
|
call (void) mono_print_thread_dump ($ucp)
|
|
call (void) free ($ucp)
|
|
end
|
|
end
|