2006-12-23 21:32:21 +00:00
|
|
|
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379
|
|
|
|
|
|
|
|
|
2011-01-07 08:47:27 +00:00
|
|
|
Index: gdb-7.2.50.20110107/gdb/symtab.c
|
2008-07-14 09:09:04 +00:00
|
|
|
===================================================================
|
2011-01-07 08:47:27 +00:00
|
|
|
--- gdb-7.2.50.20110107.orig/gdb/symtab.c 2011-01-07 09:03:38.000000000 +0100
|
|
|
|
+++ gdb-7.2.50.20110107/gdb/symtab.c 2011-01-07 09:06:32.000000000 +0100
|
|
|
|
@@ -2014,6 +2014,13 @@ find_pc_sect_line (CORE_ADDR pc, struct
|
|
|
|
/* warning ("In stub for %s; unable to find real function/line info",
|
|
|
|
SYMBOL_LINKAGE_NAME (msymbol)) */ ;
|
2006-12-23 21:32:21 +00:00
|
|
|
/* 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)
|
2009-08-04 05:37:29 +00:00
|
|
|
+ warning ("In stub for %s (0x%s); interlocked, please submit the binary to http://bugzilla.redhat.com", SYMBOL_LINKAGE_NAME (msymbol), paddress (target_gdbarch, pc));
|
2006-12-23 21:32:21 +00:00
|
|
|
+ /* fall through */
|
|
|
|
else
|
2008-07-14 09:09:04 +00:00
|
|
|
return find_pc_line (SYMBOL_VALUE_ADDRESS (mfunsym), 0);
|
2006-12-23 21:32:21 +00:00
|
|
|
}
|