aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-02-08 06:03:54 +0000
committerAndrew Cagney <cagney@redhat.com>2001-02-08 06:03:54 +0000
commit8e65ff28b0780a52bdbe067b6297a66f9ec4e16e (patch)
tree1cf3436ec5c6d3e4f4dedb4ee2ccfa2c107dc33b /gdb/remote-vx.c
parent8ca8f343f993cbe9937ef15e8cbbee95613c2016 (diff)
downloadfsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.zip
fsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.gz
fsf-binutils-gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.bz2
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index 40b31a5..f49fa72 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -976,7 +976,8 @@ vx_wait (int pid_to_wait_for, struct target_waitstatus *status)
sleep_ms (200); /* FIXME Don't kill the network too badly */
}
else if (pid != inferior_pid)
- internal_error ("Bad pid for debugged task: %s\n",
+ internal_error (__FILE__, __LINE__,
+ "Bad pid for debugged task: %s\n",
local_hex_string ((unsigned long) pid));
}
while (pid == 0);