From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18914 invoked by alias); 17 Aug 2002 00:18:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18907 invoked from network); 17 Aug 2002 00:18:46 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 17 Aug 2002 00:18:46 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 8D044D2CBD; Fri, 16 Aug 2002 17:18:48 -0700 (PDT) Date: Fri, 16 Aug 2002 17:18:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [PATCH] Minor reformatting in infrun.c Message-ID: <20020817001848.GX906@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2002-08/txt/msg00477.txt.bz2 --UoPmpPX/dBe4BELn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 325 I am about to touch this part of the code, and it needed a bit of reformatting, so I thought I'd commit the reformatting separately. 2002-08-16 Joel Brobecker * infrun.c (handle_inferior_event): Minor reformatting, to make a rather long condition expression easier to read. -- Joel --UoPmpPX/dBe4BELn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="infrun.c.diff" Content-length: 2261 Index: infrun.c =================================================================== RCS file: /cvs/src/src/gdb/infrun.c,v retrieving revision 1.65 diff -c -3 -p -r1.65 infrun.c *** infrun.c 16 Aug 2002 17:56:17 -0000 1.65 --- infrun.c 16 Aug 2002 23:57:51 -0000 *************** handle_inferior_event (struct execution_ *** 2106,2125 **** singlestepping a trap instruction, and singlestepping thru a jump to the instruction following a trap instruction. */ ! 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 ! in a signal handler without an intervening stop in ! 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 ! && !(step_range_end ! && INNER_THAN (read_sp (), ! (step_sp - ! 16))))); /* Following in case break condition called a function. */ stop_print_frame = 1; --- 2106,2124 ---- singlestepping a trap instruction, and singlestepping thru a jump to the instruction following a trap instruction. */ ! 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 ! in a signal handler without an intervening stop in ! 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 ! && !(step_range_end ! && INNER_THAN (read_sp (), (step_sp - 16))))); /* Following in case break condition called a function. */ stop_print_frame = 1; --UoPmpPX/dBe4BELn--