mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-27 04:46:58 +00:00
* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here from x86-64-tdep.h
This commit is contained in:
parent
dd824b049b
commit
33a0a2ac44
@ -1,3 +1,9 @@
|
||||
2002-03-10 Michal Ludvig <mludvig@suse.cz>
|
||||
|
||||
* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
|
||||
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
|
||||
from x86-64-tdep.h
|
||||
|
||||
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
|
||||
Don Howard <dhoward@redhat.com>
|
||||
|
||||
|
@ -33,6 +33,18 @@
|
||||
#include <sys/debugreg.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/procfs.h>
|
||||
#include <sys/reg.h>
|
||||
|
||||
/* Mapping between the general-purpose registers in `struct user'
|
||||
format and GDB's register array layout. */
|
||||
|
||||
static int x86_64_regmap[] = {
|
||||
RAX, RDX, RCX, RBX,
|
||||
RSI, RDI, RBP, RSP,
|
||||
R8, R9, R10, R11,
|
||||
R12, R13, R14, R15,
|
||||
RIP, EFLAGS
|
||||
};
|
||||
|
||||
static unsigned long
|
||||
x86_64_linux_dr_get (int regnum)
|
||||
|
@ -24,18 +24,6 @@
|
||||
#define X86_64_TDEP_H
|
||||
|
||||
#include "i386-tdep.h"
|
||||
#include <sys/reg.h>
|
||||
|
||||
/* Mapping between the general-purpose registers in `struct user'
|
||||
format and GDB's register array layout. */
|
||||
|
||||
static int x86_64_regmap[] = {
|
||||
RAX, RDX, RCX, RBX,
|
||||
RSI, RDI, RBP, RSP,
|
||||
R8, R9, R10, R11,
|
||||
R12, R13, R14, R15,
|
||||
RIP, EFLAGS
|
||||
};
|
||||
|
||||
/* Number of all registers */
|
||||
#define X86_64_NUM_REGS (51)
|
||||
|
Loading…
x
Reference in New Issue
Block a user