This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed 8.0-branch] [Bug server/22137] gdbserver crashes on hosts with pkru register
- From: "Tedeschi, Walfred" <walfred dot tedeschi at intel dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "Pedro Alves (palves at redhat dot com)" <palves at redhat dot com>
- Date: Mon, 16 Oct 2017 08:30:29 +0000
- Subject: [pushed 8.0-branch] [Bug server/22137] gdbserver crashes on hosts with pkru register
- Authentication-results: sourceware.org; auth=none
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.0.116
> -----Original Message-----
> From: palves at redhat dot com [mailto:sourceware-
> bugzilla@sourceware.org]
> Sent: Friday, October 13, 2017 11:06 AM
> To: Tedeschi, Walfred <walfred.tedeschi@intel.com>
> Subject: [Bug server/22137] gdbserver crashes on hosts with pkru register
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=22137
>
> Pedro Alves <palves at redhat dot com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |NEW
> Last reconfirmed| |2017-10-13
> Ever confirmed|0 |1
>
> --- Comment #3 from Pedro Alves <palves at redhat dot com> ---
> > Bug is confirmed.
>
> Updating status then. Waldfred, if your account doesn't let you do that
> yourself, please let me know.
>
> And, I believe the bug is fixed in both master and 8.0 branch, right?
>
Hello Pedro,
I have pushed this one to 8.0 branch. In Master it does not apply anymore.
I also couldn't compile master:
../../../binutils-gdb/gdb/probe.c: In function \u2018void parse_probes_in_pspace(const probe_ops*, program_space*, const char*, const char*, const char*, std::vector<symtab_and_line>*)\u2019:
../../../binutils-gdb/gdb/probe.c:68:12: error: types may not be defined in a for-range-declaration [-Werror]
for (struct probe *probe : probes)
^~~~~~
../../../binutils-gdb/gdb/probe.c: In function \u2018VEC_probe_p* find_probes_in_objfile(objfile*, const char*, const char*)\u2019:
../../../binutils-gdb/gdb/probe.c:213:8: error: types may not be defined in a for-range-declaration [-Werror]
for (struct probe *probe : probes)
^~~~~~
Are you aware of it?
Thanks and regards,
/Fred
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928