diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-06-06 06:45:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-06-06 06:45:19 +0000 |
commit | 193e3b1a003032346e7eea1f7301de2809d6013d (patch) | |
tree | c742cb15ce008c739861b7fee52f2553e101bb6d /gdb/arch-utils.c | |
parent | ef31c1ea0efc1e66638a426acfe9678f25ebe8c0 (diff) | |
download | binutils-193e3b1a003032346e7eea1f7301de2809d6013d.zip binutils-193e3b1a003032346e7eea1f7301de2809d6013d.tar.gz binutils-193e3b1a003032346e7eea1f7301de2809d6013d.tar.bz2 |
Move generic_register_convertible_not and frame_num_args_unknown from
gdbarch.* to arch-utils.*.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index be2433d..1cd8652 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -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; |