forked from qt-creator/qt-creator
		
	Change-Id: I1c81b28ab22ec11dcef1f58030b5906f4fc6323c Reviewed-on: http://codereview.qt.nokia.com/652 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			658 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			658 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| NOTE: This relates to http://sourceware.org/bugzilla/show_bug.cgi?id=11497
 | |
| 
 | |
| Not clear whether the patch is needed at all.
 | |
| 
 | |
| --- a/gdb/infrun.c
 | |
| +++ b/gdb/infrun.c
 | |
| @@ -4627,7 +4627,9 @@ process_event_stop_test:
 | |
|  
 | |
|    if (execution_direction != EXEC_REVERSE
 | |
|        && ecs->event_thread->control.step_over_calls == STEP_OVER_UNDEBUGGABLE
 | |
| -      && in_solib_dynsym_resolve_code (stop_pc))
 | |
| +      && in_solib_dynsym_resolve_code (stop_pc)
 | |
| +      && !(ecs->event_thread->step_range_start > 1
 | |
| +        && in_solib_dynsym_resolve_code (ecs->event_thread->step_range_start)))
 | |
|      {
 | |
|        CORE_ADDR pc_after_resolver =
 | |
|  	gdbarch_skip_solib_resolver (gdbarch, stop_pc);
 |