diff options
author | Jeff Holcomb <jeffh@redhat.com> | 2001-01-26 19:47:23 +0000 |
---|---|---|
committer | Jeff Holcomb <jeffh@redhat.com> | 2001-01-26 19:47:23 +0000 |
commit | be49ed02760f6495574c99ae41995b2ecd7e45ee (patch) | |
tree | 77618f32b91ca0c4533d468d9306dd35aecf39b2 /gdb/remote-udi.c | |
parent | 05756cce303fb3ffed47b7a8141da17cb9143827 (diff) | |
download | gdb-be49ed02760f6495574c99ae41995b2ecd7e45ee.tar.gz |
2001-01-24 Jeff Holcomb <jeffh@redhat.com>
* remote-udi.c (udi_open): Change strdup to xstrdup.
* thread.c (thread_apply_all_command): Change strdup to xstrdup.
Update copyright message.
* varobj.c (delete_variable_1): Likewise.
* gdb_string.h: Remove declaration of strdup. Update copyright
message.
* config/xm-mpw.h: Likewise.
* config/i386/xm-i386mach.h: Likewise.
* config/m68k/xm-apollo68b.h: Likewise.
* config/m68k/xm-hp300bsd.h: Likewise.
* config/rs6000/xm-rs6000.h: Likewise.
* config/vax/xm-vaxult.h: Remove declaration of strdup.
* config/vax/xm-vaxult2.h: Likewise.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r-- | gdb/remote-udi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 3987d87a5ba..ced664e4f50 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -234,7 +234,7 @@ udi_open (char *name, int from_tty) if (!name) error ("Usage: target udi config_id, where config_id appears in udi_soc file"); - udi_config_id = strdup (strtok (name, " \t")); + udi_config_id = xstrdup (strtok (name, " \t")); if (UDIConnect (udi_config_id, &udi_session_id)) /* FIXME: Should set udi_session_id to -1 here. */ |