* osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
authorMark Kettenis <kettenis@gnu.org>
Sun, 15 Jan 2006 21:20:48 +0000 (21:20 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 15 Jan 2006 21:20:48 +0000 (21:20 +0000)
commit.

gdb/ChangeLog
gdb/osabi.c

index 329d574..69a7f9b 100644 (file)
@@ -1,5 +1,8 @@
 2006-01-15  Mark Kettenis  <kettenis@gnu.org>
 
+       * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
+       commit.
+
        * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
        * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
        * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
index 5d3962a..53d2fb2 100644 (file)
@@ -547,7 +547,7 @@ generic_elf_osabi_sniffer (bfd *abfd)
          "FreeBSD" in the padding of the e_ident field of the ELF
          header to "brand" their ELF binaries in FreeBSD 3.x.  */
       if (memcmp (&elf_elfheader (abfd)->e_ident[8],
-                 "FreeBSD", sizeof ("FreeBSD") == 0)
+                 "FreeBSD", sizeof ("FreeBSD")) == 0)
        osabi = GDB_OSABI_FREEBSD_ELF;
     }