This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

4.17.86 on AIX


Hello,

(Thanks to Rodney Brown for picking this up)

I've tried the below on an AIX 4.1 system.  They are based on the
problems that Rodney reported (and bundled a patch for) with an AIX 4.2
system

	Andrew

Wed Mar 24 01:01:27 1999  Andrew Cagney  <cagney@sludge.cygnus.com>

	* rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
 	unsigned int.

	From Rodney Brown <rodneybrown@pmsc.com>
	* target.h (enum thread_control_capibilities), breakpoint.h (enum
 	bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
 	doesn't allow trailing comma in enum definition.
*** gdb-4.17.86/gdb/breakpoint.c	Sun Feb 28 20:51:53 1999
--- aix-4.18/gdb-4.17.86.cagney/gdb/breakpoint.c	Wed Mar 24 01:08:55 1999
***************
*** 139,145 ****
  
  typedef enum {
    mark_inserted,
!   mark_uninserted,
  } insertion_state_t;
  
  static int
--- 139,145 ----
  
  typedef enum {
    mark_inserted,
!   mark_uninserted
  } insertion_state_t;
  
  static int
*** gdb-4.17.86/gdb/breakpoint.h	Tue Jan 26 15:15:14 1999
--- aix-4.18/gdb-4.17.86.cagney/gdb/breakpoint.h	Wed Mar 24 01:08:53 1999
***************
*** 111,117 ****
    /* These are catchpoints to implement "catch catch" and "catch throw"
       commands for C++ exception handling. */
    bp_catch_catch,
!   bp_catch_throw,
  
   
  };
--- 111,117 ----
    /* These are catchpoints to implement "catch catch" and "catch throw"
       commands for C++ exception handling. */
    bp_catch_catch,
!   bp_catch_throw
  
   
  };
*** gdb-4.17.86/gdb/rs6000-tdep.c	Mon Feb  1 13:17:19 1999
--- aix-4.18/gdb-4.17.86.cagney/gdb/rs6000-tdep.c	Wed Mar 24 01:10:08 1999
***************
*** 204,210 ****
  
  void
  rs6000_software_single_step (signal, insert_breakpoints_p)
!      enum target_signal signal;
       int insert_breakpoints_p;
  {
  #define	INSNLEN(OPCODE)	 4
--- 204,210 ----
  
  void
  rs6000_software_single_step (signal, insert_breakpoints_p)
!      unsigned int signal;
       int insert_breakpoints_p;
  {
  #define	INSNLEN(OPCODE)	 4
*** gdb-4.17.86/gdb/target.h	Tue Jan 19 09:02:55 1999
--- aix-4.18/gdb-4.17.86.cagney/gdb/target.h	Wed Mar 24 01:08:56 1999
***************
*** 54,60 ****
  enum thread_control_capabilities {
  	tc_none = 0, 		/* Default: can't control thread execution. */
  	tc_schedlock = 1,	/* Can lock the thread scheduler. */
! 	tc_switch = 2, 		/* Can switch the running thread on demand. */
  };
  
  /* Stuff for target_wait.  */
--- 54,60 ----
  enum thread_control_capabilities {
  	tc_none = 0, 		/* Default: can't control thread execution. */
  	tc_schedlock = 1,	/* Can lock the thread scheduler. */
! 	tc_switch = 2 		/* Can switch the running thread on demand. */
  };
  
  /* Stuff for target_wait.  */