* kod.c (kod_set_os): Revert previous change. Is called by ``info
authorAndrew Cagney <cagney@redhat.com>
Sun, 17 Mar 2002 19:29:37 +0000 (19:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 17 Mar 2002 19:29:37 +0000 (19:29 +0000)
commitb51450c9ff9fe4a30bdc760802e69d313345c838
tree381a11ec6f26129d1c8c372ed91c3297595c5164
parent8e694ecf1662b94f20df6427b91967579f8cca11
* kod.c (kod_set_os): Revert previous change.  Is called by ``info
set'' and this leads to a core dump.  Move xstrdup of
operating_system to after check that it is not NULL.
gdb/ChangeLog
gdb/kod.c