From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Minor changes to proc-api.c for Interix
Date: Thu, 29 Aug 2002 08:16:00 -0000 [thread overview]
Message-ID: <20020829151551.GA971@gnat.com> (raw)
In-Reply-To: <20020724085918.GA1166@gnat.com>
[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]
> 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 #2: proc-api.c.diff --]
[-- Type: text/plain, Size: 1004 bytes --]
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" },
prev parent reply other threads:[~2002-08-29 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 2:07 Joel Brobecker
2002-08-15 12:48 ` Joel Brobecker
2002-08-22 15:54 ` Michael Snyder
2002-08-23 8:30 ` Joel Brobecker
2002-08-29 8:16 ` Joel Brobecker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020829151551.GA971@gnat.com \
--to=brobecker@gnat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox