aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-05-03 00:10:07 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-05-03 00:10:07 +0000
commitef61f1802b4da116004979d6724b12de4a58a717 (patch)
treea50bdd91135ebc5cb8359b5e58a71578a001e9ca /gdb
parent4e4852cecf9611cbe115c5490257fed6118b5f6a (diff)
downloadgdb-ef61f1802b4da116004979d6724b12de4a58a717.zip
gdb-ef61f1802b4da116004979d6724b12de4a58a717.tar.gz
gdb-ef61f1802b4da116004979d6724b12de4a58a717.tar.bz2
Make infcall.c:unwind_on_signal_p static.
gdb/ChangeLog: * infcall.c (unwind_on_signal_p): Make static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infcall.c2
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)