--- ./gdb/xcoffread.c_orig	2018-06-04 04:05:17 -0500
+++ ./gdb/xcoffread.c	2018-06-04 04:19:55 -0500
@@ -171,7 +171,7 @@
   { ".dwmac", NULL },
   { ".dwstr", NULL },
   { ".dwrnges", NULL },
-  { ".dwpbtyp", NULL },
+  { NULL, NULL },
   { NULL, NULL }, /* debug_addr */
   { ".dwframe", NULL },
   { NULL, NULL }, /* eh_frame */
@@ -1180,7 +1180,8 @@
                  bfd_coff_swap_aux_in (abfd, raw_auxptr, cs->c_type, cs->c_sclass,
                                        0, cs->c_naux, &main_aux);
              else
-  
+ 		continue;
+ 
 
 	  switch (CSECT_SMTYP (&main_aux))
 	    {
@@ -2450,7 +2451,8 @@
 		  {
 		  case XMC_PR:
 		    /* A function entry point.  */
-
+		    
+		    if (first_fun_line_offset == 0 && symbol.n_numaux > 1)
 		    first_fun_line_offset =
 			main_aux[0].x_sym.x_fcnary.x_fcn.x_lnnoptr;
 			{
--- ./gdb/psymtab.c_orig	2018-06-04 04:21:55 -0500
+++ ./gdb/psymtab.c	2018-06-04 04:22:35 -0500
@@ -387,7 +387,6 @@
 						    msymbol);
   if (ps != NULL)
     {
-      if (warn_if_readin && ps->readin)
 	/* Might want to error() here (in case symtab is corrupt and
 	   will cause a core dump), but maybe we can successfully
 	   continue, so let's not.  */
