This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/22736] [aarch64] gdb crashes on a conditional breakpoint with cast return type


https://sourceware.org/bugzilla/show_bug.cgi?id=22736

Alan Hayward <alan.hayward at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan.hayward at arm dot com

--- Comment #1 from Alan Hayward <alan.hayward at arm dot com> ---
Tested this with 8.1.50.20180220-git
Reproduced error exactly as stated on aarch64.

Interestingly, the bug does not occur on any of:

1) Remove the cast:
$ ./gdb ./gdb
(gdb) b dwarf2_physname if strcmp (name, "another_thread_local") == 0
(gdb) run a.out

2) Provide the args on the shell command line:
$ ./gdb ./gdb -r ./a.out
(gdb) b dwarf2_physname if (int)strcmp (name, "another_thread_local") == 0
(gdb) run

3) Using x86

4) Using distro provided gdb 7.1.1:
$ /usr/bin/gdb ./gdb
(gdb) b dwarf2_physname if (int)strcmp (name, "another_thread_local") == 0
(gdb) run a.out

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]