projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #273 from joncham/bug-getpid
[mono.git]
/
mono
/
mini
/
debugger-agent.c
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 27c785afc0c2c149ee7b0b49f83922da6424deca..9eb0c294976101e19a897b123a68ea96c221124d 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-895,7
+895,7
@@
mono_debugger_agent_parse_options (char *options)
/* Waiting for deferred attachment */
agent_config.defer = TRUE;
if (agent_config.address == NULL) {
/* Waiting for deferred attachment */
agent_config.defer = TRUE;
if (agent_config.address == NULL) {
- agent_config.address = g_strdup_printf ("0.0.0.0:%u", 56000 + (
GetCurrentProcessI
d () % 1000));
+ agent_config.address = g_strdup_printf ("0.0.0.0:%u", 56000 + (
getpi
d () % 1000));
}
}
}
}