mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
Move generic_register_convertible_not and frame_num_args_unknown from
gdbarch.* to arch-utils.*.
This commit is contained in:
parent
ef31c1ea0e
commit
193e3b1a00
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
@ -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;
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user