forked from Imagelibrary/binutils-gdb
import gdb-1999-07-07 post reformat
This commit is contained in:
@@ -1,21 +1,22 @@
|
||||
/* Parameters for execution on a Mitsubishi m32r processor.
|
||||
Copyright 1996, 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. */
|
||||
|
||||
/* Used by mswin. */
|
||||
#define TARGET_M32R 1
|
||||
@@ -108,15 +109,15 @@ struct value;
|
||||
int using_frame_pointer;
|
||||
|
||||
|
||||
extern void m32r_init_extra_frame_info PARAMS ((struct frame_info *fi));
|
||||
extern void m32r_init_extra_frame_info PARAMS ((struct frame_info * fi));
|
||||
/* mvs_check INIT_EXTRA_FRAME_INFO */
|
||||
#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) m32r_init_extra_frame_info (fi)
|
||||
/* mvs_no_check INIT_FRAME_PC */
|
||||
#define INIT_FRAME_PC /* Not necessary */
|
||||
|
||||
extern void
|
||||
m32r_frame_find_saved_regs PARAMS ((struct frame_info *fi,
|
||||
struct frame_saved_regs *regaddr));
|
||||
extern void
|
||||
m32r_frame_find_saved_regs PARAMS ((struct frame_info * fi,
|
||||
struct frame_saved_regs * regaddr));
|
||||
|
||||
/* Put here the code to store, into a struct frame_saved_regs,
|
||||
the addresses of the saved registers of frame described by FRAME_INFO.
|
||||
@@ -128,15 +129,15 @@ m32r_frame_find_saved_regs PARAMS ((struct frame_info *fi,
|
||||
#define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \
|
||||
m32r_frame_find_saved_regs(frame_info, &(frame_saved_regs))
|
||||
|
||||
extern CORE_ADDR m32r_frame_chain PARAMS ((struct frame_info *fi));
|
||||
extern CORE_ADDR m32r_frame_chain PARAMS ((struct frame_info * fi));
|
||||
/* mvs_check FRAME_CHAIN */
|
||||
#define FRAME_CHAIN(fi) m32r_frame_chain (fi)
|
||||
|
||||
#define FRAME_CHAIN_VALID(fp, frame) generic_frame_chain_valid (fp, frame)
|
||||
|
||||
extern CORE_ADDR m32r_find_callers_reg PARAMS ((struct frame_info *fi,
|
||||
extern CORE_ADDR m32r_find_callers_reg PARAMS ((struct frame_info * fi,
|
||||
int regnum));
|
||||
extern CORE_ADDR m32r_frame_saved_pc PARAMS((struct frame_info *));
|
||||
extern CORE_ADDR m32r_frame_saved_pc PARAMS ((struct frame_info *));
|
||||
/* mvs_check FRAME_SAVED_PC */
|
||||
#define FRAME_SAVED_PC(fi) m32r_frame_saved_pc (fi)
|
||||
|
||||
@@ -198,7 +199,7 @@ extern use_struct_convention_fn m32r_use_struct_convention;
|
||||
|
||||
/* target-specific dummy_frame stuff */
|
||||
|
||||
extern struct frame_info *m32r_pop_frame PARAMS ((struct frame_info *frame));
|
||||
extern struct frame_info *m32r_pop_frame PARAMS ((struct frame_info * frame));
|
||||
/* mvs_check POP_FRAME */
|
||||
#define POP_FRAME m32r_pop_frame (get_current_frame ())
|
||||
|
||||
@@ -206,8 +207,8 @@ extern struct frame_info *m32r_pop_frame PARAMS ((struct frame_info *frame));
|
||||
/* #define STACK_ALIGN(x) ((x + 3) & ~3) */
|
||||
|
||||
extern CORE_ADDR m32r_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR));
|
||||
extern CORE_ADDR m32r_push_arguments PARAMS ((int nargs,
|
||||
struct value **args,
|
||||
extern CORE_ADDR m32r_push_arguments PARAMS ((int nargs,
|
||||
struct value ** args,
|
||||
CORE_ADDR sp,
|
||||
unsigned char struct_return,
|
||||
CORE_ADDR struct_addr));
|
||||
|
||||
Reference in New Issue
Block a user