Fix backwards compatibility with old GDBservers (PR remote/22597)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e7f3cc2052630575706797c1be13d195a9684cc7..4c629e548cc1729e3cf3dcaa8670ca31253f4efe 100644 (file)
@@ -1,3 +1,71 @@
+2018-01-11  Pedro Alves  <palves@redhat.com>
+
+       PR remote/22597
+       * remote.c (remote_parse_stop_reply): Default to the last-set
+       general thread instead of to 'magic_null_ptid'.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       * language.h (language_get_symbol_name_matcher): Rename ...
+       (get_symbol_name_matcher): ... this.
+       * language.c (language_get_symbol_name_matcher): Ditto.
+       * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
+       callers adjusted.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * dwarf2read.c
+       (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
+       Adjust to use language_get_symbol_name_matcher instead of
+       language_defn::la_get_symbol_name_matcher.
+       * language.c (language_get_symbol_name_matcher): If in Ada mode
+       and the lookup name is a verbatim match, return Ada's matcher.
+       * language.h (language_get_symbol_name_matcher): Adjust comment.
+       (ada_lookup_name_info::verbatim_p):: New method.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * ada-lang.c (ada_collect_symbol_completion_matches): If the
+       minsym's language is language_auto or language_cplus, pass down
+       language_ada instead.
+       * symtab.c (compare_symbol_name): Don't frob symbol language here.
+
+2018-01-10  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * minsyms.c (linkage_name_str): New function.
+       (iterate_over_minimal_symbols): Use it.
+
+2018-01-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * NEWS: Document that 'info proc' now works on FreeBSD.
+
+2018-01-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * configure.ac: Check for kinfo_getfile in libutil.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * fbsd-nat.c: Include "fbsd-tdep.h".
+       (fbsd_fetch_cmdline): New.
+       (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool
+       rather than calling error.
+       (fbsd_info_proc): New.
+       (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails.
+       (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails.
+       (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc".
+
+2018-01-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (struct free_deleter): Remove.
+       (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>.
+
+2018-01-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return
+       NULL for an empty pathname.
+
 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
 
        * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET)
This page took 0.024732 seconds and 4 git commands to generate.