summaryrefslogtreecommitdiff
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
commitd3b21b8aebf7c29d658c1c81d1ea500840c0cdf5 (patch)
tree444a7049e4e9630c9bcc6872bbbd8ef0227a0f70 /gdb/remote-vx.c
parent722d3a621abd15e03bedb0ec2eb5e70371ba9e6d (diff)
downloadgdb-d3b21b8aebf7c29d658c1c81d1ea500840c0cdf5.tar.gz
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 0bd8c52052a..39d18e422d9 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;
}