This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog objfiles.c objfiles.h dwarf2 ...
- From: drow at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 14 Sep 2003 18:26:47 -0000
- Subject: src/gdb ChangeLog objfiles.c objfiles.h dwarf2 ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb_6_0-branch
Changes by: drow@sourceware.org 2003-09-14 18:26:47
Modified files:
gdb : ChangeLog objfiles.c objfiles.h dwarf2-frame.c
Log message:
Merge from mainline:
2003-07-13 Mark Kettenis <kettenis@gnu.org>
* objfiles.h (struct objfile): Add memebers `data' and `num_data'.
(register_objfile_data, set_objfile_data, objfile_data): New
prototypes.
* objfiles.c (objfile_alloc_data, objfile_free_data): New
prototypes.
(allocate_objfile): Call objfile_alloc_data.
(free_objfile): Call objfile_free_data.
(struct objfile_data): New.
(struct objfile_data_registration): New.
(struct objfile_data_registry): New.
(objfile_data_registry): New variable.
(register_objfile_data): New function.
(objfile_alloc_data, objfile_free_data): New functions.
(set_objfile_data, objfile_data): New functions.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
(_initialize_dwarf2_frame): New function and prototype.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_6_0-branch&r1=1.4439.2.131&r2=1.4439.2.132
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.c.diff?cvsroot=src&only_with_tag=gdb_6_0-branch&r1=1.33&r2=1.33.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.h.diff?cvsroot=src&only_with_tag=gdb_6_0-branch&r1=1.22&r2=1.22.22.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2-frame.c.diff?cvsroot=src&only_with_tag=gdb_6_0-branch&r1=1.7.4.3&r2=1.7.4.4