From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Add get_frame_saved_regs() and get_frame_saved_regs_p()
Date: Wed, 11 Dec 2002 13:24:00 -0000 [thread overview]
Message-ID: <3DF7AD15.9020700@redhat.com> (raw)
In-Reply-To: <3DF7A7C9.9040306@redhat.com>
> +CORE_ADDR *
> +get_frame_saved_regs (struct frame_info *fi)
> +{
> + if (fi->saved_regs != NULL)
Oops! Try:
if (fi->saved_regs == NULL)
The scary thing is that, on i386, it only triggered 7 failures :-?
> + {
> + fi->saved_regs = frame_obstack_alloc (SIZEOF_FRAME_SAVED_REGS);
> + memset (fi->saved_regs, 0, SIZEOF_FRAME_SAVED_REGS);
> + }
> + return fi->saved_regs;
> +}
Andrew
next prev parent reply other threads:[~2002-12-11 21:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-11 13:11 Andrew Cagney
2002-12-11 13:24 ` Andrew Cagney [this message]
2002-12-11 22:43 ` Eli Zaretskii
2002-12-13 15:26 ` Andrew Cagney
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=3DF7AD15.9020700@redhat.com \
--to=ac131313@redhat.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