Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@cygnus.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>, gdb-patches@sources.redhat.com
Subject: Re: PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
Date: Mon, 18 Jun 2001 17:28:00 -0000	[thread overview]
Message-ID: <1010619002803.ZM6862@ocotillo.lan> (raw)
In-Reply-To: <20010608140711.A6248@nevyn.them.org>

On Jun 8,  2:07pm, Daniel Jacobowitz wrote:

> A block in solib-svr4.c is #ifdef'd on DT_MIPS_RLD_MAP, which is defined in
> "elf/mips.h".  Including that file would probably help.  We could
> conditionally include this file based on target, but I just went by other
> files in GDB which referenced it and included it always.
> 
> How's this patch?

This patch is approved.  Let me know if you need me to check it in for
you.  (I would prefer to see your name added to the MAINTAINERS file
so that you can check it in yourself.)

Kevin

> 
> 2001-06-08  Daniel Jacobowitz  <drow@mvista.com>
> 	* solib-svr4.c: Include "elf/mips.h".
> 	(elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional. 
> 
> -- 
> Daniel Jacobowitz                           Debian GNU/Linux Developer
> Monta Vista Software                              Debian Security Team
> 
> [ text/plain ] :
> 
> 2001-06-08  Daniel Jacobowitz  <drow@mvista.com>
> 	* solib-svr4.c: Include "elf/mips.h".
> 	(elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
> 
> Index: gdb/solib-svr4.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/solib-svr4.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 solib-svr4.c
> --- solib-svr4.c	2001/05/04 04:15:27	1.15
> +++ solib-svr4.c	2001/06/08 21:05:02
> @@ -37,6 +37,7 @@
>  #else
>  #include "elf/external.h"
>  #include "elf/common.h"
> +#include "elf/mips.h"
>  #endif
>  
>  #include "symtab.h"
> @@ -623,7 +624,6 @@ elf_locate_base (void)
>  				      (bfd_byte *) x_dynp->d_un.d_ptr);
>  	      return dyn_ptr;
>  	    }
> -#ifdef DT_MIPS_RLD_MAP
>  	  else if (dyn_tag == DT_MIPS_RLD_MAP)
>  	    {
>  	      char *pbuf;
> @@ -637,7 +637,6 @@ elf_locate_base (void)
>  		return 0;
>  	      return extract_unsigned_integer (pbuf, sizeof (pbuf));
>  	    }
> -#endif
>  	}
>      }
>    else /* 64-bit elf */


  reply	other threads:[~2001-06-18 17:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08 14:07 Daniel Jacobowitz
2001-06-18 17:28 ` Kevin Buettner [this message]
2001-06-18 19:53   ` Daniel Jacobowitz
2001-06-19  8:40   ` Andrew Cagney
2001-06-25 17:48     ` Kevin Buettner
2001-07-02 12:38   ` Daniel Jacobowitz

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=1010619002803.ZM6862@ocotillo.lan \
    --to=kevinb@cygnus.com \
    --cc=dmj+@andrew.cmu.edu \
    --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