gdb.base/sym-file-loader.c: Fix typo.
authorPedro Alves <palves@redhat.com>
Tue, 15 Apr 2014 13:13:08 +0000 (14:13 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 15 Apr 2014 13:13:08 +0000 (14:13 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sym-file-loader.c

index 64e4cbd229d707fce1adcf928543a1bcd24fca54..ca002e95de00008e1b1625d2ca2e00920d0868af 100644 (file)
@@ -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>.
index 625788a9ba648d427ab3b280f983325dadcfc6e5..c30ffe185d8d44596738cb1a67be512f03cf707e 100644 (file)
@@ -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