aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-12-17 00:39:08 +0000
committerKevin Buettner <kevinb@redhat.com>2002-12-17 00:39:08 +0000
commit231367095d5e01a7e3489d8333b43b94d2e1c58a (patch)
treea857f6ca2f28b469e935b67d801c958449168fbe /gdb/remote-vx.c
parentbcc61ecbbb7bddfcb182b707c6c760d5b6e7c4e2 (diff)
downloadgdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.zip
gdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.tar.gz
gdb-231367095d5e01a7e3489d8333b43b94d2e1c58a.tar.bz2
Replace complain() with complaint().
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index 0bd8c52..39d18e4 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -820,9 +820,6 @@ net_get_symbols (ldtabl *pLoadTable)
Returns status of symbol read on target side (0=success, -1=fail)
Returns -1 and complain()s if rpc fails. */
-struct deprecated_complaint cant_contact_target =
-{"Lost contact with VxWorks target", 0, 0};
-
static int
vx_lookup_symbol (char *name, /* symbol name */
CORE_ADDR *pAddr)
@@ -837,7 +834,7 @@ vx_lookup_symbol (char *name, /* symbol name */
xdr_SYMBOL_ADDR, &symbolAddr);
if (status != RPC_SUCCESS)
{
- complain (&cant_contact_target);
+ complaint (&symfile_complaints, "Lost contact with VxWorks target");
return -1;
}