gdb: fix vfork with multiple threads
[deliverable/binutils-gdb.git] / gprof / corefile.c
index 831d589f29c85d45072324bcd46df9e983c31607..b5e716dcbf427e244162b06c0374d1e39c9b8333 100644 (file)
@@ -781,8 +781,8 @@ core_create_line_syms (void)
 
      Of course, this is rather slow and it would be better if
      BFD would provide an iterator for enumerating all line infos.  */
-  prev_name_len = PATH_MAX;
-  prev_filename_len = PATH_MAX;
+  prev_name_len = 1024;
+  prev_filename_len = 1024;
   prev_name = (char *) xmalloc (prev_name_len);
   prev_filename = (char *) xmalloc (prev_filename_len);
   ltab.len = 0;
This page took 0.022749 seconds and 4 git commands to generate.