OSDN Git Service

* target.h (target_get_osdata): Describe.
authorPedro Alves <pedro@codesourcery.com>
Tue, 2 Dec 2008 15:52:13 +0000 (15:52 +0000)
committerPedro Alves <pedro@codesourcery.com>
Tue, 2 Dec 2008 15:52:13 +0000 (15:52 +0000)
commitc6cfd68af8ced76343f5cc446374af35e57a0802
treef398e787e4e12f8e15e0fed0eece938f8991ef46
parentff9d520b9dd390a2a8c2ac68a2f6b76a967ffe74
* 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