* 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.
This commit is contained in:
Joel Brobecker 2002-08-16 22:44:00 +00:00
parent 0851f23d27
commit 1cce71eb0e
3 changed files with 11 additions and 1 deletions

View 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.

View 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) */
{

View 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);