From 4e005f2e7fb326a6a5414d832aab826108f6d8ed Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 2 Aug 2000 05:17:27 +0000 Subject: [PATCH] Update function signatures to match target vector. --- gdb/ChangeLog | 6 ++++++ gdb/MAINTAINERS | 2 +- gdb/remote-udi.c | 7 ++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f3d1ab807a..d0adb91f13 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 2 13:06:25 2000 Andrew Cagney + + * remote-udi.c (udi_xfer_inferior_memory, udi_files_info, + udi_kill): Update function signatures so that match target vector. + * MAINTAINERS: Update. + Wed Aug 2 11:04:15 2000 Andrew Cagney * TODO: Updates. diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index e4127965e2..21bd3af453 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -30,7 +30,7 @@ variants. *-tdep.c. The Target/Architecture maintainer works with the host maintainer when resolving build issues. The Target/Architecture maintainer works with the native maintainer when resolving API issues. - a29k maintenance only (a29k-amd-udi) + a29k maintenance only (a29k-amd-udi -Werror) alpha maintenance only (alpha-dec-osf4.0a) arc maintenance only (arc-elf) diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 7127ca61ad..febcf5c5ac 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -922,7 +922,8 @@ translate_addr (CORE_ADDR addr) /************************************************* UDI_XFER_INFERIOR_MEMORY */ /* FIXME! Merge these two. */ static int -udi_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, int write) +udi_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, + struct target_ops * target) { memaddr = translate_addr (memaddr); @@ -935,7 +936,7 @@ udi_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, int write) /********************************************************** UDI_FILES_INFO */ static void -udi_files_info (void) +udi_files_info (struct target_ops *target) { printf_unfiltered ("\tAttached to UDI socket to %s", udi_config_id); if (prog_name != NULL) @@ -998,7 +999,7 @@ udi_remove_breakpoint (CORE_ADDR addr, char *contents_cache) } static void -udi_kill (char *arg, int from_tty) +udi_kill (void) { #if 0