diff options
Diffstat (limited to 'gdb/config/tic80/tm-tic80.h')
-rw-r--r-- | gdb/config/tic80/tm-tic80.h | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/gdb/config/tic80/tm-tic80.h b/gdb/config/tic80/tm-tic80.h index 89aab87..0ec4887 100644 --- a/gdb/config/tic80/tm-tic80.h +++ b/gdb/config/tic80/tm-tic80.h @@ -2,26 +2,27 @@ Copyright 1997 Free Software Foundation, Inc. -This file is part of GDB. + This file is part of GDB. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #ifndef TM_TIC80_H #define TM_TIC80_H -#ifdef __STDC__ /* Forward declare structs used in prototypes */ +#ifdef __STDC__ /* Forward declare structs used in prototypes */ struct frame_info; struct type; struct value; @@ -56,9 +57,9 @@ struct frame_saved_regs; #define A0_REGNUM 34 /* Accumulator register 0 */ #define A3_REGNUM 37 /* Accumulator register 1 */ -#define R0_REGNUM 0 /* General Purpose Register 0 - for sim */ -#define Rn_REGNUM 31 /* Last General Purpose Register - for sim */ -#define An_REGNUM A3_REGNUM /* Last Accumulator register - for sim */ +#define R0_REGNUM 0 /* General Purpose Register 0 - for sim */ +#define Rn_REGNUM 31 /* Last General Purpose Register - for sim */ +#define An_REGNUM A3_REGNUM /* Last Accumulator register - for sim */ /* Total amount of space needed to store our copies of the machine's register state, the array `registers'. */ @@ -116,12 +117,12 @@ struct frame_saved_regs; This is often the number of bytes in BREAKPOINT but not always. */ -#define DECR_PC_AFTER_BREAK 0 /* FIXME! */ +#define DECR_PC_AFTER_BREAK 0 /* FIXME! */ /* Discard from the stack the innermost frame, restoring all registers. */ #define POP_FRAME tic80_pop_frame(get_current_frame ()) -extern struct frame_info *tic80_pop_frame PARAMS ((struct frame_info *frame)); +extern struct frame_info *tic80_pop_frame PARAMS ((struct frame_info * frame)); /* Return number of bytes at start of arglist that are not really args. */ @@ -149,7 +150,7 @@ extern struct frame_info *tic80_pop_frame PARAMS ((struct frame_info *frame)); int frameoffset; \ int framereg; -extern void tic80_init_extra_frame_info PARAMS ((struct frame_info *fi)); +extern void tic80_init_extra_frame_info PARAMS ((struct frame_info * fi)); #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) tic80_init_extra_frame_info (fi) #define INIT_FRAME_PC /* Not necessary */ @@ -217,8 +218,8 @@ extern CORE_ADDR tic80_frame_saved_pc PARAMS ((struct frame_info *)); /* PUSH_ARGUMENTS */ -extern CORE_ADDR tic80_push_arguments PARAMS ((int nargs, - struct value **args, +extern CORE_ADDR tic80_push_arguments PARAMS ((int nargs, + struct value ** args, CORE_ADDR sp, unsigned char struct_return, CORE_ADDR struct_addr)); @@ -249,4 +250,4 @@ extern CORE_ADDR tic80_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR)); #define PUSH_DUMMY_FRAME generic_push_dummy_frame () #define PC_IN_CALL_DUMMY(PC, SP, FP) generic_pc_in_call_dummy (PC, SP, FP) -#endif /* TM_TIC80_H */ +#endif /* TM_TIC80_H */ |