* multi-arched Linux target
@ 2004-07-28 15:57 Kei Sakamoto
2004-08-02 1:14 ` Kei Sakamoto
0 siblings, 1 reply; 4+ messages in thread
From: Kei Sakamoto @ 2004-07-28 15:57 UTC (permalink / raw)
To: gdb
Hello,
I have a question about multi-arched Linux target.
I'm implementing the native debug support on Linux/M32R.
http://www.linux-m32r.org
In order to support Linux target, config/tm-linux.h is necessary.
But config/tm-linux.h causes build errors in full multi-arched
environment because SKIP_TRAMPOLINE_CODE and IN_SOLIG_CALL_TRAMPOLINE
don't have multi-arch definitions.
In file included from ../../src/gdb/defs.h:1135,
from ../../src/gdb/gdb.c:21:
../../src/gdb/gdbarch.h:2071:2: #error "Non multi-arch definition of
SKIP_TRAMPOLINE_CODE"
../../src/gdb/gdbarch.h:2093:2: #error "Non multi-arch definition of
IN_SOLIB_CALL_TRAMPOLINE"
Do I have to use MULTI_ARCH_PARTIAL for Linux target?
===
Kei Sakamoto
Renesas Technology Corp.
sakamoto.kei@renesas.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi-arched Linux target
2004-07-28 15:57 multi-arched Linux target Kei Sakamoto
@ 2004-08-02 1:14 ` Kei Sakamoto
2004-08-04 23:01 ` Jim Blandy
0 siblings, 1 reply; 4+ messages in thread
From: Kei Sakamoto @ 2004-08-02 1:14 UTC (permalink / raw)
To: gdb
Hello,
Does anyone have any suggestion about this?
Thank you.
Kei Sakamoto
From: "Kei Sakamoto" <sakamoto.kei@renesas.com>
To: <gdb@sourceware.org>
Sent: Wednesday, July 28, 2004 12:04 PM
Subject: multi-arched Linux target
> Hello,
>
> I have a question about multi-arched Linux target.
>
> I'm implementing the native debug support on Linux/M32R.
> http://www.linux-m32r.org
>
> In order to support Linux target, config/tm-linux.h is necessary.
> But config/tm-linux.h causes build errors in full multi-arched
> environment because SKIP_TRAMPOLINE_CODE and IN_SOLIG_CALL_TRAMPOLINE
> don't have multi-arch definitions.
>
> In file included from ../../src/gdb/defs.h:1135,
> from ../../src/gdb/gdb.c:21:
> ../../src/gdb/gdbarch.h:2071:2: #error "Non multi-arch definition of
> SKIP_TRAMPOLINE_CODE"
> ../../src/gdb/gdbarch.h:2093:2: #error "Non multi-arch definition of
> IN_SOLIB_CALL_TRAMPOLINE"
>
> Do I have to use MULTI_ARCH_PARTIAL for Linux target?
>
> ===
> Kei Sakamoto
> Renesas Technology Corp.
> sakamoto.kei@renesas.com
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi-arched Linux target
2004-08-02 1:14 ` Kei Sakamoto
@ 2004-08-04 23:01 ` Jim Blandy
2004-08-05 0:10 ` Kei Sakamoto
0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2004-08-04 23:01 UTC (permalink / raw)
To: Kei Sakamoto; +Cc: gdb
"Kei Sakamoto" <sakamoto.kei@renesas.com> writes:
> > I have a question about multi-arched Linux target.
> >
> > I'm implementing the native debug support on Linux/M32R.
> > http://www.linux-m32r.org
> >
> > In order to support Linux target, config/tm-linux.h is necessary.
> > But config/tm-linux.h causes build errors in full multi-arched
> > environment because SKIP_TRAMPOLINE_CODE and IN_SOLIG_CALL_TRAMPOLINE
> > don't have multi-arch definitions.
> >
> > In file included from ../../src/gdb/defs.h:1135,
> > from ../../src/gdb/gdb.c:21:
> > ../../src/gdb/gdbarch.h:2071:2: #error "Non multi-arch definition of
> > SKIP_TRAMPOLINE_CODE"
> > ../../src/gdb/gdbarch.h:2093:2: #error "Non multi-arch definition of
> > IN_SOLIB_CALL_TRAMPOLINE"
> >
> > Do I have to use MULTI_ARCH_PARTIAL for Linux target?
I think so. You'll need to have a tm-*.h file, which automatically
brings you down to MULTI_ARCH_PARTIAL. You don't need to actually
#define that anywhere, though; just having a tm-*.h file at all
automatically sets that. Search for GDB_TM_FILE in defs.h.
But I don't think that'll cause you any problems. Since you're not
overriding them, it won't affect any of the definitions you're
currently getting from gdbarch.h. Things should just continue to work
normally.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi-arched Linux target
2004-08-04 23:01 ` Jim Blandy
@ 2004-08-05 0:10 ` Kei Sakamoto
0 siblings, 0 replies; 4+ messages in thread
From: Kei Sakamoto @ 2004-08-05 0:10 UTC (permalink / raw)
To: Jim Blandy; +Cc: gdb
> > > Do I have to use MULTI_ARCH_PARTIAL for Linux target?
>
> I think so. You'll need to have a tm-*.h file, which automatically
> brings you down to MULTI_ARCH_PARTIAL. You don't need to actually
> #define that anywhere, though; just having a tm-*.h file at all
> automatically sets that. Search for GDB_TM_FILE in defs.h.
>
> But I don't think that'll cause you any problems. Since you're not
> overriding them, it won't affect any of the definitions you're
> currently getting from gdbarch.h. Things should just continue to work
> normally.
I see. I'll use MULTI_ARCH_PARTIAL.
Thank you.
===
Kei Sakamoto
Renesas Technology Corp.
sakamoto.kei@renesas.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-05 0:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 15:57 multi-arched Linux target Kei Sakamoto
2004-08-02 1:14 ` Kei Sakamoto
2004-08-04 23:01 ` Jim Blandy
2004-08-05 0:10 ` Kei Sakamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).