* PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
@ 2001-06-08 14:07 Daniel Jacobowitz
2001-06-18 17:28 ` Kevin Buettner
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2001-06-08 14:07 UTC (permalink / raw)
To: gdb-patches
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?
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
From tromey@redhat.com Fri Jun 08 14:09:00 2001
From: Tom Tromey <tromey@redhat.com>
To: Daniel Berlin <dan@cgsoftware.com>
Cc: Per Bothner <per@bothner.com>, Andrew Cagney <ac131313@cygnus.com>, gdb-patches@sources.redhat.com
Subject: Re: obvious set_cu_language patch
Date: Fri, 08 Jun 2001 14:09:00 -0000
Message-id: <8766e6eke4.fsf@creche.redhat.com>
References: <m24rtrwkfd.fsf@kelso.bothner.com> <3B212FC8.6010801@cygnus.com> <m2pucevgf6.fsf@kelso.bothner.com> <87vgm6snjf.fsf@cgsoftware.com>
X-SW-Source: 2001-06/msg00179.html
Content-length: 1295
>>>>> "Daniel" == Daniel Berlin <dan@cgsoftware.com> writes:
Daniel> Could you please point me to where i can find out what java
Daniel> arrays *are*, so i can make a type structure for them (the new
Daniel> typesystem is a hierarchy of structs, rather than a single
Daniel> type struct. This means whatever java arrays *are*, can
Daniel> easily be represented and handled, with no fuss or muss).
Java arrays are structures. You can see the definition in
gcc/libjava/gcj/array.h. I've appended the relevant bits for your
perusal.
Most instantiations of JArray are actually created at runtime. Only
primitive arrays are created statically.
Tom
class __JArray : public java::lang::Object
{
protected:
// This is just a hack to work around a warning emitted by the C++
// compiler. We initialize `length' evilly, but it doesn't know
// that.
__JArray () : length (0)
{
}
public:
const jsize length;
friend jsize JvGetArrayLength (__JArray*);
};
template<class T>
class JArray : public __JArray
{
T data[0];
public:
friend T* elements<>(JArray<T>& x);
friend T* elements<>(JArray<T>* x);
// T* getData() { return data; }
// T& operator[](jint i) { return data[i]; }
};
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
2001-06-08 14:07 PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is Daniel Jacobowitz
@ 2001-06-18 17:28 ` Kevin Buettner
2001-06-18 19:53 ` Daniel Jacobowitz
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Kevin Buettner @ 2001-06-18 17:28 UTC (permalink / raw)
To: Daniel Jacobowitz, gdb-patches
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 */
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
2001-06-18 17:28 ` Kevin Buettner
@ 2001-06-18 19:53 ` Daniel Jacobowitz
2001-06-19 8:40 ` Andrew Cagney
2001-07-02 12:38 ` Daniel Jacobowitz
2 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2001-06-18 19:53 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb-patches
On Mon, Jun 18, 2001 at 05:28:03PM -0700, Kevin Buettner wrote:
> 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.)
I can't check in at the moment, but I'd certainly appreciate being
added to MAINTAINERS - I'm going to be submitting an entire port in the
rapidly approaching future. I'd appreciate it if you would check this
in; meanwhile, what should I do (besides the copyright assignment,
which is in progress) in order to gain checkin privileges?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
2001-06-18 17:28 ` Kevin Buettner
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
2 siblings, 1 reply; 6+ messages in thread
From: Andrew Cagney @ 2001-06-19 8:40 UTC (permalink / raw)
To: Kevin Buettner; +Cc: Daniel Jacobowitz, gdb-patches
> 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.)
You could add Daniel to the list of people caught in the paper trail.
Daniel, I'll eventually get an e-mail saying you assignment is done.
Once that appears I'll follow it up.
Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is
2001-06-18 17:28 ` Kevin Buettner
2001-06-18 19:53 ` Daniel Jacobowitz
2001-06-19 8:40 ` Andrew Cagney
@ 2001-07-02 12:38 ` Daniel Jacobowitz
2 siblings, 0 replies; 6+ messages in thread
From: Daniel Jacobowitz @ 2001-07-02 12:38 UTC (permalink / raw)
To: gdb-patches
On Mon, Jun 18, 2001 at 05:28:03PM -0700, Kevin Buettner wrote:
> 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.)
Committed, thanks.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-07-02 12:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-08 14:07 PATCH: solib-svr4.c needs to know what DT_MIPS_RLD_MAP is Daniel Jacobowitz
2001-06-18 17:28 ` Kevin Buettner
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox