From 6062517a1e5f02caae2e6edba8d6c115327eddf7 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Jan 2006 21:20:48 +0000 Subject: [PATCH] * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous commit. --- gdb/ChangeLog | 3 +++ gdb/osabi.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 329d574184b..69a7f9be01b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2006-01-15 Mark Kettenis + * 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. diff --git a/gdb/osabi.c b/gdb/osabi.c index 5d3962ae752..53d2fb2be14 100644 --- a/gdb/osabi.c +++ b/gdb/osabi.c @@ -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; } -- 2.30.2