This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add support for Tilera TILE-Gx processor (part 1/2: gdb)
On 04/23/2012 08:58 PM, Jeff Kenton wrote:
> --- /home/packages/gdb-7.4x/gdb/config/tilegx/tilegx.mh 1969-12-31 19:00:00.000000000 -0500
> +++ ./gdb/config/tilegx/tilegx.mh 2012-04-23 13:01:20.199904000 -0400
The convention is to name this file linux.mh.
> @@ -0,0 +1,12 @@
> +# Host: Tilera tilegx running GNU/Linux.
> +
> +NAT_FILE= nm-linux.h
> +NATDEPFILES= inf-ptrace.o fork-child.o \
> + tilegx-linux-nat.o \
> + proc-service.o linux-thread-db.o \
> + linux-nat.o linux-osdata.o linux-fork.o \
> + linux-procfs.o linux-ptrace.o
> +
> +# The dynamically loaded libthread_db needs access to symbols in the
> +# gdb executable.
> +LOADLIBES = -ldl -rdynamic
>grep -rn LOADLIBES * | grep linux
alpha/alpha-linux.mh:10:LOADLIBES = -ldl $(RDYNAMIC)
arm/linux.mh:9:LOADLIBES= -ldl $(RDYNAMIC)
i386/linux64.mh:12:LOADLIBES = -ldl $(RDYNAMIC)
i386/linux.mh:12:LOADLIBES = -ldl $(RDYNAMIC)
ia64/linux.mh:11:LOADLIBES = -ldl $(RDYNAMIC)
m32r/linux.mh:9:LOADLIBES= -ldl $(RDYNAMIC)
m68k/linux.mh:12:LOADLIBES = -ldl $(RDYNAMIC)
mips/linux.mh:9:LOADLIBES = -ldl $(RDYNAMIC)
pa/linux.mh:9:LOADLIBES = -ldl $(RDYNAMIC)
powerpc/linux.mh:11:LOADLIBES = -ldl $(RDYNAMIC)
powerpc/ppc64-linux.mh:19:LOADLIBES= -ldl $(RDYNAMIC)
sparc/linux64.mh:13:LOADLIBES = -ldl $(RDYNAMIC)
sparc/linux.mh:12:LOADLIBES = -ldl $(RDYNAMIC)
xtensa/linux.mh:10:LOADLIBES = -ldl $(RDYNAMIC)
--
Pedro Alves