This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: allow syms_from_objfile to take a section offset table directly
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 23 Jan 2003 14:17:41 -0500
- Subject: Re: RFC: allow syms_from_objfile to take a section offset table directly
- References: <vt2isylxt6r.fsf@zenia.red-bean.com><15842.38074.837841.272380@localhost.redhat.com><vt23cppxesf.fsf@zenia.red-bean.com><vt2of7dxhra.fsf@zenia.red-bean.com>
I've committed this patch. No user-visible change in behavior.
Jim Blandy <jimb@redhat.com> writes:
> Here is a new version of this patch, updated to apply to the current
> sources. The meaningful content is just as before.
>
> 2002-12-23 Jim Blandy <jimb@redhat.com>
>
> * symfile.c: #include "gdb_assert.h".
> (syms_from_objfile): Add the ability to pass in a section offset
> table directly, as an alternative to the section_addr_info table.
> Document arguments better.
> (symbol_file_add): Pass extra arguments to syms_from_objfile.
> * symfile.h (syms_from_objfile): Update declaration.
> * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
> syms_from_objfile.
> * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).