This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Minor changes to proc-api.c for Interix


> 2002-07-24  Donn Terry  <dterry@microsoft.com>
> 
> 	* 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  <donnte@microsoft.com>

        * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

-- 
Joel

Attachment: proc-api.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]