This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Make infcall.c:unwind_on_signal_p static.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 2 May 2012 17:10:50 -0700
- Subject: [commit] Make infcall.c:unwind_on_signal_p static.
Another entity that I just happen to notice could be made static.
Fixed thusly.
gdb/ChangeLog:
* infcall.c (unwind_on_signal_p): Make static.
Tested on x86_64-linux. Checked in.
---
gdb/ChangeLog | 4 ++++
gdb/infcall.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0bb6d75..b810d47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2012-05-02 Joel Brobecker <brobecker@adacore.com>
+ * infcall.c (unwind_on_signal_p): Make static.
+
+2012-05-02 Joel Brobecker <brobecker@adacore.com>
+
* sol-thread.c (solaris_pid_to_str): Make static.
(_initialize_sol_thread): Add prototype.
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 6c250e3..8737c7b 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -88,7 +88,7 @@ show_coerce_float_to_double_p (struct ui_file *file, int from_tty,
The default is to stop in the frame where the signal was received. */
-int unwind_on_signal_p = 0;
+static int unwind_on_signal_p = 0;
static void
show_unwind_on_signal_p (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)
--
1.7.1