Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 02:38:02 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 55126 for review
Message-ID:  <200406170238.i5H2c21e023687@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=55126

Change 55126 by marcel@marcel_nfs on 2004/06/17 02:37:04

	Constify the register arguments.

Affected files ...

.. //depot/projects/gdb/lib/libthread_db/td_thr_setfpregs.c#2 edit
.. //depot/projects/gdb/lib/libthread_db/td_thr_setgregs.c#2 edit
.. //depot/projects/gdb/lib/libthread_db/thread_db.h#2 edit

Differences ...

==== //depot/projects/gdb/lib/libthread_db/td_thr_setfpregs.c#2 (text+ko) ====

@@ -31,7 +31,7 @@
 #include <thread_db.h>
 
 td_err_e
-td_thr_setfpregs(const td_thrhandle_t *th, prfpregset_t *r)
+td_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *r)
 {
 	return (TD_OK);
 }

==== //depot/projects/gdb/lib/libthread_db/td_thr_setgregs.c#2 (text+ko) ====

@@ -31,7 +31,7 @@
 #include <thread_db.h>
 
 td_err_e
-td_thr_setgregs(const td_thrhandle_t *th, prgregset_t *r)
+td_thr_setgregs(const td_thrhandle_t *th, const prgregset_t *r)
 {
 	return (TD_OK);
 }

==== //depot/projects/gdb/lib/libthread_db/thread_db.h#2 (text+ko) ====

@@ -174,8 +174,8 @@
 td_err_e td_thr_getfpregs(const td_thrhandle_t *, prfpregset_t *);
 td_err_e td_thr_getgregs(const td_thrhandle_t *, prgregset_t *);
 td_err_e td_thr_get_info(const td_thrhandle_t *, td_thrinfo_t *);
-td_err_e td_thr_setfpregs(const td_thrhandle_t *, prfpregset_t *);
-td_err_e td_thr_setgregs(const td_thrhandle_t *, prgregset_t *);
+td_err_e td_thr_setfpregs(const td_thrhandle_t *, const prfpregset_t *);
+td_err_e td_thr_setgregs(const td_thrhandle_t *, const prgregset_t *);
 td_err_e td_thr_validate(const td_thrhandle_t *);
 __END_DECLS
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406170238.i5H2c21e023687>