* osabi.c (_initialize_gdb_osabi): Don't return before registering
authorJim Blandy <jimb@codesourcery.com>
Thu, 20 Nov 2003 18:37:20 +0000 (18:37 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 20 Nov 2003 18:37:20 +0000 (18:37 +0000)
the 'set osabi' and 'show osabi' commands.

gdb/ChangeLog
gdb/osabi.c

index 067abd9..daa22a6 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * osabi.c (_initialize_gdb_osabi): Don't return before registering
+       the 'set osabi' and 'show osabi' commands.
+
 2003-11-19  Mark Kettenis  <kettenis@gnu.org>
 
        * frame.c (get_prev_frame): Use result from
index ee13277..e248a2e 100644 (file)
@@ -593,8 +593,6 @@ _initialize_gdb_osabi (void)
                                  bfd_target_elf_flavour,
                                  generic_elf_osabi_sniffer);
 
-  return;
-
   /* Register the "set osabi" command.  */
   c = add_set_enum_cmd ("osabi", class_support, gdb_osabi_available_names,
                        &set_osabi_string, "Set OS ABI of target.", &setlist);