* osabi.c (generic_elf_osabi_sniffer): Fix typo in previous

commit.
This commit is contained in:
Mark Kettenis 2006-01-15 21:20:48 +00:00
parent 9d51923083
commit 6062517a1e
2 changed files with 4 additions and 1 deletions

View 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.

View 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;
}