projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change inferior thread list to be a thread map
[deliverable/binutils-gdb.git]
/
gdb
/
go32-nat.c
diff --git
a/gdb/go32-nat.c
b/gdb/go32-nat.c
index 8c71bd7650fc01322d0d86fb49fa7c411ddca2a6..94972a2f5c281e705ea72a0d5c648c5dc94eb767 100644
(file)
--- a/
gdb/go32-nat.c
+++ b/
gdb/go32-nat.c
@@
-507,7
+507,8
@@
go32_nat_target::wait (ptid_t ptid, struct target_waitstatus *status,
}
getcwd (child_cwd, sizeof (child_cwd)); /* in case it has changed */
- chdir (current_directory);
+ if (current_directory != NULL)
+ chdir (current_directory);
if (a_tss.tss_irqn == 0x21)
{
This page took
0.026016 seconds
and
4
git commands to generate.