diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2000-11-28 17:27:38 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2000-11-28 17:27:38 +0000 |
commit | 66ed1d85be85c2ea39fe62b5af10517cd4408d79 (patch) | |
tree | 1decbad02bf120fc03db91318fae1ac6171cd919 /gdb/win32-nat.c | |
parent | fcdc20a4d36ad5f493f38a2ed089516c19709a36 (diff) | |
download | gdb-66ed1d85be85c2ea39fe62b5af10517cd4408d79.zip gdb-66ed1d85be85c2ea39fe62b5af10517cd4408d79.tar.gz gdb-66ed1d85be85c2ea39fe62b5af10517cd4408d79.tar.bz2 |
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 62db43f..ce78a6d 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -1540,7 +1540,7 @@ dll_code_sections_add (const char *dll_name, int base_addr, struct target_ops *t char *name; if (dll_name == NULL || target == NULL) return 0; - name = strdup (dll_name); + name = xstrdup (dll_name); dll_bfd = bfd_openr (name, "pei-i386"); if (dll_bfd == NULL) return 0; |