This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
PATCH: Add missing argument to register_buffer call
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gdb at sources dot redhat dot com
- Date: Thu, 27 Jun 2002 12:19:20 -0400 (EDT)
- Subject: PATCH: Add missing argument to register_buffer call
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
}