diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-18 00:34:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-18 00:34:51 +0000 |
commit | afd64b4e2d76f981f6828f9f55fcc03784d6915b (patch) | |
tree | d7ff965b4de2e878cc56395a461468cf4690bb81 | |
parent | 4bb5e078a2ea5a8bba325e6d5c1beb4d5bdadb23 (diff) | |
download | gdb-afd64b4e2d76f981f6828f9f55fcc03784d6915b.zip gdb-afd64b4e2d76f981f6828f9f55fcc03784d6915b.tar.gz gdb-afd64b4e2d76f981f6828f9f55fcc03784d6915b.tar.bz2 |
Protoization.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/m88k-nat.c | 3 | ||||
-rw-r--r-- | gdb/m88k-tdep.c | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48a46b9..e9e591c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-17 Kevin Buettner <kevinb@redhat.com> + + * m88k-nat.c (fetch_inferior_registers): Protoize. + * m88k-tdep.c (m88k_skip_prologue): Protoize. + 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com> * varobj.c (varobj_set_value): Call wrapped version of diff --git a/gdb/m88k-nat.c b/gdb/m88k-nat.c index 56ef951..0ce30e7 100644 --- a/gdb/m88k-nat.c +++ b/gdb/m88k-nat.c @@ -62,8 +62,7 @@ extern jmp_buf stack_jmp; extern int errno; void -fetch_inferior_registers (regno) - int regno; /* Original value discarded */ +fetch_inferior_registers (int regno) { register unsigned int regaddr; char buf[MAX_REGISTER_RAW_SIZE]; diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index 1cdd4e5..afe1ca2 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -401,8 +401,7 @@ end_of_prologue_found: prologue. */ CORE_ADDR -m88k_skip_prologue (ip) -CORE_ADDR (ip); +m88k_skip_prologue (CORE_ADDR ip) { struct frame_saved_regs saved_regs_dummy; struct symtab_and_line sal; |