Automatically replace shared library extensions on Symbian
Joel Brobecker
brobecker@adacore.com
Mon Mar 8 18:29:00 GMT 2010
> How about this? I extended the comment a bit in gdbarch.sh, avoiding
> too much target speficic info there, and described better the symbian
> specific case at the callback's call site.
Looks GREAT! :)
Thank you adding them. Just three little nits I noticed...
> +# If non-empty, this is a file extension that will be opened in place
> +# of the file extension reported by the shared library list.
> +#
> +# This is most useful for toolchains that use a post-linker tool,
> +# where the names of the files ran on the target differ in extension
^^^ run (to run, ran, run)
> +# compared to the names of the files GDB should load for debug info.
> +v:const char *:solib_symbols_extension:::::::pstring (gdbarch->solib_symbols_extension)
> + /* On this target, the toolchain outputs ELF files, with `sym' for
> + filename extension (e.g., `FOO.sym'); these are post-linker
> + processed into PE-ish DLLs (e.g., `FOO.dll'), and its these that
^^^ it's
> + are actually copied to and ran on the target. Naturally, when
^^^ run
> + listing shared libraries, Symbian stubs report the DLL filenames.
> + Setting this makes it so that GDB automatically looks for the
> + corresponding ELF files on the host's filesystem. */
--
Joel
More information about the Gdb-patches
mailing list