This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Unbreak osabi.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sun, 15 Jan 2006 22:21:02 +0100 (CET)
- Subject: [commit] Unbreak osabi.c
For some reason I lost a ')' between testing this and committing :(.
Fixed now.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
commit.
Index: osabi.c
===================================================================
RCS file: /cvs/src/src/gdb/osabi.c,v
retrieving revision 1.35
diff -u -p -r1.35 osabi.c
--- osabi.c 15 Jan 2006 20:21:32 -0000 1.35
+++ osabi.c 15 Jan 2006 21:19:27 -0000
@@ -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;
}