gdb.base/sym-file-loader.c: Fix typo.
SELF_LINK, not SELK_LINK... gdb/testsuite/ 2014-04-15 Pedro Alves <palves@redhat.com> * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
This commit is contained in:
parent
2d1baf521e
commit
eb4c17106b
|
@ -1,3 +1,7 @@
|
|||
2014-04-15 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
|
||||
|
||||
2014-04-15 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* gdb.base/sym-file-loader.c: Include <limits.h>.
|
||||
|
|
|
@ -81,11 +81,11 @@ load (uint8_t *addr, Elf_External_Phdr *phdr, struct segment *tail_seg)
|
|||
#ifdef __linux__
|
||||
# define SELF_LINK "/proc/self/exe"
|
||||
#elif defined NETBSD
|
||||
# define SELK_LINK "/proc/curproc/exe"
|
||||
# define SELF_LINK "/proc/curproc/exe"
|
||||
#elif defined __OpenBSD__ || defined __FreeBSD__ || defined __DragonFly__
|
||||
# define SELK_LINK "/proc/curproc/file"
|
||||
# define SELF_LINK "/proc/curproc/file"
|
||||
#elif defined SunOS
|
||||
# define SELK_LINK "/proc/self/path/a.out"
|
||||
# define SELF_LINK "/proc/self/path/a.out"
|
||||
#endif
|
||||
|
||||
/* Like RPATH=$ORIGIN, return the dirname of the current
|
||||
|
|
Loading…
Reference in New Issue