* sim-options.c (standard_option_handler): Use xstrdup, not strdup.
This commit is contained in:
parent
0c0b16f9d4
commit
36db8e64ab
@ -1,3 +1,7 @@
|
||||
Thu Aug 28 10:36:34 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* sim-options.c (standard_option_handler): Use xstrdup, not strdup.
|
||||
|
||||
Thu Aug 28 12:09:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator
|
||||
|
@ -264,7 +264,7 @@ standard_option_handler (sd, opt, arg, is_command)
|
||||
|
||||
case OPTION_TARGET:
|
||||
{
|
||||
STATE_TARGET (sd) = strdup (arg);
|
||||
STATE_TARGET (sd) = xstrdup (arg);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user