mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 22:15:12 +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:
@ -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>
|
2002-08-16 Joel Brobecker <brobecker@gnat.com>
|
||||||
|
|
||||||
* config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
|
* 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. */
|
/* Stuff for WIN32 PE style DLL's but is pretty generic really. */
|
||||||
|
|
||||||
CORE_ADDR
|
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) */
|
if (pc && read_memory_unsigned_integer (pc, 2) == 0x25ff) /* jmp *(dest) */
|
||||||
{
|
{
|
||||||
|
@ -160,6 +160,9 @@ struct gdbarch_tdep
|
|||||||
/* Size of the largest register. */
|
/* Size of the largest register. */
|
||||||
#define I386_MAX_REGISTER_SIZE 16
|
#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. */
|
/* Return the name of register REG. */
|
||||||
extern char const *i386_register_name (int reg);
|
extern char const *i386_register_name (int reg);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user