summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-15 12:30:56 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-15 12:30:56 +0000
commitd11974bb6711610aa9e0c7be96ab66b334eacf2f (patch)
tree8a23c498c33dedb1fc0971c36e2f9b3eebc06ea2 /gdb
parentdcf6c1260613799bbea291b9366be14f18a6a8ca (diff)
downloadgdb-d11974bb6711610aa9e0c7be96ab66b334eacf2f.tar.gz
2003-06-15 Andrew Cagney <cagney@redhat.com>
* rdi-share/host.h (Fail): Change to a varargs function. * remote-rdi.c (Fail): Update.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rdi-share/host.h2
-rw-r--r--gdb/remote-rdi.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bc4f971c605..b34da64cdf5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-15 Andrew Cagney <cagney@redhat.com>
+
+ * rdi-share/host.h (Fail): Change to a varargs function.
+ * remote-rdi.c (Fail): Update.
+
2003-06-15 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_next_regnum): Fix bounds checking.
diff --git a/gdb/rdi-share/host.h b/gdb/rdi-share/host.h
index 21010722758..121a823fcd9 100644
--- a/gdb/rdi-share/host.h
+++ b/gdb/rdi-share/host.h
@@ -215,6 +215,6 @@ extern double strtod(const char *str, char **ptr);
#endif
/* Needs to be supplied by the host. */
-extern void Fail (const char *);
+extern void Fail (const char *, ...);
/* end of host.h */
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index c42de2f356b..a868f3806c5 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -1066,7 +1066,7 @@ _initialize_remote_rdi (void)
/* A little dummy to make linking with the library succeed. */
void
-Fail (const char *ignored)
+Fail (const char *ignored, ...)
{
}