From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14007 invoked by alias); 14 Nov 2007 17:08:34 -0000 Received: (qmail 13999 invoked by uid 22791); 14 Nov 2007 17:08:33 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 17:08:31 +0000 Received: (qmail 9187 invoked from network); 14 Nov 2007 16:52:17 -0000 Received: from unknown (HELO 172.16.unknown.plus.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Nov 2007 16:52:17 -0000 From: Vladimir Prus To: gdb-patches@sources.redhat.com Subject: Make mark_breakpoints_out static... Date: Wed, 14 Nov 2007 17:08:00 -0000 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_9eyOHFDEsUvGff9" Message-Id: <200711141952.13046.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00272.txt.bz2 --Boundary-00=_9eyOHFDEsUvGff9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 53 .. for lack of use on other modules. OK? - Volodya --Boundary-00=_9eyOHFDEsUvGff9 Content-Type: text/x-diff; charset="utf-8"; name="mark_breakpoint_out.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mark_breakpoint_out.diff" Content-length: 1414 commit e412d5bce8dc07b8e9f7a3c78276df5b02ee7d7f Author: Vladimir Prus Date: Wed Nov 14 19:45:41 2007 +0300 Make mark_breakpoints_out static. * breakpoint.h (mark_breakpoints_out): Remove declaration. * breakpoint.c (mark_breakpoints_out): Make static. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 3dae38f..b67851d 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -200,6 +200,8 @@ static int single_step_breakpoint_inserted_here_p (CORE_ADDR pc); static void free_bp_location (struct bp_location *loc); +static void mark_breakpoints_out (void); + /* Prototypes for exported functions. */ /* If FALSE, gdb will not use hardware support for watchpoints, even @@ -1650,7 +1652,7 @@ remove_breakpoint (struct bp_location *b, insertion_state_t is) /* Clear the "inserted" flag in all breakpoints. */ -void +static void mark_breakpoints_out (void) { struct bp_location *bpt; diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 19b880c..7919d3f 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -701,8 +701,6 @@ extern void set_ignore_count (int, int, int); extern void set_default_breakpoint (int, CORE_ADDR, struct symtab *, int); -extern void mark_breakpoints_out (void); - extern void breakpoint_init_inferior (enum inf_context); extern struct cleanup *make_cleanup_delete_breakpoint (struct breakpoint *); --Boundary-00=_9eyOHFDEsUvGff9--