* i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
authorJoel Brobecker <brobecker@gnat.com>
Fri, 16 Aug 2002 22:44:00 +0000 (22:44 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 16 Aug 2002 22:44:00 +0000 (22:44 +0000)
        skip_trampoline_code, for better namespace-proofing.

        * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.

gdb/ChangeLog
gdb/i386-tdep.c
gdb/i386-tdep.h

index 4e51c27ad3ce24f50782461edaf73edb02f01253..1d30d69c9266cd0f948ac2e7d4d7b90c801e540f 100644 (file)
@@ -1,3 +1,10 @@
+2002-08-16  Joel Brobecker  <brobecker@gnat.com>
+
+       * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
+       skip_trampoline_code, for better namespace-proofing.   
+
+       * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.
+
 2002-08-16  Joel Brobecker  <brobecker@gnat.com>
 
        * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
index 39d3bddda3419f2da9418d13824d6683c8a07493..251dff0ad2ea229f4700100ebff6a8970dc94bc3 100644 (file)
@@ -1254,7 +1254,7 @@ sunpro_static_transform_name (char *name)
 /* Stuff for WIN32 PE style DLL's but is pretty generic really.  */
 
 CORE_ADDR
-skip_trampoline_code (CORE_ADDR pc, char *name)
+i386_pe_skip_trampoline_code (CORE_ADDR pc, char *name)
 {
   if (pc && read_memory_unsigned_integer (pc, 2) == 0x25ff) /* jmp *(dest) */
     {
index 1fa641330126fbc72f25bb405c7d9352f0010932..8f5c13ca319a34bd93fe35466eed8a749487f55e 100644 (file)
@@ -160,6 +160,9 @@ struct gdbarch_tdep
 /* Size of the largest register.  */
 #define I386_MAX_REGISTER_SIZE 16
 
+/* Functions exported from i386-tdep.c.  */
+extern CORE_ADDR i386_pe_skip_trampoline_code (CORE_ADDR pc, char *name);
+
 /* Return the name of register REG.  */
 extern char const *i386_register_name (int reg);