This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove breakpoint_proceeded in infcmd.c


Hi,
I happen to see external global 'breakpoint_proceeded' is not used
somewhere else.  This patch is to remove it.

This global should be removed by this patch,

  [3/3] broken -thread-info output in non-stop mode, fix it
  http://sourceware.org/ml/gdb-patches/2009-03/msg00301.html

but I don't know why it wasn't removed.  I assume it was an oversight.

Rebuild GDB on x86-linux and for mingw32 target respectively.

gdb:

2013-02-13  Yao Qi  <yao@codesourcery.com>

	* infcmd.c (breakpoint_proceeded): Remove it.
---
 gdb/infcmd.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 6ef34d8..abc5377 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -137,11 +137,6 @@ ptid_t inferior_ptid;
 
 CORE_ADDR stop_pc;
 
-/* Flag indicating that a command has proceeded the inferior past the
-   current breakpoint.  */
-
-int breakpoint_proceeded;
-
 /* Nonzero if stopped due to completion of a stack dummy routine.  */
 
 enum stop_stack_kind stop_stack_dummy;
-- 
1.7.7.6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]