diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-02-04 12:45:49 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-02-04 12:45:49 +0000 |
commit | 2d33f7b84c60fc8fa2c9913d754edc54163355d6 (patch) | |
tree | ff256e374539bbeef2268be3f283783339e472f2 /gdb/darwin-nat-info.c | |
parent | 4dfe6ac6feb4515960e05c7c4a428b54318c75a3 (diff) | |
download | gdb-2d33f7b84c60fc8fa2c9913d754edc54163355d6.zip gdb-2d33f7b84c60fc8fa2c9913d754edc54163355d6.tar.gz gdb-2d33f7b84c60fc8fa2c9913d754edc54163355d6.tar.bz2 |
2010-02-04 Tristan Gingold <gingold@adacore.com>
* machoread.c (macho_add_oso): Renamed to macho_register_oso.
(macho_symtab_read): Adjust calls to macho_add_oso.
(macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
(macho_symfile_read): Adjust call to macho_oso_symfile.
(macho_new_init): Move this function after declarations.
(macho_symfile_init): Ditto.
* darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
* darwin-nat.c (darwin_lookup_task): Remove unused prototype.
Diffstat (limited to 'gdb/darwin-nat-info.c')
-rw-r--r-- | gdb/darwin-nat-info.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index a0f4fbe..4bcb88a 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -843,32 +843,6 @@ info_mach_exceptions_command (char *args, int from_tty) } } -static void -darwin_list_gdb_ports (const char *msg) -{ - mach_port_name_array_t names; - mach_port_type_array_t types; - unsigned int name_count, type_count; - kern_return_t result; - int i; - - result = mach_port_names (mach_task_self (), - &names, &name_count, &types, &type_count); - MACH_CHECK_ERROR (result); - - gdb_assert (name_count == type_count); - - printf_unfiltered (_("Ports for %s:"), msg); - for (i = 0; i < name_count; ++i) - printf_unfiltered (_(" 0x%04x"), names[i]); - printf_unfiltered (_("\n")); - - vm_deallocate (mach_task_self (), (vm_address_t) names, - (name_count * sizeof (mach_port_t))); - vm_deallocate (mach_task_self (), (vm_address_t) types, - (type_count * sizeof (mach_port_type_t))); -} - void _initialize_darwin_info_commands (void) { |