aboutsummaryrefslogtreecommitdiff
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
commit3bd3f01e7646b01b68efe47e0f158437183c82c7 (patch)
tree7b98843459b5a0aa304f7cee0dca83df9b327341 /gdb
parentde5b9bb93a97c218441ce891c4fa0dc0787f1626 (diff)
downloadfsf-binutils-gdb-3bd3f01e7646b01b68efe47e0f158437183c82c7.zip
fsf-binutils-gdb-3bd3f01e7646b01b68efe47e0f158437183c82c7.tar.gz
fsf-binutils-gdb-3bd3f01e7646b01b68efe47e0f158437183c82c7.tar.bz2
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 bc4f971..b34da64 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 2101072..121a823 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 c42de2f..a868f38 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, ...)
{
}