This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obvious] typo in remote-sim.c


2003-07-17  Michael Snyder  <msnyder@redhat.com>

	* remote-sim.c: Comment typo fix.

Index: remote-sim.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-sim.c,v
retrieving revision 1.30
diff -p -r1.30 remote-sim.c
*** remote-sim.c	8 May 2003 22:33:14 -0000	1.30
--- remote-sim.c	18 Jul 2003 00:19:18 -0000
*************** gdbsim_fetch_register (int regno)
*** 331,337 ****
  	    warn_user = 0;
  	  }
  	/* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
! 	   indicatingthat GDB and the SIM have different ideas about
  	   which registers are fetchable.  */
  	/* Else if (nr_bytes < 0): an old simulator, that doesn't
  	   think to return the register size.  Just assume all is ok.  */
--- 331,337 ----
  	    warn_user = 0;
  	  }
  	/* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
! 	   indicating that GDB and the SIM have different ideas about
  	   which registers are fetchable.  */
  	/* Else if (nr_bytes < 0): an old simulator, that doesn't
  	   think to return the register size.  Just assume all is ok.  */
*************** gdbsim_store_register (int regno)
*** 369,375 ****
  	internal_error (__FILE__, __LINE__,
  			"Register size different to expected");
        /* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
! 	 indicatingthat GDB and the SIM have different ideas about
  	 which registers are fetchable.  */
        if (sr_get_debug ())
  	{
--- 369,375 ----
  	internal_error (__FILE__, __LINE__,
  			"Register size different to expected");
        /* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
! 	 indicating that GDB and the SIM have different ideas about
  	 which registers are fetchable.  */
        if (sr_get_debug ())
  	{

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