Blame gdb-7.6-proc_service.h.patch

Packit Service 501009
--- gdb-7.6/gdb/gdb_proc_service.h.orig
Packit Service 501009
+++ gdb-7.6/gdb/gdb_proc_service.h
Packit Service 501009
@@ -115,7 +115,7 @@ extern pid_t ps_getpid (struct ps_procha
Packit Service 501009
 /* Fetch the special per-thread address associated with the given LWP.
Packit Service 501009
    This call is only used on a few platforms (most use a normal register).
Packit Service 501009
    The meaning of the `int' parameter is machine-dependent.  */
Packit Service 501009
-extern ps_err_e ps_get_thread_area (const struct ps_prochandle *,
Packit Service 501009
+extern ps_err_e ps_get_thread_area (struct ps_prochandle *,
Packit Service 501009
 				    lwpid_t, int, psaddr_t *);
Packit Service 501009
 
Packit Service 501009
 
Packit Service 501009
--- gdb-7.6/gdb/amd64-linux-nat.c.orig
Packit Service 501009
+++ gdb-7.6/gdb/amd64-linux-nat.c
Packit Service 501009
@@ -493,7 +493,7 @@ amd64_linux_new_fork (struct lwp_info *p
Packit Service 501009
    a request for a thread's local storage address.  */
Packit Service 501009
 
Packit Service 501009
 ps_err_e
Packit Service 501009
-ps_get_thread_area (const struct ps_prochandle *ph,
Packit Service 501009
+ps_get_thread_area (struct ps_prochandle *ph,
Packit Service 501009
                     lwpid_t lwpid, int idx, void **base)
Packit Service 501009
 {
Packit Service 501009
   if (gdbarch_bfd_arch_info (target_gdbarch ())->bits_per_word == 32)
Packit Service 501009
--- gdb-7.6/gdb/aarch64-linux-nat.c.orig
Packit Service 501009
+++ gdb-7.6/gdb/aarch64-linux-nat.c
Packit Service 501009
@@ -750,7 +750,7 @@ aarch64_linux_new_fork (struct lwp_info
Packit Service 501009
    storage (or its descriptor).  */
Packit Service 501009
 
Packit Service 501009
 ps_err_e
Packit Service 501009
-ps_get_thread_area (const struct ps_prochandle *ph,
Packit Service 501009
+ps_get_thread_area (struct ps_prochandle *ph,
Packit Service 501009
 		    lwpid_t lwpid, int idx, void **base)
Packit Service 501009
 {
Packit Service 501009
   struct iovec iovec;
Packit Service 501009
--- gdb-7.6/gdb/arm-linux-nat.c.orig
Packit Service 501009
+++ gdb-7.6/gdb/arm-linux-nat.c
Packit Service 501009
@@ -613,7 +613,7 @@ supply_fpregset (struct regcache *regcac
Packit Service 501009
 /* Fetch the thread-local storage pointer for libthread_db.  */
Packit Service 501009
 
Packit Service 501009
 ps_err_e
Packit Service 501009
-ps_get_thread_area (const struct ps_prochandle *ph,
Packit Service 501009
+ps_get_thread_area (struct ps_prochandle *ph,
Packit Service 501009
                     lwpid_t lwpid, int idx, void **base)
Packit Service 501009
 {
Packit Service 501009
   if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
Packit Service 501009
--- gdb-7.6/gdb/i386-linux-nat.c.orig
Packit Service 501009
+++ gdb-7.6/gdb/i386-linux-nat.c
Packit Service 501009
@@ -849,7 +849,7 @@ i386_linux_new_fork (struct lwp_info *pa
Packit Service 501009
    storage (or its descriptor).  */
Packit Service 501009
 
Packit Service 501009
 ps_err_e
Packit Service 501009
-ps_get_thread_area (const struct ps_prochandle *ph, 
Packit Service 501009
+ps_get_thread_area (struct ps_prochandle *ph, 
Packit Service 501009
 		    lwpid_t lwpid, int idx, void **base)
Packit Service 501009
 {
Packit Service 501009
   /* NOTE: cagney/2003-08-26: The definition of this buffer is found
Packit Service 501009
--- gdb-7.6/gdb/mips-linux-nat.c.orig
Packit Service 501009
+++ gdb-7.6/gdb/mips-linux-nat.c
Packit Service 501009
@@ -154,7 +154,7 @@ mips64_linux_register_addr (struct gdbarch *gdbarch, int regno, int store)
Packit Service 501009
 /* Fetch the thread-local storage pointer for libthread_db.  */
Packit Service 501009
 
Packit Service 501009
 ps_err_e
Packit Service 501009
-ps_get_thread_area (const struct ps_prochandle *ph,
Packit Service 501009
+ps_get_thread_area (struct ps_prochandle *ph,
Packit Service 501009
                     lwpid_t lwpid, int idx, void **base)
Packit Service 501009
 {
Packit Service 501009
   if (ptrace (PTRACE_GET_THREAD_AREA, lwpid, NULL, base) != 0)
Packit Service 501009