- gdb-aarch64-hw-break.patch: fix setting hardware debug registers after fork - Merge from fedoras gdb-7.6.50-20130731-cvs, of what will become 7.7 eventually. This includes 7.6, which gave: * new native configurations (e.g. ARM AArch64 GNU/Linux) * new targets (e.g. ARM AArch64, Lynx 178 PowerPC, x86_64/Cygwin) * support for the "mini debuginfo" section, .gnu_debugdata * the C++ ABI now defaults to the GNU v3 ABI * more Python scripting improvements * some GDB/MI improvements * new configure options, new commands, and options * new remote packets * a new "target record-btrace" has been added while the "target record" command has been renamed to "target record-full" - gdb-ia64-tdep.patch: build fixes - gdb-ppc-ptrace.diff: Remove patch, not needed on new kernels OBS-URL: https://build.opensuse.org/request/show/198490 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=93
22 lines
1007 B
Diff
22 lines
1007 B
Diff
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379
|
|
|
|
|
|
Index: gdb-7.6.50.20130731-cvs/gdb/symtab.c
|
|
===================================================================
|
|
--- gdb-7.6.50.20130731-cvs.orig/gdb/symtab.c 2013-08-02 17:06:19.854663801 +0200
|
|
+++ gdb-7.6.50.20130731-cvs/gdb/symtab.c 2013-08-02 17:07:04.317721471 +0200
|
|
@@ -2327,6 +2327,13 @@ find_pc_sect_line (CORE_ADDR pc, struct
|
|
SYMBOL_LINKAGE_NAME (msymbol)); */
|
|
;
|
|
/* fall through */
|
|
+ /* `msymbol' trampoline may be located before its .text symbol
|
|
+ but this text symbol may be the address we were looking for.
|
|
+ Avoid `find_pc_sect_line'<->`find_pc_line' infinite loop.
|
|
+ Red Hat Bug 218379. */
|
|
+ else if (SYMBOL_VALUE (mfunsym) == pc)
|
|
+ warning ("In stub for %s (0x%s); interlocked, please submit the binary to http://bugzilla.redhat.com", SYMBOL_LINKAGE_NAME (msymbol.minsym), paddress (target_gdbarch (), pc));
|
|
+ /* fall through */
|
|
else
|
|
return find_pc_line (SYMBOL_VALUE_ADDRESS (mfunsym), 0);
|
|
}
|