diff options
Diffstat (limited to 'gdb/i386aix-nat.c')
-rw-r--r-- | gdb/i386aix-nat.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gdb/i386aix-nat.c b/gdb/i386aix-nat.c index 0a432dd..c32f151 100644 --- a/gdb/i386aix-nat.c +++ b/gdb/i386aix-nat.c @@ -314,12 +314,21 @@ static int core_regmap[] = CD_DS, CD_ES, CD_FS, CD_GS, }; +/* Provide registers to GDB from a core file. + + CORE_REG_SECT points to an array of bytes, which were obtained from + a core file which BFD thinks might contain register contents. + CORE_REG_SIZE is its size. + + WHICH says which register set corelow suspects this is: + 0 --- the general-purpose register set + 2 --- the floating-point register set + + REG_ADDR isn't used. */ + static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; - unsigned core_reg_size; - int which; - CORE_ADDR reg_addr; /* ignored */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, + int which, CORE_ADDR reg_addr) { if (which == 0) |