diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-02-28 21:02:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-28 21:02:49 +0000 |
commit | 2b754c248784f40f47b22005efdc13fb1600ce79 (patch) | |
tree | 0a80807ee0c2957eee2750cb46b5b1c7b179b7c8 /toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch | |
parent | dfd746cd47bd2591e8abebe33da7f4c0ab947f1e (diff) | |
download | mtk-20170518-2b754c248784f40f47b22005efdc13fb1600ce79.zip mtk-20170518-2b754c248784f40f47b22005efdc13fb1600ce79.tar.gz mtk-20170518-2b754c248784f40f47b22005efdc13fb1600ce79.tar.bz2 |
upgrade the cross-gdb to 6.8 (patch from #4701)
SVN-Revision: 14697
Diffstat (limited to 'toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch')
-rw-r--r-- | toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch b/toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch deleted file mode 100644 index cfb3d95..0000000 --- a/toolchain/gdb/patches/790-debian_dwarf2-cfi-warning.patch +++ /dev/null @@ -1,39 +0,0 @@ -Status: Unsuitable for upstream (at least, without a lot of arguing). - -GCC does not specify the state of every last register in the CIE. Since -GCC's focus is on correctness of runtime unwinding, any registers which -have to be unwound will be specified; but unmodified registers will not -be explicitly marked. (How about modified, call-clobbered registers? -I'm not sure if they are marked as unavailable.) - -GDB issues a noisy warning about this. The warning is generally not useful, -and we can get it extremely frequently (any time we load a new CIE). - -This patch disables the warning. Alternately we could set the complaints -threshold to zero, or implement a default frame init-register method for -every architecture. But someday the compiler will support using different -calling conventions for internal functions, so that's not much of a stopgap. -ARM has a complex algorithm for handling this, involving scanning all CIEs - -benefit not completely clear outside of the ARM context of flexible register -sets. - -Index: gdb-6.3/gdb/dwarf2-frame.c -=================================================================== ---- gdb-6.3.orig/gdb/dwarf2-frame.c 2004-11-15 11:54:57.000000000 -0500 -+++ gdb-6.3/gdb/dwarf2-frame.c 2004-12-08 18:02:23.896409471 -0500 -@@ -705,9 +705,12 @@ dwarf2_frame_cache (struct frame_info *n - table. We need a way of iterating through all the valid - DWARF2 register numbers. */ - if (fs->regs.reg[column].how == DWARF2_FRAME_REG_UNSPECIFIED) -- complaint (&symfile_complaints, -- "Incomplete CFI data; unspecified registers at 0x%s", -- paddr (fs->pc)); -+ { -+ if (0) -+ complaint (&symfile_complaints, -+ "Incomplete CFI data; unspecified registers at 0x%s", -+ paddr (fs->pc)); -+ } - else - cache->reg[regnum] = fs->regs.reg[column]; - } |