Allow "set sysroot" with no argument to restore sysroot to empty
authorGary Benson <gbenson@redhat.com>
Thu, 12 Mar 2015 11:44:16 +0000 (11:44 +0000)
committerGary Benson <gbenson@redhat.com>
Thu, 12 Mar 2015 11:44:16 +0000 (11:44 +0000)
commit811a659a779fdf93293fe1105d99e9db171a8b68
tree6eda98100942e9e83bcd1c9110ec351cd73c02d4
parent943c8b4393ca97b6c4805c724069028be6955b89
Allow "set sysroot" with no argument to restore sysroot to empty

This commit creates the "set/show sysroot" commands using
add_setshow_optional_filename_cmd to allow the sysroot to
be restored to empty after being set.

gdb/ChangeLog:

* solib.c (_initialize_solib): Make "set/show sysroot" use
add_setshow_optional_filename_cmd so it can be restored to
empty after being set.
gdb/ChangeLog
gdb/solib.c