diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-01-08 22:09:50 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-01-08 22:09:50 +0000 |
commit | 4b09dc8c14cd3dd0030c60976811a2b849bf9989 (patch) | |
tree | 6b37162b498f12a02a12e8dc7871b9a4411326e2 /gdb/config/nm-linux.h | |
parent | 97996af6f2b19f1dabca2a35b90eff5e18959e12 (diff) | |
download | gdb-4b09dc8c14cd3dd0030c60976811a2b849bf9989.zip gdb-4b09dc8c14cd3dd0030c60976811a2b849bf9989.tar.gz gdb-4b09dc8c14cd3dd0030c60976811a2b849bf9989.tar.bz2 |
2002-01-07 Michael Snyder <msnyder@redhat.com>
* 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.
Diffstat (limited to 'gdb/config/nm-linux.h')
-rw-r--r-- | gdb/config/nm-linux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h index 59e5acb..84448d6 100644 --- a/gdb/config/nm-linux.h +++ b/gdb/config/nm-linux.h @@ -67,3 +67,8 @@ extern void lin_thread_get_thread_signals (sigset_t *mask); #define GDB_GREGSET_T elf_gregset_t #define GDB_FPREGSET_T elf_fpregset_t + +/* Override child_pid_to_exec_file in 'inftarg.c'. */ +#define CHILD_PID_TO_EXEC_FILE + + |