aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-06 14:57:59 -0700
committerTom Tromey <tromey@redhat.com>2014-01-06 14:57:59 -0700
commitdc81d70a97b942302d126fa2b5041cb2ef4bc01c (patch)
treeda22f7a04ed6c78abb5ee201be330be3df870dea /gdb/jit.c
parentcc2f3c3582677a3697f416618ddee86eee7ed5ba (diff)
downloadgdb-dc81d70a97b942302d126fa2b5041cb2ef4bc01c.zip
gdb-dc81d70a97b942302d126fa2b5041cb2ef4bc01c.tar.gz
gdb-dc81d70a97b942302d126fa2b5041cb2ef4bc01c.tar.bz2
fix JIT reader path creation
2014-01-06 Sasha Smundak <asmundak@google.com> * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index 033a370..ef6abbf 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -214,7 +214,7 @@ jit_reader_load_command (char *args, int from_tty)
if (IS_ABSOLUTE_PATH (args))
so_name = xstrdup (args);
else
- so_name = xstrprintf ("%s%s%s", SLASH_STRING, jit_reader_dir, args);
+ so_name = xstrprintf ("%s%s%s", jit_reader_dir, SLASH_STRING, args);
prev_cleanup = make_cleanup (xfree, so_name);
loaded_jit_reader = jit_reader_load (so_name);