Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/external/gpl3/gdb/dist/gdb Apply upstream patch, requeste...
details: https://anonhg.NetBSD.org/src/rev/f2510803c3f4
branches: netbsd-8
changeset: 449283:f2510803c3f4
user: martin <martin%NetBSD.org@localhost>
date: Fri Mar 01 17:41:05 2019 +0000
description:
Apply upstream patch, requested by kamil in ticket #1200, to fix the
build of gdb with newer gcc (like in NetBSD-current):
(string_to_explicit_location): Use NULL, not '\0'.
diffstat:
external/gpl3/gdb/dist/gdb/ChangeLog | 10 ++++++++++
external/gpl3/gdb/dist/gdb/location.c | 2 +-
2 files changed, 11 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 4bead916a2da -r f2510803c3f4 external/gpl3/gdb/dist/gdb/ChangeLog
--- a/external/gpl3/gdb/dist/gdb/ChangeLog Fri Mar 01 17:33:24 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/ChangeLog Fri Mar 01 17:41:05 2019 +0000
@@ -1,3 +1,13 @@
+2016-10-05 Tom Tromey <tom%tromey.com@localhost>
+
+ PR breakpoints/20653:
+ * location.c (string_to_explicit_location): Use NULL, not '\0'.
+
+2016-10-05 Tom Tromey <tom%tromey.com@localhost>
+
+ PR breakpoints/20653:
+ * location.c (string_to_explicit_location): Use NULL, not '\0'.
+
2016-10-07 Joel Brobecker <brobecker%adacore.com@localhost>
* version.in: Set GDB version number to 7.12.
diff -r 4bead916a2da -r f2510803c3f4 external/gpl3/gdb/dist/gdb/location.c
--- a/external/gpl3/gdb/dist/gdb/location.c Fri Mar 01 17:33:24 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/location.c Fri Mar 01 17:41:05 2019 +0000
@@ -524,7 +524,7 @@
character is an explicit location. "-p" is reserved, though,
for probe locations. */
if (argp == NULL
- || *argp == '\0'
+ || *argp == NULL
|| *argp[0] != '-'
|| !isalpha ((*argp)[1])
|| ((*argp)[0] == '-' && (*argp)[1] == 'p'))
Home |
Main Index |
Thread Index |
Old Index