4b09dc8c14
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
# Host: Intel IA-64 running GNU/Linux
|
|
|
|
XM_FILE= xm-linux.h
|
|
XDEPFILES=
|
|
|
|
NAT_FILE= nm-linux.h
|
|
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \
|
|
core-aout.o core-regset.o ia64-linux-nat.o linux-proc.o \
|
|
proc-service.o thread-db.o lin-lwp.o
|
|
|
|
LOADLIBES = -ldl -rdynamic
|
|
|
|
# Don't use gnu-regex.c; it interferes with some stuff in libc.
|
|
REGEX=
|
|
|
|
# NAT_CLIBS is a hack to be sure; I expect we'll be able to remove this
|
|
# line in the near future
|
|
NAT_CLIBS= -lc -lnss_dns -lnss_files -lresolv -lc
|