From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3156 invoked by alias); 27 Apr 2011 13:17:19 -0000 Received: (qmail 3148 invoked by uid 22791); 27 Apr 2011 13:17:18 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Apr 2011 13:17:04 +0000 Received: by vws4 with SMTP id 4so1655415vws.0 for ; Wed, 27 Apr 2011 06:17:04 -0700 (PDT) Received: by 10.220.98.79 with SMTP id p15mr654649vcn.23.1303910224124; Wed, 27 Apr 2011 06:17:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.61.6 with HTTP; Wed, 27 Apr 2011 06:16:44 -0700 (PDT) In-Reply-To: <20110427130021.GA7103@host1.jankratochvil.net> References: <20110427130021.GA7103@host1.jankratochvil.net> From: Kevin Pouget Date: Wed, 27 Apr 2011 13:17:00 -0000 Message-ID: Subject: Re: Code cleanup - split print_stop_reason / question To: Jan Kratochvil Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00155.txt.bz2 > This is not from me. oh, sorry at least, you're the last one who touched this line, right? git blame gdb/infrun.c ... 8fc36186 (Jan Kratochvil 2010-09-04 14:27:43 +0000 5504) ui_out_field_fmt (uiout, "exit-code", "0%o", (unsigned int) exitstatus); ... > When you check the history (I use git annotate file, > git annotate file REVISION^, git annotate file PREVREVISION^ and so on) you > will find that line of code comes from: ok, thanks > AFAIK there was a tradition in UNIX to deal with program exit codes in octal. > I do not know why. ok, so if it's a tradition, let's perpetuate the tradition :) -- Kevin