| 
									
										
										
										
											2011-06-23 12:36:25 +02:00
										 |  |  | NOTE: This relates to http://sourceware.org/bugzilla/show_bug.cgi?id=11497 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Not clear whether the patch is needed at all. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-04-14 10:58:11 +02:00
										 |  |  | --- a/gdb/infrun.c
 | 
					
						
							|  |  |  | +++ b/gdb/infrun.c
 | 
					
						
							| 
									
										
										
										
											2011-06-23 12:36:25 +02:00
										 |  |  | @@ -4627,7 +4627,9 @@ process_event_stop_test:
 | 
					
						
							| 
									
										
										
										
											2010-04-14 10:58:11 +02:00
										 |  |  |   | 
					
						
							|  |  |  |    if (execution_direction != EXEC_REVERSE | 
					
						
							| 
									
										
										
										
											2011-06-23 12:36:25 +02:00
										 |  |  |        && ecs->event_thread->control.step_over_calls == STEP_OVER_UNDEBUGGABLE | 
					
						
							| 
									
										
										
										
											2010-04-14 10:58:11 +02:00
										 |  |  | -      && 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 = | 
					
						
							| 
									
										
										
										
											2011-06-23 12:36:25 +02:00
										 |  |  |  	gdbarch_skip_solib_resolver (gdbarch, stop_pc); |