This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog symfile.c symfile.h
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 8 Jan 2010 22:55:15 -0000
- Subject: src/gdb ChangeLog symfile.c symfile.h
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-01-08 22:55:15
Modified files:
gdb : ChangeLog symfile.c symfile.h
Log message:
gdb/
Move some symfile code into subroutines.
* symfile.h (relative_addr_info_to_section_offsets)
(addr_info_make_relative): New prototypes.
* symfile.c (default_symfile_offsets): Move a part to ...
(relative_addr_info_to_section_offsets): ... this new function.
(default_symfile_offsets): Call it.
(syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
this part to ...
(addr_info_make_relative): ... this new function.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11214&r2=1.11215
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&r1=1.265&r2=1.266
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.h.diff?cvsroot=src&r1=1.60&r2=1.61