From eb4c17106b7303565b8d0ce8b572fa64945d1e7d Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 15 Apr 2014 14:13:08 +0100 Subject: [PATCH] gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK... gdb/testsuite/ 2014-04-15 Pedro Alves * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/sym-file-loader.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 64e4cbd229d..ca002e95de0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-04-15 Pedro Alves + + * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK. + 2014-04-15 Pedro Alves * gdb.base/sym-file-loader.c: Include . diff --git a/gdb/testsuite/gdb.base/sym-file-loader.c b/gdb/testsuite/gdb.base/sym-file-loader.c index 625788a9ba6..c30ffe185d8 100644 --- a/gdb/testsuite/gdb.base/sym-file-loader.c +++ b/gdb/testsuite/gdb.base/sym-file-loader.c @@ -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 -- 2.30.2