Implement Ada operator overloading
[deliverable/binutils-gdb.git] / gdb / proc-api.c
index 4ad1cdc06323526f787ba4f2ed81f6ede6710d10..5f60eeeb129d8644c0ac69a5d9c4bb2e72624278 100644 (file)
@@ -1,6 +1,6 @@
 /* Machine independent support for Solaris /proc (process file system) for GDB.
 
-   Copyright (C) 1999-2020 Free Software Foundation, Inc.
+   Copyright (C) 1999-2021 Free Software Foundation, Inc.
 
    Written by Michael Snyder at Cygnus Solutions.
    Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
@@ -28,8 +28,6 @@
 #include "gdbcmd.h"
 #include "completer.h"
 
-#define _STRUCTURED_PROC 1
-
 #include <sys/types.h>
 #include <sys/procfs.h>
 #include <sys/proc.h>  /* for struct proc */
@@ -189,7 +187,7 @@ write_with_trace (int fd, void *varg, size_t len, char *file, int line)
                 "write (PCSSIG) ");
        proc_prettyfprint_signal (procfs_file ? procfs_file : stdout,
                                  arg[1] ? ((siginfo_t *) &arg[1])->si_signo 
-                                        : 0, 
+                                        : 0, 
                                  0);
        fprintf (procfs_file ? procfs_file : stdout, "\n");
        break;
@@ -416,8 +414,9 @@ proc_prettyfprint_status (long flags, int why, int what, int thread)
     }
 }
 
+void _initialize_proc_api ();
 void
-_initialize_proc_api (void)
+_initialize_proc_api ()
 {
   add_setshow_boolean_cmd ("procfs-trace", no_class, &procfs_trace, _("\
 Set tracing for /proc api calls."), _("\
This page took 0.025163 seconds and 4 git commands to generate.