From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20003 invoked by alias); 30 Aug 2010 10:09:01 -0000 Received: (qmail 19994 invoked by uid 22791); 30 Aug 2010 10:09:00 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Aug 2010 10:08:54 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oq1II-0003mN-Gh; Mon, 30 Aug 2010 06:08:50 -0400 From: Eli Zaretskii To: Jan Kratochvil CC: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org In-reply-to: <20100830082407.GA6881@host1.dyn.jankratochvil.net> (message from Jan Kratochvil on Mon, 30 Aug 2010 10:24:07 +0200) Subject: Re: [patch 1/9]#2 Rename `enum target_signal' to target_signal_t Reply-to: Eli Zaretskii References: <20100830071040.GB6831@host1.dyn.jankratochvil.net> <201008300814.o7U8ECNZ009010@glazunov.sibelius.xs4all.nl> <20100830082407.GA6881@host1.dyn.jankratochvil.net> Message-Id: Date: Mon, 30 Aug 2010 10:09:00 -0000 X-IsSubscribed: yes 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: 2010-08/txt/msg00502.txt.bz2 > Date: Mon, 30 Aug 2010 10:24:07 +0200 > From: Jan Kratochvil > Cc: gdb-patches@sourceware.org > > On Mon, 30 Aug 2010 10:14:12 +0200, Mark Kettenis wrote: > > The _t suffix is actually reserved by POSIX, so using it is actually a > > bad idea. Perhaps change it to gdb_target_signal, or just > > target_signal (making it a typedef for an anonymous enum)? > > I see too many types in GDB and everywhere ending with _t (ptid_t for all). Right, and I didn't know it was reserved. Mark, could you please point to the Posix document (hopefully, freely accessible) which says that? TIA