package/gdb: fix gdb-7.12.1 build on xtensa
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Mar 2017 20:22:10 +0000 (13:22 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Mar 2017 19:50:43 +0000 (21:50 +0200)
commit3419046be9473dfed50e1826f51ea367e49933af
tree0abdb5261bcb1eab1fe322e1cde8393b9bfa78e3
parentc31eaf300a16b6924327a11ab3c402e08976929f
package/gdb: fix gdb-7.12.1 build on xtensa

This fixes the following gdb-7.12.1 build error on xtensa architecture:

  gdb/xtensa-linux-nat.c: In function 'void fetch_gregs(regcache*, ptid_t, int)':
  gdb/xtensa-linux-nat.c:178:23: error: uninitialized const 'regs' [-fpermissive]
     const gdb_gregset_t regs;

Backported from: d274ecf4ddf76768af57e27f654b9ce6784b391c
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/7.12.1/0001-Remove-const-in-xtensa-linux-nat.c-fetch_gregs.patch [new file with mode: 0644]