PATCH: Add missing argument to register_buffer call

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Jun 27 09:19:00 GMT 2002


This fixes a build problem on hppa64-hp-hpux11*.  Please install if ok.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-06-27  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* regcache.c (supply_register): Add missing argument to
	register_buffer call.

Index: gdb/regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.38
diff -u -3 -p -r1.38 regcache.c
--- gdb/regcache.c	22 Jun 2002 21:18:32 -0000	1.38
+++ gdb/regcache.c	27 Jun 2002 16:03:49 -0000
@@ -1003,7 +1003,8 @@ supply_register (int regnum, char *val)
      values. */
 
 #ifdef DEPRECATED_CLEAN_UP_REGISTER_VALUE
-  DEPRECATED_CLEAN_UP_REGISTER_VALUE (regnum, register_buffer (regnum));
+  DEPRECATED_CLEAN_UP_REGISTER_VALUE \
+    (regnum, register_buffer (current_regcache, regnum));
 #endif
 }
 



More information about the Gdb mailing list