Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFC: Mostly kill FRAME_CHAIN_VALID, add user knob
Date: Mon, 06 Jan 2003 23:03:00 -0000	[thread overview]
Message-ID: <3E1A0ADB.4070203@redhat.com> (raw)
In-Reply-To: <20030105014213.GH28756@nevyn.them.org>


>> FYI,
>> 
>> Much of this is superseeded by the frame overhaul - in particular the 
>> introduction of frame_id_unwind().  The new code doesn't even call frame 
>> chain valid!
>> 
>> Perhaphs wait for the attached [wip] to be committed and then tweak that 
>> to match your proposed policy (we can then just deprecate 
>> FRAME_CHAIN_VALID_P :-).  However, making the change in parallel 
>> wouldn't hurt.
>> 
>> Looking at my WIP, I'll need to tweak the code segment:
>> 
>> +  prev_frame->pc = frame_pc_unwind (next_frame);
>> +  if (prev_frame->pc == 0)
>> +    /* The allocated PREV_FRAME will be reclaimed when the frame
>> +       obstack is next purged.  */
>> +    return NULL;
>> +  prev_frame->type = frame_type_from_pc (prev_frame->pc);
>> 
>> so that it checks for where the PC resides and abort accordingly.
>> 
>> The attached is WIP since I still need to see it working once :-)
> 
> 
> [Small wonder if you haven't pushed the call to FRAME_CHAIN_VALID
> somewhere... that's the same sort of thing that confuses me about all
> of your frame changes...]

Sorry, I'm lost.

Andrew



  parent reply	other threads:[~2003-01-06 23:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-26 12:20 Daniel Jacobowitz
2003-01-02 19:34 ` Andrew Cagney
2003-01-05  1:42   ` Daniel Jacobowitz
2003-01-05  1:44     ` Daniel Jacobowitz
2003-01-06 23:03     ` Andrew Cagney [this message]
2003-01-10 20:10 ` Andrew Cagney
2003-01-10 20:29   ` 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=3E1A0ADB.4070203@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.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