• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


gdb-7.11-branch
RSS
Rev. Tiempo Autor
140bf80 gdb-7.11-branch 2016-08-25 16:55:27 Adhemerval Zanella

Sync proc_service definition with GLIBC

GLIBC BZ#20311 [1] proc_service.h install patch also remove 'const'
attributes from ps_get_thread_area and comment #15 discuss why to remove
the const attribute (basically since it a callback with the struct
ps_prochandle owned by the client it should be able to modify it if
it the case).

On default build this is not the issue and current g++ does not trigger
any issue with this mismatch declaration. However, on some bootstrap
build configuration where gdbserver is build with gcc instead this
triggers:

error: conflicting types for 'ps_get_thread_area'

This patch fixes it by syncing the declaration with GLIBC.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=20311

gdb/ChangeLog:

2016-08-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>

* aarch64-linux-nat.c (ps_get_thread_area): Remove const from
struct ps_prochandle.
* amd64-linux-nat.c (ps_get_thread_area): Likewise.
* arm-linux-nat.c (ps_get_thread_area): Likewise.
* gdb_proc_service.h (ps_get_thread_area): Likewise.
* i386-linux-nat.c (ps_get_thread_area): Likewise.
* m68klinux-nat.c (ps_get_thread_area): Likewise.
* mips-linux-nat.c (ps_get_thread_area): Likewise.
* nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise.
* nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise.
* xtensa-linux-nat.c (ps_get_thread_area): Likewise.

gdb/gdbserver/ChangeLog:

2016-08-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>

PR server/20491
* gdb_proc_service.h (ps_get_thread_area): Remove const from struct
ps_prochandle.
* linux-aarch64-low.c (ps_get_thread_area): Likewise.
* linux-arm-low.c (ps_get_thread_area): Likewise.
* linux-crisv32-low.c (ps_get_thread_area): Likewise.
* linux-m68k-low.c (ps_get_thread_area): Likewise.
* linux-mips-low.c (ps_get_thread_area): Likewise.
* linux-nios2-low.c (ps_get_thread_area): Likewise.
* linux-tic6x-low.c (ps_get_thread_area): Likewise.
* linux-x86-low.c (ps_get_thread_area): Likewise.
* linux-xtensa-low.c (ps_get_thread_area): Likewise.

a24d793 2016-08-01 09:00:46 GDB Administrator

Automatic date update in version.in

3641b87 2016-07-31 09:00:37 GDB Administrator

Automatic date update in version.in

f45f235 2016-07-30 09:00:43 GDB Administrator

Automatic date update in version.in

d05b4da 2016-07-29 09:00:42 GDB Administrator

Automatic date update in version.in

39b3a9c 2016-07-28 09:00:48 GDB Administrator

Automatic date update in version.in

7bba4ed 2016-07-27 09:00:40 GDB Administrator

Automatic date update in version.in

a6a337a 2016-07-26 09:00:45 GDB Administrator

Automatic date update in version.in

0df4861 2016-07-25 09:00:50 GDB Administrator

Automatic date update in version.in

fea9c4e 2016-07-24 09:00:43 GDB Administrator

Automatic date update in version.in

0450cb4 2016-07-23 09:00:44 GDB Administrator

Automatic date update in version.in

a5b36d8 2016-07-22 09:00:43 GDB Administrator

Automatic date update in version.in

08c323e 2016-07-21 09:00:46 GDB Administrator

Automatic date update in version.in

ae3b10d 2016-07-20 09:00:42 GDB Administrator

Automatic date update in version.in

3ff1532 2016-07-19 09:00:49 GDB Administrator

Automatic date update in version.in

c89c600 2016-07-18 09:00:41 GDB Administrator

Automatic date update in version.in

8918391 2016-07-17 09:01:07 GDB Administrator

Automatic date update in version.in

f5d2977 2016-07-16 09:00:40 GDB Administrator

Automatic date update in version.in

755d1c6 2016-07-15 09:00:43 GDB Administrator

Automatic date update in version.in

cf1f023 2016-07-14 09:00:46 GDB Administrator

Automatic date update in version.in

41c26f2 2016-07-13 09:00:44 GDB Administrator

Automatic date update in version.in

3ac8aff 2016-07-12 09:00:38 GDB Administrator

Automatic date update in version.in

5c22e16 2016-07-11 09:00:47 GDB Administrator

Automatic date update in version.in

5573899 2016-07-10 09:00:45 GDB Administrator

Automatic date update in version.in

06bdb21 2016-07-09 09:00:39 GDB Administrator

Automatic date update in version.in

a4a48b0 2016-07-08 09:00:40 GDB Administrator

Automatic date update in version.in

b3b7459 2016-07-07 09:00:44 GDB Administrator

Automatic date update in version.in

685513d 2016-07-06 09:00:42 GDB Administrator

Automatic date update in version.in

1675c7b 2016-07-05 09:00:46 GDB Administrator

Automatic date update in version.in

72ac5d4 2016-07-04 09:00:47 GDB Administrator

Automatic date update in version.in