mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
* infrun.c (handle_inferior_event): Minor reformatting, to make
a rather long condition expression easier to read.
This commit is contained in:
parent
541a7aacdc
commit
238617f678
@ -1,3 +1,8 @@
|
||||
2002-08-16 Joel Brobecker <brobecker@gnat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event): Minor reformatting, to make
|
||||
a rather long condition expression easier to read.
|
||||
|
||||
2002-08-16 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* Makefile.in (gdbtk.o): Move to end of file.
|
||||
|
11
gdb/infrun.c
11
gdb/infrun.c
@ -2106,7 +2106,9 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
singlestepping a trap instruction, and singlestepping thru a
|
||||
jump to the instruction following a trap instruction. */
|
||||
|
||||
stop_bpstat = bpstat_stop_status (&stop_pc,
|
||||
stop_bpstat =
|
||||
bpstat_stop_status
|
||||
(&stop_pc,
|
||||
/* Pass TRUE if our reason for stopping is something other
|
||||
than hitting a breakpoint. We do this by checking that
|
||||
1) stepping is going on and 2) we didn't hit a breakpoint
|
||||
@ -2114,12 +2116,9 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
sigtramp, which is detected by a new stack pointer value
|
||||
below any usual function calling stack adjustments. */
|
||||
(currently_stepping (ecs)
|
||||
&& prev_pc !=
|
||||
stop_pc - DECR_PC_AFTER_BREAK
|
||||
&& prev_pc != stop_pc - DECR_PC_AFTER_BREAK
|
||||
&& !(step_range_end
|
||||
&& INNER_THAN (read_sp (),
|
||||
(step_sp -
|
||||
16)))));
|
||||
&& INNER_THAN (read_sp (), (step_sp - 16)))));
|
||||
/* Following in case break condition called a
|
||||
function. */
|
||||
stop_print_frame = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user