This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/22736] [aarch64] gdb crashes on a conditional breakpoint with cast return type
- From: "alan.hayward at arm dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 22 Feb 2018 14:37:04 +0000
- Subject: [Bug breakpoints/22736] [aarch64] gdb crashes on a conditional breakpoint with cast return type
- Auto-submitted: auto-generated
- References: <bug-22736-4717@http.sourceware.org/bugzilla/>
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.