From 3bd3f01e7646b01b68efe47e0f158437183c82c7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 15 Jun 2003 12:30:56 +0000 Subject: [PATCH] 2003-06-15 Andrew Cagney * rdi-share/host.h (Fail): Change to a varargs function. * remote-rdi.c (Fail): Update. --- gdb/ChangeLog | 5 +++++ gdb/rdi-share/host.h | 2 +- gdb/remote-rdi.c | 2 +- 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 + + * rdi-share/host.h (Fail): Change to a varargs function. + * remote-rdi.c (Fail): Update. + 2003-06-15 Mark Kettenis * 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, ...) { } -- 2.7.4