Philippe Waroquiers
2018-11-02 13:26:59 UTC
Fix by Matthew Malcomson <***@arm.com>
Pushed as obvious.
---
gdb/ChangeLog | 5 +++++
gdb/stack.c | 2 +-
gdb/symtab.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8e40537aaf..6decf3dc0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-02 Matthew Malcomson <***@arm.com>
+
+ * symtab.c (info_functions_command): Initialize quiet flag.
+ * stack.c (info_args_command): Likewise.
+
2018-11-01 Jim Wilson <***@sifive.com>
* riscv-tdep.c (riscv_breakpoint_kind_from_pc): New local unaligned_p.
diff --git a/gdb/stack.c b/gdb/stack.c
index abbaf5d4a7..f34d7b2a17 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2303,7 +2303,7 @@ info_args_command (const char *args, int from_tty)
{
std::string regexp;
std::string t_regexp;
- bool quiet;
+ bool quiet = false;
while (args != NULL
&& extract_info_print_args (&args, &quiet, ®exp, &t_regexp))
diff --git a/gdb/symtab.c b/gdb/symtab.c
index cd27a75e8c..7649908d9c 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4760,7 +4760,7 @@ info_functions_command (const char *args, int from_tty)
{
std::string regexp;
std::string t_regexp;
- bool quiet;
+ bool quiet = false;
while (args != NULL
&& extract_info_print_args (&args, &quiet, ®exp, &t_regexp))
Pushed as obvious.
---
gdb/ChangeLog | 5 +++++
gdb/stack.c | 2 +-
gdb/symtab.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8e40537aaf..6decf3dc0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-02 Matthew Malcomson <***@arm.com>
+
+ * symtab.c (info_functions_command): Initialize quiet flag.
+ * stack.c (info_args_command): Likewise.
+
2018-11-01 Jim Wilson <***@sifive.com>
* riscv-tdep.c (riscv_breakpoint_kind_from_pc): New local unaligned_p.
diff --git a/gdb/stack.c b/gdb/stack.c
index abbaf5d4a7..f34d7b2a17 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2303,7 +2303,7 @@ info_args_command (const char *args, int from_tty)
{
std::string regexp;
std::string t_regexp;
- bool quiet;
+ bool quiet = false;
while (args != NULL
&& extract_info_print_args (&args, &quiet, ®exp, &t_regexp))
diff --git a/gdb/symtab.c b/gdb/symtab.c
index cd27a75e8c..7649908d9c 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4760,7 +4760,7 @@ info_functions_command (const char *args, int from_tty)
{
std::string regexp;
std::string t_regexp;
- bool quiet;
+ bool quiet = false;
while (args != NULL
&& extract_info_print_args (&args, &quiet, ®exp, &t_regexp))
--
2.19.1
2.19.1