mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* vm_dump.c (vm_stack_dump_each): used only if debug mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									768988f918
								
							
						
					
					
						commit
						c872df9e28
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -236,6 +236,7 @@ rb_vmdebug_stack_dump_th(VALUE thval) | |||
|     rb_vmdebug_stack_dump_raw(th, th->cfp); | ||||
| } | ||||
| 
 | ||||
| #if VMDEBUG > 2 | ||||
| static void | ||||
| vm_stack_dump_each(rb_thread_t *th, rb_control_frame_t *cfp) | ||||
| { | ||||
|  | @ -322,7 +323,7 @@ vm_stack_dump_each(rb_thread_t *th, rb_control_frame_t *cfp) | |||
| 	rb_bug("unsupport frame type: %08lx", VM_FRAME_TYPE(cfp)); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
| void | ||||
| rb_vmdebug_debug_print_register(rb_thread_t *th) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu