]> git.pld-linux.org Git - packages/crash.git/blob - gdb-glibc.patch
- updated to 7.1.8
[packages/crash.git] / gdb-glibc.patch
1 Sync ps_get_thread_area() prototype with glibc 2.25.
2 --- gdb-7.6/gdb/gdb_proc_service.h.orig 2017-04-11 18:57:07.217202451 +0200
3 +++ gdb-7.6/gdb/gdb_proc_service.h      2017-04-11 19:06:23.527196100 +0200
4 @@ -115,7 +115,7 @@ extern pid_t ps_getpid (struct ps_procha
5  /* Fetch the special per-thread address associated with the given LWP.
6     This call is only used on a few platforms (most use a normal register).
7     The meaning of the `int' parameter is machine-dependent.  */
8 -extern ps_err_e ps_get_thread_area (const struct ps_prochandle *,
9 +extern ps_err_e ps_get_thread_area (struct ps_prochandle *,
10                                     lwpid_t, int, psaddr_t *);
11  
12  
13 --- gdb-7.6/gdb/i386-linux-nat.c.orig   2017-04-11 18:57:35.960535456 +0200
14 +++ gdb-7.6/gdb/i386-linux-nat.c        2017-04-11 19:06:54.617195745 +0200
15 @@ -849,7 +849,7 @@ i386_linux_new_fork (struct lwp_info *pa
16     storage (or its descriptor).  */
17  
18  ps_err_e
19 -ps_get_thread_area (const struct ps_prochandle *ph, 
20 +ps_get_thread_area (struct ps_prochandle *ph, 
21                     lwpid_t lwpid, int idx, void **base)
22  {
23    /* NOTE: cagney/2003-08-26: The definition of this buffer is found
This page took 0.063937 seconds and 3 git commands to generate.