btrace: uppercase btrace_read_type
[deliverable/binutils-gdb.git] / gdb / gcore.c
index a4bb9ca64933239268096f5926168ea9b104f80c..67fbf302c4b37ff681cabe8d9745ad8dbf4444ce 100644 (file)
@@ -1,6 +1,6 @@
 /* Generate a core file for the inferior process.
 
-   Copyright (C) 2001-2013 Free Software Foundation, Inc.
+   Copyright (C) 2001-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -136,7 +136,7 @@ gcore_command (char *args, int from_tty)
   else
     {
       /* Default corefile name is "core.PID".  */
-      corefilename = xstrprintf ("core.%d", PIDGET (inferior_ptid));
+      corefilename = xstrprintf ("core.%d", ptid_get_pid (inferior_ptid));
     }
   filename_chain = make_cleanup (xfree, corefilename);
 
This page took 0.023797 seconds and 4 git commands to generate.