From: Pedro Alves Date: Tue, 15 Apr 2014 13:13:08 +0000 (+0100) Subject: gdb.base/sym-file-loader.c: Fix typo. X-Git-Tag: gdb-7.8-release~569 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb4c17106b7303565b8d0ce8b572fa64945d1e7d;p=external%2Fbinutils.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 64e4cbd..ca002e9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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 . (SELF_LINK): New define. (get_origin): New function. diff --git a/gdb/testsuite/gdb.base/sym-file-loader.c b/gdb/testsuite/gdb.base/sym-file-loader.c index 625788a..c30ffe1 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