Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: William Bader <william@nscs.fast.net>,
	ac131313@ges.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5
Date: Fri, 16 Aug 2002 15:08:00 -0000	[thread overview]
Message-ID: <1020816220813.ZM31901@localhost.localdomain> (raw)
In-Reply-To: William Bader <william@nscs.fast.net> "ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5" (Aug 16,  5:49pm)

On Aug 16,  5:49pm, William Bader wrote:

> +#if GDB_MULTI_ARCH
> +  /* TARGET_PTR_BIT evaluates to a function call */
> +  char *buf = alloca(TARGET_PTR_BIT / TARGET_CHAR_BIT);

I think that all you need is this line (but put a space between ``alloca''
and the left paren).

> +#else
>    char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT];
> +#endif

I.e, you can get rid of the preprocessor statements and the old
declaration.

Kevin


  reply	other threads:[~2002-08-16 22:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16 14:50 William Bader
2002-08-16 15:08 ` Kevin Buettner [this message]
2002-08-16 15:19   ` william
2002-08-16 15:50     ` Kevin Buettner
2002-08-16 17:08     ` Kevin Buettner

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=1020816220813.ZM31901@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=william@nscs.fast.net \
    /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