* cgen-types.h (SETDI): Delete, unused.
[deliverable/binutils-gdb.git] / gdb / jit.c
index a362098b02e8f1366ed7e91399dd162cd19e549b..433746a48d05a0274510e476c2129e4c09003aa3 100644 (file)
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -1,7 +1,6 @@
 /* Handle JIT code generation in the inferior for GDB, the GNU Debugger.
 
-   Copyright (C) 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -253,7 +252,7 @@ JITed symbol file is not an object file, ignoring it.\n"));
         /* We assume that these virtual addresses are absolute, and do not
            treat them as offsets.  */
         sai->other[i].addr = bfd_get_section_vma (nbfd, sec);
-        sai->other[i].name = (char *) bfd_get_section_name (nbfd, sec);
+        sai->other[i].name = xstrdup (bfd_get_section_name (nbfd, sec));
         sai->other[i].sectindex = sec->index;
         ++i;
       }
This page took 0.023546 seconds and 4 git commands to generate.