From 9ab493c21ecbd120eedf5146caf2181db7abf599 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 27 Jan 2015 19:56:45 +0200 Subject: [PATCH] Work-around for a bug in GCC5. Reported as --- gdb/symfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/symfile.c b/gdb/symfile.c index d55e361..86a758a 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -3439,7 +3439,7 @@ static void unmap_overlay_command (char *args, int from_tty) { struct objfile *objfile; - struct obj_section *sec; + struct obj_section *sec = NULL; if (!overlay_debugging) error (_("Overlay debugging not enabled. " -- 1.7.10.4