Move generic_register_convertible_not and frame_num_args_unknown from

gdbarch.* to arch-utils.*.
This commit is contained in:
Andrew Cagney 2000-06-06 06:45:19 +00:00
parent ef31c1ea0e
commit 193e3b1a00
6 changed files with 31 additions and 46 deletions

View File

@ -1,3 +1,12 @@
Tue Jun 6 16:21:14 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh (generic_register_convertible_not,
frame_num_args_unknown): Move from here.
* arch-utils.c (generic_register_convertible_not,
frame_num_args_unknown): To here.
* arch-utils.h (frame_num_args_unknown): Add declaration.
* gdbarch.h, gdbarch.c: Re-generate.
Tue Jun 6 15:07:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-mips.c (mips_open): Select the default monitor prompt

View File

@ -206,6 +206,23 @@ default_double_format (struct gdbarch *gdbarch)
}
}
/* Misc helper functions for targets. */
int
frame_num_args_unknown (fi)
struct frame_info *fi;
{
return -1;
}
int
generic_register_convertible_not (num)
int num;
{
return 0;
}
/* */
extern initialize_file_ftype __initialize_gdbarch_utils;

View File

@ -67,4 +67,9 @@ extern int core_addr_greaterthan (CORE_ADDR lhs, CORE_ADDR rhs);
extern const struct floatformat *default_float_format (struct gdbarch *gdbarch);
extern const struct floatformat *default_double_format (struct gdbarch *gdbarch);
/* Helper function for targets that don't know how my arguments are
being passed */
extern int frame_num_args_unknown (struct frame_info *fi);
#endif

View File

@ -3613,24 +3613,6 @@ set_architecture_from_file (bfd *abfd)
}
/* Misc helper functions for targets. */
int
frame_num_args_unknown (fi)
struct frame_info *fi;
{
return -1;
}
int
generic_register_convertible_not (num)
int num;
{
return 0;
}
/* Disassembler */
/* Pointer to the target-dependent disassembly function. */

View File

@ -1408,11 +1408,6 @@ extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned lon
extern void initialize_current_architecture (void);
/* Helper function for targets that don't know how my arguments are
being passed */
extern int frame_num_args_unknown (struct frame_info *fi);
/* gdbarch trace variable */
extern int gdbarch_debug;

View File

@ -898,11 +898,6 @@ extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned lon
extern void initialize_current_architecture (void);
/* Helper function for targets that don't know how my arguments are
being passed */
extern int frame_num_args_unknown (struct frame_info *fi);
/* gdbarch trace variable */
extern int gdbarch_debug;
@ -2065,24 +2060,6 @@ set_architecture_from_file (bfd *abfd)
}
/* Misc helper functions for targets. */
int
frame_num_args_unknown (fi)
struct frame_info *fi;
{
return -1;
}
int
generic_register_convertible_not (num)
int num;
{
return 0;
}
/* Disassembler */
/* Pointer to the target-dependent disassembly function. */