summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-04-15 14:13:08 +0100
committerPedro Alves <palves@redhat.com>2014-04-15 14:13:08 +0100
commiteb4c17106b7303565b8d0ce8b572fa64945d1e7d (patch)
treef6ca8632fd4efdb314ce16439297562a4d5e44b2 /gdb
parent2d1baf521e08bc390d604aaf1326347cc130ce1f (diff)
downloadbinutils-gdb-eb4c17106b7303565b8d0ce8b572fa64945d1e7d.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/sym-file-loader.c6
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,5 +1,9 @@
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>.
(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 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