Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com, Jim Ingham <jingham@apple.com>
Subject: Re: [rfc/rfa:breakpoint] Use a ``frame_id'' to track frames
Date: Mon, 10 Jun 2002 16:33:00 -0000	[thread overview]
Message-ID: <3D05373D.4030207@cygnus.com> (raw)
In-Reply-To: <3CC34B88.6090809@cygnus.com>

> 2002-04-21  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* infrun.c (struct inferior_status): Replace fields
> 	selected_frame_address and selected_level with field
> 	selected_frame_id.
> 	(save_inferior_status): Update.  Use get_frame_id.
> 	(struct restore_selected_frame_args): Delete.
> 	(restore_selected_frame): Update.  Use frame_find_by_id.
> 	(restore_inferior_status): Update.
> 
> 	* breakpoint.h (struct breakpoint): Change type of
> 	watchpoint_frame to frame_id.
> 	* breakpoint.c (insert_breakpoints): Use frame_find_by_id.  Remove
> 	call to get_current_frame.
> 	(do_enable_breakpoint): Use frame_find_by_id.  Remove call to
> 	get_current_frame.
> 	(watchpoint_check): Use frame_find_by_id.
> 
> 	* frame.h (record_selected_frame): Delete declaration.
> 	* stack.c (record_selected_frame): Delete function.
> 	
> 	* frame.h (struct frame_id): Define.
> 	(get_frame_id): Declare.
> 	(frame_find_by_id): Declare.
> 	* frame.c (frame_find_by_id): New function.
> 	(get_frame_id): New function.
> 

(private ok from michaels) I've checked this in.

Andrew



      parent reply	other threads:[~2002-06-10 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-21 16:30 Andrew Cagney
2002-04-21 17:14 ` David S. Miller
2002-06-10 16:33 ` Andrew Cagney [this message]

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=3D05373D.4030207@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jingham@apple.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