fix JIT reader path creation
2014-01-06 Sasha Smundak <asmundak@google.com> * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
This commit is contained in:
parent
cc2f3c3582
commit
dc81d70a97
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2014-01-06 Sasha Smundak <asmundak@google.com>
|
||||||
|
|
||||||
|
* jit.c: (jit_reader_load_command): Fix JIT reader path creation.
|
||||||
|
|
||||||
2014-01-06 Tom Tromey <tromey@redhat.com>
|
2014-01-06 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* doublest.c (convert_doublest_to_floatformat): Use const, not
|
* doublest.c (convert_doublest_to_floatformat): Use const, not
|
||||||
|
|
|
@ -214,7 +214,7 @@ jit_reader_load_command (char *args, int from_tty)
|
||||||
if (IS_ABSOLUTE_PATH (args))
|
if (IS_ABSOLUTE_PATH (args))
|
||||||
so_name = xstrdup (args);
|
so_name = xstrdup (args);
|
||||||
else
|
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);
|
prev_cleanup = make_cleanup (xfree, so_name);
|
||||||
|
|
||||||
loaded_jit_reader = jit_reader_load (so_name);
|
loaded_jit_reader = jit_reader_load (so_name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue