From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31204 invoked by alias); 5 Jan 2012 19:35:39 -0000 Received: (qmail 30983 invoked by uid 22791); 5 Jan 2012 19:35:38 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp18.uk.ibm.com (HELO e06smtp18.uk.ibm.com) (195.75.94.114) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jan 2012 19:35:25 +0000 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Jan 2012 19:35:24 -0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com ([9.149.39.193]) by e06smtp18.uk.ibm.com ([192.168.101.148]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 5 Jan 2012 19:35:21 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q05JZLkH2703426 for ; Thu, 5 Jan 2012 19:35:21 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q05JZKNu027120 for ; Thu, 5 Jan 2012 12:35:20 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q05JZJgq027103; Thu, 5 Jan 2012 12:35:19 -0700 Message-Id: <201201051935.q05JZJgq027103@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 05 Jan 2012 20:35:19 +0100 Subject: Re: [rfc] Options for "info mappings" etc. (Re: [PATCH] Implement new `info core mappings' command) To: mark.kettenis@xs4all.nl (Mark Kettenis) Date: Thu, 05 Jan 2012 19:35:00 -0000 From: "Ulrich Weigand" Cc: alves.ped@gmail.com, gdb-patches@sourceware.org, jan.kratochvil@redhat.com, sergiodj@redhat.com In-Reply-To: <201201051837.q05IbYEW015293@glazunov.sibelius.xs4all.nl> from "Mark Kettenis" at Jan 05, 2012 07:37:34 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12010519-6892-0000-0000-000000A17154 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00203.txt.bz2 Mark Kettenis wrote: > > Date: Thu, 5 Jan 2012 19:02:35 +0100 (CET) > > From: "Ulrich Weigand" > > > > I'm wondering: How can I distinguish the "magic 42000" from > > a regular PID 42000 ? > > Traditionally on Unix, process IDs would wrap at 32767. I believe > Linux still does this as well. Ah, indeed. But on Linux this is not a fixed limit any more, but a configurable parameter (/proc/sys/kernel/pid_max) which only still *defaults* to 32767. So it could be easily possible to have Linux systems with process IDs larger than 32767, it just needs the sysadmin to change that default ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com