This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog dwarf2-frame.c gdbarch.c gdb ...
- From: corinna at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 6 Aug 2010 19:02:15 -0000
- Subject: src/gdb ChangeLog dwarf2-frame.c gdbarch.c gdb ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2010-08-06 19:02:15
Modified files:
gdb : ChangeLog dwarf2-frame.c gdbarch.c gdbarch.h
gdbarch.sh xstormy16-tdep.c
Log message:
* dwarf2-frame.c (struct dwarf2_cie): Add ptr_size member.
Throughout, call read_encoded_value with ptr_size rather than addr_size.
(decode_frame_entry_1): Remove redundant setting of
addr_size. Call gdbarch_dwarf2_addr_size rather than gdbarch_ptr_bit
to determine addr_size in Dwarf versions < 4. Set ptr_size dependent
on examined frame section. Add comment to explain why.
* gdbarch.sh (dwarf2_addr_size): Define as variable. Add lengthy
comment to explain usage.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set dwarf2_addr_size to 4.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12062&r2=1.12063
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2-frame.c.diff?cvsroot=src&r1=1.114&r2=1.115
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.c.diff?cvsroot=src&r1=1.469&r2=1.470
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.h.diff?cvsroot=src&r1=1.418&r2=1.419
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.sh.diff?cvsroot=src&r1=1.514&r2=1.515
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/xstormy16-tdep.c.diff?cvsroot=src&r1=1.110&r2=1.111