Line 1... |
Line 1... |
/*
|
/*
|
******************************************************************************
|
******************************************************************************
|
******************************************************************************
|
******************************************************************************
|
*
|
*
|
* COPYRIGHT (C) by EMC Corporation, 1997 All rights reserved.
|
* COPYRIGHT (C) by EMC Corporation, 1997 All rights reserved.
|
* $Id: gdb_c_test.c 24 2009-05-25 10:33:11Z jeremybennett $
|
|
* DESCRIPTION: This module has been provided for the purpose of testing GDB.
|
* DESCRIPTION: This module has been provided for the purpose of testing GDB.
|
*
|
*
|
* NOTES:
|
* NOTES:
|
*
|
*
|
******************************************************************************
|
******************************************************************************
|
Line 511... |
Line 510... |
local_long = local_reg + 1;
|
local_long = local_reg + 1;
|
stack_ptr = (unsigned long *) &local_long;
|
stack_ptr = (unsigned long *) &local_long;
|
end_of_stack =
|
end_of_stack =
|
(unsigned long) &stack_ptr + sizeof(stack_ptr) + sizeof(end_of_stack) - 1;
|
(unsigned long) &stack_ptr + sizeof(stack_ptr) + sizeof(end_of_stack) - 1;
|
|
|
printp ("\n$Id: gdb_c_test.c 24 2009-05-25 10:33:11Z jeremybennett $\n");
|
printp ("\n$Id: gdb_c_test.c 131 2010-06-18 14:14:57Z jeremybennett $\n");
|
|
|
printp( "%s: arguments = %X, %X, %X, %X, %X, %X\n",
|
printp( "%s: arguments = %X, %X, %X, %X, %X, %X\n",
|
p, parm[ 1 ], parm[ 2 ], parm[ 3 ], parm[ 4 ], parm[ 5 ], parm[ 6 ] );
|
p, parm[ 1 ], parm[ 2 ], parm[ 3 ], parm[ 4 ], parm[ 5 ], parm[ 6 ] );
|
|
|
gdb_char_test = gdb_struct1_test.c = (char) ((long) parm[1] & 0xff);
|
gdb_char_test = gdb_struct1_test.c = (char) ((long) parm[1] & 0xff);
|