Add support for "orig_eax" pseudo register on Linux/x86.
authorMark Kettenis <kettenis@gnu.org>
Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 4 Nov 2001 14:06:16 +0000 (14:06 +0000)
commit6441c4a0260879c97d9116b3d0791224c1ad807b
treef1817f9f6a2ed63a821e1e89b7aa9ac312a8fa0a
parent1a11ba71e20375b800164239d54fad75d73fa22c
Add support for "orig_eax" pseudo register on Linux/x86.
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.
gdb/ChangeLog
gdb/config/i386/tm-linux.h
gdb/i386-linux-tdep.c