mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user