diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-16 04:47:53 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-09-16 04:47:53 +0000 |
commit | 05a534e662420dab01bf4695447b34b2c0d0eb61 (patch) | |
tree | 2f646c177312948566cc8085172c0b2ad2026aeb /toolchain/gdb/snapshot/690-debian_member-field-symtab.patch | |
parent | 7956dda04e5e7fc017517e52b06076c649c17389 (diff) |
Add patches for latest snapshot of gdb. The starting point was the 6.3
patches which were then sliced down to this list since all the other
ones were checked in or just applied with horrific failure. Also added
new NPTL support patch for MIPS courtesy of Daniel J. Suckers, err I
mean testers wanted.
Diffstat (limited to 'toolchain/gdb/snapshot/690-debian_member-field-symtab.patch')
-rw-r--r-- | toolchain/gdb/snapshot/690-debian_member-field-symtab.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/gdb/snapshot/690-debian_member-field-symtab.patch b/toolchain/gdb/snapshot/690-debian_member-field-symtab.patch new file mode 100644 index 000000000..54d43ad64 --- /dev/null +++ b/toolchain/gdb/snapshot/690-debian_member-field-symtab.patch @@ -0,0 +1,20 @@ +Status: unsubmitted + +This patch was for Debian bug #239535. It needs to be tested, and +submitted. +-- +diff -ur gdb-6.3.50.20050915/gdb/valops.c gdb-6.3.50.20050915-patched/gdb/valops.c +--- gdb-6.3.50.20050915/gdb/valops.c 2005-05-26 23:39:32.000000000 -0500 ++++ gdb-6.3.50.20050915-patched/gdb/valops.c 2005-09-15 23:21:49.000000000 -0500 +@@ -2256,8 +2256,10 @@ + return 1; + } + ++ /* Check each baseclass. Call check_typedef, which will follow typedefs ++ and do opaque/stub type resolution. */ + for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--) +- if (check_field_in (TYPE_BASECLASS (type, i), name)) ++ if (check_field_in (check_typedef (TYPE_BASECLASS (type, i)), name)) + return 1; + + return 0; |