Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Mark Kettenis <kettenis@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] Remove high_addr from mips_extra_func_info for MIPS
Date: Sat, 30 Oct 2004 19:13:00 -0000	[thread overview]
Message-ID: <4183D9C1.70109@gnu.org> (raw)
In-Reply-To: <200410301536.i9UFaM7Z008566@elgar.sibelius.xs4all.nl>

Mark Kettenis wrote:
> AFAICT this member is no longer used.  Now if we could remove the
> frame_adjust member too we could eliminate this defenition from
> tm-mips.h (and tm-alpha.h too).  Looking into that now.
> 
> Andrew, is this OK?

Not yet, I've other change to commit first.  Sorry.

Andrew

> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
>  
> 	* mips-tdep.c (PROC_HIGH_ADDR): Remove macro.
> 	(non_heuristic_proc_desc): Don't use PROC_HIGH_ADDR.
> 	* config/mips/tm-mips.h (struct mips_extra_func_info): Remove
> 	`high_addr' member.
> 
> Index: mips-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/mips-tdep.c,v
> retrieving revision 1.339
> diff -u -p -r1.339 mips-tdep.c
> --- mips-tdep.c 30 Oct 2004 14:31:19 -0000 1.339
> +++ mips-tdep.c 30 Oct 2004 15:35:48 -0000
> @@ -641,7 +641,6 @@ static int mips16_to_32_reg[8] = { 16, 1
>  static unsigned int heuristic_fence_post = 0;
>  
>  #define PROC_LOW_ADDR(proc) ((proc)->pdr.adr)	/* least address */
> -#define PROC_HIGH_ADDR(proc) ((proc)->high_addr)	/* upper address bound */
>  #define PROC_FRAME_OFFSET(proc) ((proc)->pdr.frameoffset)
>  #define PROC_FRAME_REG(proc) ((proc)->pdr.framereg)
>  #define PROC_FRAME_ADJUST(proc)  ((proc)->frame_adjust)
> @@ -2849,9 +2848,6 @@ non_heuristic_proc_desc (CORE_ADDR pc, C
>  			       sizeof (struct mips_extra_func_info));
>  	      PROC_LOW_ADDR (proc_desc) = pdr_pc;
>  
> -	      /* Only used for dummy frames.  */
> -	      PROC_HIGH_ADDR (proc_desc) = 0;
> -
>  	      PROC_FRAME_OFFSET (proc_desc)
>  		= bfd_get_32 (sec->objfile->obfd, ptr + 20);
>  	      PROC_FRAME_REG (proc_desc) = bfd_get_32 (sec->objfile->obfd,
> Index: config/mips/tm-mips.h
> ===================================================================
> RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
> retrieving revision 1.63
> diff -u -p -r1.63 tm-mips.h
> --- config/mips/tm-mips.h 26 Oct 2004 14:13:24 -0000 1.63
> +++ config/mips/tm-mips.h 30 Oct 2004 15:35:48 -0000
> @@ -74,7 +74,6 @@ extern void ecoff_relocate_efi (struct s
>  typedef struct mips_extra_func_info
>    {
>      long numargs;		/* number of args to procedure (was iopt) */
> -    bfd_vma high_addr;		/* upper address bound */
>      long frame_adjust;		/* offset of FP from SP (used on MIPS16) */
>      PDR pdr;			/* Procedure descriptor record */
>    }
> 


      reply	other threads:[~2004-10-30 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-30 15:36 Mark Kettenis
2004-10-30 19:13 ` 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=4183D9C1.70109@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@gnu.org \
    /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