* 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 067abd98758e53c9e501a61b4ffc721b08ef1e16..daa22a604b81c666ff00475db4048cc2db91455a 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 ee13277e6dc9d32ded5cdd974d98adc5f383f021..e248a2e6c4232a13a1ebdc4809de0a5eb595238e 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);