Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch rfc] Add the frame's type to the unwinder
Date: Wed, 02 Apr 2003 21:53:00 -0000	[thread overview]
Message-ID: <3E8B5BED.7040100@redhat.com> (raw)
In-Reply-To: <3E8B5905.1000704@redhat.com>

> While the above is true for new code, old code continues to use the same confused combination of frame_type_from_pc(), frame_unwind_find_by_pc(), deprecated_set_frame_type(), and legacy_get_prev_frame().  A legacy frame's type is initialized to UNKNOWN_FRAME, and then zero or more of those functions will override it.  get_frame_type() mapping an UNKNOWN_FRAME onto a NORMAL_FRAME.

My apologies to:

	DEPRECATED_INIT_EXTRA_FRAME_INFO
	DEPRECATED_INIT_FRAME_PC
	DEPRECATED_INIT_FRAME_PC_FIRST
	DEPRECATED_FRAME_INIT_SAVED_REGS

which also manage to modify the type and should have been mentioned.

Anyway, the new frame code does not have this problem.

Andrew



  reply	other threads:[~2003-04-02 21:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 21:41 Andrew Cagney
2003-04-02 21:53 ` Andrew Cagney [this message]
2003-04-05  3:56 ` 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=3E8B5BED.7040100@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