(patch) hpjyg08: syms_from_objfile related changes

Jimmy Guo guo@cup.hp.com
Thu Nov 4 12:49:00 GMT 1999


***
Patch dependency: should go with the hpjyg05 patch.
***

Updates rs6000-nat.c and xcoffsolib.c where the syms_from_objfile()
call needs one extra argument (for threshold_exceeded flag which was
introduced in the hpjyg05 patch).

ChangeLog:
1999-11-04	Jimmy Guo	<guo@cup.hp.com>

	* rs6000-nat.c,xcoffsolib.c: Adjust syms_from_objfile call which
          now needs one more argument for threshold_exceeded flag.

Index: gdb/rs6000-nat.c
/opt/gnu/bin/diff -r -c -N  /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/rs6000-nat.c gdb/rs6000-nat.c
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/rs6000-nat.c	Thu Nov  4 12:40:21 1999
--- gdb/rs6000-nat.c	Thu Nov  4 12:40:49 1999
***************
*** 365,371 ****
  {
    struct objfile *obj = (struct objfile *) arg;
  
!   syms_from_objfile (obj, NULL, 0, 0);
    new_symfile_objfile (obj, 0, 0);
    return 1;
  }
--- 365,371 ----
  {
    struct objfile *obj = (struct objfile *) arg;
  
!   syms_from_objfile (obj, NULL, 0, 0, 0);
    new_symfile_objfile (obj, 0, 0);
    return 1;
  }
Index: gdb/xcoffsolib.c
/opt/gnu/bin/diff -r -c -N  /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/xcoffsolib.c gdb/xcoffsolib.c
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/xcoffsolib.c	Thu Nov  4 12:40:19 1999
--- gdb/xcoffsolib.c	Thu Nov  4 12:40:55 1999
***************
*** 114,120 ****
  	      continue;
  	    }
  
! 	  syms_from_objfile (obj, NULL, 0, 0);
  	  new_symfile_objfile (obj, 0, 0);
  	  vmap_symtab (vp, 0, 0);
  	  printf_unfiltered ("Done.\n");
--- 114,120 ----
  	      continue;
  	    }
  
! 	  syms_from_objfile (obj, NULL, 0, 0, 0);
  	  new_symfile_objfile (obj, 0, 0);
  	  vmap_symtab (vp, 0, 0);
  	  printf_unfiltered ("Done.\n");





More information about the Gdb-patches mailing list