From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3650 invoked by alias); 29 Aug 2002 15:15:54 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3642 invoked from network); 29 Aug 2002 15:15:52 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (205.232.38.234) by sources.redhat.com with SMTP; 29 Aug 2002 15:15:52 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 0473AD2CBD; Thu, 29 Aug 2002 08:15:51 -0700 (PDT) Date: Thu, 29 Aug 2002 08:16:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Minor changes to proc-api.c for Interix Message-ID: <20020829151551.GA971@gnat.com> References: <20020724085918.GA1166@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <20020724085918.GA1166@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-08/txt/msg00977.txt.bz2 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 1246 > 2002-07-24 Donn Terry > > * proc-api.c (rw_table): Do not include a row for PCDSTOP if the > corresponding macro is not defined. Likewise for PCNICE, PCSHOLD > and PCUNKILL. > (write_with_trace): Conditionalize out the switch branch handling > PCSHOLD if the corresponding macro is not defined. Likewise for > PRSABORT and PRSTOP. > This change will be needed by the Interix port. Donn pointed out to me that there is a typo in the following hunk (missing 'S' in PCHOLD). > *************** static struct trans rw_table[] = { > *** 419,425 **** > --- 423,431 ---- > { PCSEXIT, "PCSEXIT", "set traced syscall exit set" }, > { PCSFAULT, "PCSFAULT", "set traced fault set" }, > { PCSFPREG, "PCSFPREG", "set floating point registers" }, > + #ifdef PCHOLD /* solaris */ > { PCSHOLD, "PCSHOLD", "set signal mask" }, > + #endif > { PCSREG, "PCSREG", "set general registers" }, > { PCSSIG, "PCSSIG", "set current signal" }, > { PCSTOP, "PCSTOP", "post stop request and wait" }, I fixed this obvious typo with the following change: 2002-08-29 Donn Terry * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S). -- Joel --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="proc-api.c.diff" Content-length: 1004 Index: proc-api.c =================================================================== RCS file: /cvs/src/src/gdb/proc-api.c,v retrieving revision 1.14 diff -c -3 -p -r1.14 proc-api.c *** proc-api.c 23 Aug 2002 15:06:53 -0000 1.14 --- proc-api.c 29 Aug 2002 13:17:31 -0000 *************** static struct trans rw_table[] = { *** 423,429 **** { PCSEXIT, "PCSEXIT", "set traced syscall exit set" }, { PCSFAULT, "PCSFAULT", "set traced fault set" }, { PCSFPREG, "PCSFPREG", "set floating point registers" }, ! #ifdef PCHOLD /* solaris */ { PCSHOLD, "PCSHOLD", "set signal mask" }, #endif { PCSREG, "PCSREG", "set general registers" }, --- 423,429 ---- { PCSEXIT, "PCSEXIT", "set traced syscall exit set" }, { PCSFAULT, "PCSFAULT", "set traced fault set" }, { PCSFPREG, "PCSFPREG", "set floating point registers" }, ! #ifdef PCSHOLD /* solaris */ { PCSHOLD, "PCSHOLD", "set signal mask" }, #endif { PCSREG, "PCSREG", "set general registers" }, --+QahgC5+KEYLbs62--