changes, what else?
[deliverable/binutils-gdb.git] / gdb / altos-xdep.c
index fbc289bccbe446355235eae353b2b2d4bbbdcd9c..243f35e2c736d367ec67c2642dfa7f8a01724309 100644 (file)
@@ -18,9 +18,7 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include <stdio.h>
 #include "defs.h"
-#include "param.h"
 #include "frame.h"
 #include "inferior.h"
 
@@ -45,6 +43,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/user.h>          /* After a.out.h  */
 #include <sys/file.h>
 #include <sys/stat.h>
+
 \f
 /* Work with core dump and executable files, for GDB. 
    This code would be in core.c if it weren't machine-dependent. */
@@ -153,7 +152,7 @@ core_file_command (filename, from_tty)
        corefile = savestring (filename, strlen (filename));
       else
        {
-         corefile = concat (current_directory, "/", filename);
+         corefile = concat (current_directory, "/", filename, NULL);
        }
 
       set_current_frame ( create_new_frame (read_register (FP_REGNUM),
This page took 0.02326 seconds and 4 git commands to generate.