Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: gdb@sources.redhat.com
Subject: FRAME_ARGS_SKIP
Date: Thu, 14 Jun 2001 11:07:00 -0000	[thread overview]
Message-ID: <20010614180846.92AAA5E9CB@zwingli.cygnus.com> (raw)

Here's the entry from gdbarch.sh for FRAME_ARGS_SKIP:

v:2:FRAME_ARGS_SKIP:CORE_ADDR:frame_args_skip::::0:-1

This sets 0 as the static default, -1 as the predefault, and specifies
no postdefault.  If I'm reading gdbarch.sh correctly, this means that:

- we use 0 as the value in the dummy gdbarch object we use during
  startup, and

- we set this field to -1 in a newly allocated gdbarch object, and we
  report an internal error if we notice later that it still has this
  value.

If I add a postdefault, then instead of getting an internal error when
it's not initialized, we'll just drop in the postdefault value.

Is that correct?

This field should be zero for almost every architecture.  Would anyone
mind if I added a postdefault of zero?


             reply	other threads:[~2001-06-14 11:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-14 11:07 Jim Blandy [this message]
2001-06-15  0:10 ` FRAME_ARGS_SKIP Andrew Cagney
     [not found]   ` <npu21doxx4.fsf@zwingli.cygnus.com>
2001-06-19  9:22     ` FRAME_ARGS_SKIP Andrew Cagney
2001-06-25 21:06       ` FRAME_ARGS_SKIP Jim Blandy
2001-06-25 21:20         ` FRAME_ARGS_SKIP 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=20010614180846.92AAA5E9CB@zwingli.cygnus.com \
    --to=jimb@zwingli.cygnus.com \
    --cc=gdb@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