From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sources.redhat.com
Subject: Make mark_breakpoints_out static...
Date: Wed, 14 Nov 2007 17:08:00 -0000 [thread overview]
Message-ID: <200711141952.13046.vladimir@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 53 bytes --]
.. for lack of use on other modules. OK?
- Volodya
[-- Attachment #2: mark_breakpoint_out.diff --]
[-- Type: text/x-diff, Size: 1414 bytes --]
commit e412d5bce8dc07b8e9f7a3c78276df5b02ee7d7f
Author: Vladimir Prus <vladimir@codesourcery.com>
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 *);
next reply other threads:[~2007-11-14 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 17:08 Vladimir Prus [this message]
2007-11-14 21:46 ` Jim Blandy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711141952.13046.vladimir@codesourcery.com \
--to=vladimir@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox