mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-13 23:29:03 +00:00
Properly report loading plugin error.
2010-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/12247 * lexsup.c (parse_args): Properly report loading plugin error.
This commit is contained in:
parent
eb22018c4c
commit
f9982339c9
@ -1,3 +1,8 @@
|
||||
2010-11-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/12247
|
||||
* lexsup.c (parse_args): Properly report loading plugin error.
|
||||
|
||||
2010-11-19 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* plugin.c (is_visible_from_outside): New function.
|
||||
|
@ -1056,7 +1056,8 @@ parse_args (unsigned argc, char **argv)
|
||||
#ifdef ENABLE_PLUGINS
|
||||
case OPTION_PLUGIN:
|
||||
if (plugin_opt_plugin (optarg))
|
||||
einfo(_("%P%F: bad -plugin option\n"));
|
||||
einfo (_("%P%F: %s: error loading plugin\n"),
|
||||
plugin_error_plugin ());
|
||||
break;
|
||||
case OPTION_PLUGIN_OPT:
|
||||
if (plugin_opt_plugin_arg (optarg))
|
||||
|
Loading…
Reference in New Issue
Block a user