Corrupted path caused by "cd" command.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 25 Apr 2012 15:14:59 +0000 (15:14 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 25 Apr 2012 15:14:59 +0000 (15:14 +0000)
commitb2a3b50908b8bfc54f21abfba0c351a41d6ef65f
tree3e9c131621c47fbe267ca1935d1f89b32590bcf4
parenta766d390bb857383a5f9ae80a102e1f8705f4c2e
Corrupted path caused by "cd" command.

gdb/ChangeLog:

* cli/cli-cmds.c (cd_command): Use memmove instead of strcpy.
gdb/ChangeLog
gdb/cli/cli-cmds.c