This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/20653] string_to_explicit_location has some weird code
- From: "qiyao at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 24 Oct 2016 11:12:12 +0000
- Subject: [Bug breakpoints/20653] string_to_explicit_location has some weird code
- Auto-submitted: auto-generated
- References: <bug-20653-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20653
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qiyao at gcc dot gnu.org
Target Milestone|8.0 |7.12.1
--- Comment #4 from Yao Qi <qiyao at gcc dot gnu.org> ---
I backport it to 7.12 branch, otherwise, 7.12 failed to compile with recent
gcc,
../../binutils-gdb/gdb/location.c: In function ‘event_location*
string_to_explicit_location(const char**, const language_defn*, int)’:
../../binutils-gdb/gdb/location.c:527:19: error: ISO C++ forbids
comparison between pointer and integer [-fpermissive]
|| *argp == '\0'
^~~~
make[2]: *** [location.o] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.