X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/0bf0d9601754efe3e0988b4471dbf7e376a09bd8..e87f059319e40b582d5ee8fd815876550f1148b9:/gdbinit diff --git a/gdbinit b/gdbinit index 381cf8477..fdc9c759b 100644 --- a/gdbinit +++ b/gdbinit @@ -1,5 +1,8 @@ # -*- GDB-Script -*- +handle SIGPWR noprint nostop +handle SIGXCPU noprint nostop + define newline call (void)scm_newline (scm_current_error_port ()) end @@ -148,11 +151,6 @@ define nextframe output $vmdl newline set $vmsp=$vmsp-1 - sputs "el:\t" - output $vmsp - sputs "\t" - gwrite *$vmsp - set $vmsp=$vmsp-1 set $vmnlocs=(int)$vmbp->nlocs while $vmnlocs > 0 sputs "loc #" @@ -200,3 +198,7 @@ end define inst p scm_instruction_table[$arg0] end + +define gbt + call scm_display_backtrace (scm_make_stack(0x404,0x304), scm_current_error_port (), 0x704, 0x704, 0x704) +end