Quoting Dmitry Chagin <dcha...@freebsd.org> (from Tue, 1 Mar 2011 16:42:29 +0000 (UTC)):

Author: dchagin
Date: Tue Mar  1 16:42:28 2011
New Revision: 219138
URL: http://svn.freebsd.org/changeset/base/219138

Log:
  Teach kdump to decode linux syscalls names too.

Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c  Tue Mar  1 14:54:14 2011        (r219137)
+++ head/usr.bin/kdump/kdump.c  Tue Mar  1 16:42:28 2011        (r219138)

+/*
+ * from linux.h
+ * Linux syscalls return negative errno's, we do positive and map them
+ */
+static int bsd_to_linux_errno[ELAST + 1] = {
+       -0,  -1,  -2,  -3,  -4,  -5,  -6,  -7,  -8,  -9,

Can you please specify the full path within SRC for the linux.h you copied this from, and also add a comment to this linux.h to tell to not forget to update kdump.c if this is updated (or seperate this into another header and include it here)?

Bye,
Alexander.

--
Committee, n.:
        A group of men who individually can do nothing but as a group
        decide that nothing can be done.
                -- Fred Allen

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to