This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Some stray IN_SOLIB_CALL_TRAMPOLINE macros


Just FYI, another #define and #undef.  Again removed.
Andrew
2004-10-31  Andrew Cagney  <cagney@gnu.org>

	* config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE.
	* config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete.
	(in_plt_section): Delete.

Index: config/tm-sysv4.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tm-sysv4.h,v
retrieving revision 1.4
diff -p -u -r1.4 tm-sysv4.h
--- config/tm-sysv4.h	11 Oct 2002 14:02:38 -0000	1.4
+++ config/tm-sysv4.h	31 Oct 2004 23:59:53 -0000
@@ -20,17 +20,6 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-/* For SVR4 shared libraries, each call to a library routine goes through
-   a small piece of trampoline code in the ".plt" section.
-   The horribly ugly wait_for_inferior() routine uses this macro to detect
-   when we have stepped into one of these fragments.
-   We do not use lookup_solib_trampoline_symbol_by_pc, because
-   we cannot always find the shared library trampoline symbols
-   (e.g. on Irix5).  */
-
-#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) in_plt_section((pc), (name))
-extern int in_plt_section (CORE_ADDR, char *);
-
 /* If PC is in a shared library trampoline code, return the PC
    where the function itself actually starts.  If not, return 0.  */
 
Index: config/pa/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-linux.h,v
retrieving revision 1.2
diff -p -u -r1.2 tm-linux.h
--- config/pa/tm-linux.h	19 May 2004 02:20:11 -0000	1.2
+++ config/pa/tm-linux.h	31 Oct 2004 23:59:53 -0000
@@ -24,7 +24,6 @@
 #include "pa/tm-hppa.h"
 #include "config/tm-linux.h"
 
-#undef IN_SOLIB_CALL_TRAMPOLINE
 #undef SKIP_TRAMPOLINE_CODE
 
 #endif /* #ifndef TM_LINUX_H */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]