gdb/fortran: Show the type for non allocated / associated types
[deliverable/binutils-gdb.git] / sim / common / hw-ports.h
index 566895a2f4ac63dcf91a2e1fd6b1ae4d2432c282..fdeee85cb4005392ff8ae8b7c331bbd2ef6513c0 100644 (file)
@@ -1,22 +1,21 @@
 /* Hardware ports.
 /* Hardware ports.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998-2019 Free Software Foundation, Inc.
    Contributed by Andrew Cagney and Cygnus Solutions.
 
 This file is part of GDB, the GNU debugger.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
    Contributed by Andrew Cagney and Cygnus Solutions.
 
 This file is part of GDB, the GNU debugger.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+the Free Software Foundation; either version 3 of the License, or
+(at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
-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.,
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
 #ifndef HW_PORTS_H
 
 
 #ifndef HW_PORTS_H
@@ -24,9 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 /* Initialize a port */
 
 
 /* Initialize a port */
 
-struct hw_port_descriptor {
+struct hw_port_descriptor
+{
   const char *name;
   const char *name;
-  int number; 
+  int number;
   int nr_ports;
   port_direction direction;
 };
   int nr_ports;
   port_direction direction;
 };
@@ -54,13 +54,13 @@ void hw_port_event
  int my_port,
  int value);
 
  int my_port,
  int value);
 
-/* This port event will then be propogated to any attached
+/* This port event will then be propagated to any attached
    destination ports.
 
    destination ports.
 
-   Any interpretation of PORT and VALUE is model dependant.  As a
+   Any interpretation of PORT and VALUE is model dependent.  As a
    guideline the following are recommended: PCI interrupts A-D should
    guideline the following are recommended: PCI interrupts A-D should
-   correspond to ports 0-3; level sensative interrupts be requested
-   with a value of one and withdrawn with a value of 0; edge sensative
+   correspond to ports 0-3; level sensitive interrupts be requested
+   with a value of one and withdrawn with a value of 0; edge sensitive
    interrupts always have a value of 1, the event its self is treated
    as the interrupt.
 
    interrupts always have a value of 1, the event its self is treated
    as the interrupt.
 
@@ -68,7 +68,7 @@ void hw_port_event
    Port destinations
 
    Attached to each port of a device can be zero or more
    Port destinations
 
    Attached to each port of a device can be zero or more
-   desitinations.  These destinations consist of a device/port pair.
+   destinations.  These destinations consist of a device/port pair.
    A destination is attached/detached to a device line using the
    attach and detach calls. */
 
    A destination is attached/detached to a device line using the
    attach and detach calls. */
 
@@ -99,7 +99,7 @@ void hw_port_traverse
 (struct hw *me,
  hw_port_traverse_function *handler,
  void *data);
 (struct hw *me,
  hw_port_traverse_function *handler,
  void *data);
+
 
 /* DESTINATION is attached (detached) to LINE of the device ME
 
 
 /* DESTINATION is attached (detached) to LINE of the device ME
 
@@ -124,6 +124,6 @@ int hw_port_encode
  char *buf,
  int sizeof_buf,
  port_direction direction);
  char *buf,
  int sizeof_buf,
  port_direction direction);
+
 
 #endif
 
 #endif
This page took 0.03583 seconds and 4 git commands to generate.