[xtensa-cvscommit] linux/arch/xtensa/kernel process.c,1.4,1.5
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-01-27 18:24:47
|
Update of /cvsroot/xtensa/linux/arch/xtensa/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv31452/arch/xtensa/kernel
Modified Files:
process.c
Log Message:
Structural changes which are more compatible with gdb sources.
Index: process.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/kernel/process.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** process.c 25 Jan 2003 03:12:45 -0000 1.4
--- process.c 27 Jan 2003 18:24:41 -0000 1.5
***************
*** 329,341 ****
/* do_copy_regs() gathers information from 'struct pt_regs' and
! * 'current->thread.aregs[]' to fill in the elf_gregset_t structure.
*
! * elf_gregset_t and 'struct pt_regs' are vastly different formats of
! * processor registers. Besides different ordering, elf_gregset_t
! * contains non-live register information that 'struct pt_regs' does
! * not. Exception handling (primarily) uses 'struct pt_regs'. Core
! * files and ptrace use elf_gregset_t. */
! void do_copy_regs (elf_gregset_t *elfregs, struct pt_regs *regs, struct task_struct *tsk)
{
int i, wb_offset; /* wb_offset must be signed */
--- 329,342 ----
/* do_copy_regs() gathers information from 'struct pt_regs' and
! * 'current->thread.aregs[]' to fill in the xtensa_gregset_t
! * structure.
*
! * xtensa_gregset_t and 'struct pt_regs' are vastly different formats
! * of processor registers. Besides different ordering,
! * xtensa_gregset_t contains non-live register information that
! * 'struct pt_regs' does not. Exception handling (primarily) uses
! * 'struct pt_regs'. Core files and ptrace use xtensa_gregset_t. */
! void do_copy_regs (xtensa_gregset_t *elfregs, struct pt_regs *regs, struct task_struct *tsk)
{
int i, wb_offset; /* wb_offset must be signed */
***************
*** 384,388 ****
}
! void xtensa_elf_core_copy_regs (elf_gregset_t *elfregs, struct pt_regs *regs)
{
do_copy_regs (elfregs, regs, current);
--- 385,389 ----
}
! void xtensa_elf_core_copy_regs (xtensa_gregset_t *elfregs, struct pt_regs *regs)
{
do_copy_regs (elfregs, regs, current);
***************
*** 392,396 ****
/* The inverse of do_copy_regs(). No error or sanity checking. */
! void do_restore_regs (elf_gregset_t *elfregs, struct pt_regs *regs, struct task_struct *tsk)
{
int i, wb_offset; /* wb_offset must be signed */
--- 393,397 ----
/* The inverse of do_copy_regs(). No error or sanity checking. */
! void do_restore_regs (xtensa_gregset_t *elfregs, struct pt_regs *regs, struct task_struct *tsk)
{
int i, wb_offset; /* wb_offset must be signed */
|