[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2023-06-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Tue Jun 26 10:36:19 2018 New Revision: 262136 URL: https://gcc.gnu.org/viewcvs?rev=262136=gcc=rev Log: PR debug/86257 * gcc.target/i386/pr86257.c: Add -mtls-dialect=gnu

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-25 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #7 from Tom de Vries --- Author: vries Date: Mon Jun 25 10:39:54 2018 New Revision: 262006 URL: https://gcc.gnu.org/viewcvs?rev=262006=gcc=rev Log: [i386/debug] Fix insn prefix in tls_global_dynamic_64_ 2018-06-25 Tom de Vries

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-24 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #6 from Tom de Vries

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #5 from Tom de Vries --- (In reply to Tom de Vries from comment #4) > Adding a nop before the .byte fixes this: > + if (debug_info_level >= DINFO_LEVEL_TERSE) > +fputs ("\tnop\n", asm_out_file); Hmm, this'll probably

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #4 from Tom de Vries --- Adding a nop before the .byte fixes this: ... diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index eb77ef3c08f..d088b1e7fe0 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #3 from Tom de Vries --- Reproducable with trunk gcc and gdb.

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 --- Comment #2 from Richard Biener --- *** Bug 86258 has been marked as a duplicate of this bug. ***

[Bug debug/86257] Program compiled with fPIC crashes while stepping over thread-local variable GDB

2018-06-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86257 Richard Biener changed: What|Removed |Added Keywords||wrong-code, wrong-debug