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]

[patch/cagney_regbuf-20020515-branch] gdbarch_data now takes a gdbarch



Fixes a build problem.  Committed as obvious.

2002-05-16  Richard Earnshaw  <rearnsha@arm.com>

	* regbuf.c (regbuf_descr): gdbarch_data() now takes a gdbarch
	parameter.


Index: regbuf.c
===================================================================
RCS file: /cvs/src/src/gdb/Attic/regbuf.c,v
retrieving revision 1.1.2.1
diff -p -r1.1.2.1 regbuf.c
*** regbuf.c	16 May 2002 00:54:56 -0000	1.1.2.1
--- regbuf.c	16 May 2002 17:19:22 -0000
*************** regbuf_descr (struct gdbarch *gdbarch)
*** 55,61 ****
    int i;
    /* FIXME: cagney/2002-05-11: gdbarch_data() should take that
       ``gdbarch'' as a parameter.  */
!   struct regbuf_descr *descr = gdbarch_data (/* gdbarch, */
  					     regbuf_data_handle);
    if (descr != NULL)
      return descr;
--- 55,61 ----
    int i;
    /* FIXME: cagney/2002-05-11: gdbarch_data() should take that
       ``gdbarch'' as a parameter.  */
!   struct regbuf_descr *descr = gdbarch_data (gdbarch,
  					     regbuf_data_handle);
    if (descr != NULL)
      return descr;

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