mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 15:38:45 +08:00
* lexsup.c (parse_args): Only set report_plugin_symbols if plugins
are enabled. Mark level as possibly unused.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-03-23 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* lexsup.c (parse_args): Only set report_plugin_symbols if plugins
|
||||||
|
are enabled. Mark level as possibly unused.
|
||||||
|
|
||||||
2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
|
2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
|
||||||
|
|
||||||
* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
|
* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
|
||||||
|
@ -1330,10 +1330,12 @@ parse_args (unsigned argc, char **argv)
|
|||||||
if (optarg != NULL)
|
if (optarg != NULL)
|
||||||
{
|
{
|
||||||
char *end;
|
char *end;
|
||||||
int level = strtoul (optarg, &end, 0);
|
int level ATTRIBUTE_UNUSED = strtoul (optarg, &end, 0);
|
||||||
if (*end)
|
if (*end)
|
||||||
einfo (_("%P%F: invalid number `%s'\n"), optarg);
|
einfo (_("%P%F: invalid number `%s'\n"), optarg);
|
||||||
|
#ifdef ENABLE_PLUGINS
|
||||||
report_plugin_symbols = level > 1;
|
report_plugin_symbols = level > 1;
|
||||||
|
#endif /* ENABLE_PLUGINS */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
|
Reference in New Issue
Block a user