This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
(patch) hpjyg08: syms_from_objfile related changes
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: (patch) hpjyg08: syms_from_objfile related changes
- From: Jimmy Guo <guo at cup dot hp dot com>
- Date: Thu, 4 Nov 1999 12:48:28 -0800 (PST)
***
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");