aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-tdep.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
commitd4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch)
tree408b74c26833555087f04f4ec466afd488af6087 /gdb/arc-tdep.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadgdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.zip
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.bz2
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/arc-tdep.c')
-rw-r--r--gdb/arc-tdep.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 6e0cf8d..c8e4cc7 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -27,6 +27,10 @@
#include "symtab.h"
#include "gdbcmd.h"
+/* Local functions */
+
+static int arc_set_cpu_type (char *str);
+
/* Current CPU, set with the "set cpu" command. */
static int arc_bfd_mach_type;
char *arc_cpu_type;
@@ -404,7 +408,7 @@ frame_find_saved_regs (fip, fsrp)
}
void
-push_dummy_frame ()
+arc_push_dummy_frame (void)
{
CORE_ADDR sp = read_register (SP_REGNUM);
int regnum;
@@ -425,7 +429,7 @@ push_dummy_frame ()
}
void
-pop_frame ()
+arc_pop_frame (void)
{
struct frame_info *frame = get_current_frame ();
CORE_ADDR fp;
@@ -641,9 +645,7 @@ arc_print_insn (vma, info)
/* Command to set cpu type. */
void
-arc_set_cpu_type_command (args, from_tty)
- char *args;
- int from_tty;
+arc_set_cpu_type_command (char *args, int from_tty)
{
int i;
@@ -677,7 +679,7 @@ arc_show_cpu_type_command (args, from_tty)
/* Modify the actual cpu type.
Result is a boolean indicating success. */
-int
+static int
arc_set_cpu_type (str)
char *str;
{