Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2011 10:30:31 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Dmitry Chagin <dchagin@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r219138 - head/usr.bin/kdump
Message-ID:  <20110302103031.30608fh7u33h3s54@webmail.leidinger.net>
In-Reply-To: <201103011642.p21GgTaH041022@svn.freebsd.org>
References:  <201103011642.p21GgTaH041022@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Dmitry Chagin <dchagin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110302103031.30608fh7u33h3s54>