--- ./gdb/stack.c_orig	2017-01-21 07:48:42 -0600
+++ ./gdb/stack.c	2017-05-22 07:48:19 -0500
@@ -563,6 +563,7 @@
   struct ui_file *stb;
   /* True if we should print arguments, false otherwise.  */
   int print_args = strcmp (print_frame_arguments, "none");
+  int null_args = 0;
 
   stb = mem_fileopen ();
   old_chain = make_cleanup_ui_file_delete (stb);
@@ -639,6 +640,12 @@
 
 	      nsym = lookup_symbol (SYMBOL_LINKAGE_NAME (sym),
 				    b, VAR_DOMAIN, NULL).symbol;
+		  /* if (!nsym) continue; */
+              if (!nsym)
+              {
+                  null_args = 1;
+                  goto printnull_args;
+              }
 	      gdb_assert (nsym != NULL);
 	      if (SYMBOL_CLASS (nsym) == LOC_REGISTER
 		  && !SYMBOL_IS_ARGUMENT (nsym))
@@ -719,7 +726,13 @@
 	  xfree (entryarg.error);
 
 	  first = 0;
-	}
+	printnull_args:
+            if (null_args == 1) {
+                null_args = 0;
+                ui_out_text (uiout, "NULL");
+                ui_out_wrap_hint (uiout, "    ");
+             }
+         }
     }
 
   /* Don't print nameless args in situations where we don't know
