* target.h (target_get_osdata): Describe.
authorPedro Alves <palves@redhat.com>
Tue, 2 Dec 2008 15:52:15 +0000 (15:52 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 2 Dec 2008 15:52:15 +0000 (15:52 +0000)
commite0665bc852e60fc131ce6606e433102371f95f69
tree7d71df915b225241c5f89a422817f42f0ebb4085
parente0740f779c1471fbc565ceedae93dea09bc0eadf
* target.h (target_get_osdata): Describe.
* osdata.h (make_cleanup_osdata_free): Declare.
* osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is
not defined.
(osdata_free_cleanup): New.
(make_cleanup_osdata_free): New.
(get_osdata): Fix leak.
(info_osdata_command): Use make_cleanup_osdata_free.
(info_processes_command): Delete.
(_initialize_osdata): Drop undocumented "info processes" alias.
* mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.
gdb/ChangeLog
gdb/mi/mi-main.c
gdb/osdata.c
gdb/osdata.h
gdb/target.h