This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] Make jit-reader-load accept absolute paths to reader shared objects.


On Sun, 04 Nov 2012 18:03:50 +0100, Sanjoy Das wrote:
> -  so_name = xstrprintf ("%s/%s", jit_reader_dir, args);
> +  if (IS_ABSOLUTE_PATH (args))
> +    so_name = xstrdup (args);
> +  else
> +    so_name = xstrprintf ("%s/%s", jit_reader_dir, args);

GDB uses SLASH_STRING; although I see it defined as "/" unconditionally
(therefore even on MinGW).


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]