mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* 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:
parent
0851f23d27
commit
1cce71eb0e
@ -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.
|
||||
|
@ -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) */
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user