1 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
3 * linux-nat.c (delete_lwp_cleanup): Delete.
4 (struct lwp_deleter): New struct.
5 (lwp_info_up): New typedef.
6 (linux_nat_target::follow_fork): Delete cleanup, and make use of
9 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
11 * linux-fork.c (class scoped_switch_fork_info): New class.
12 (inferior_call_waitpid): Update to use scoped_switch_fork_info.
14 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
16 * valops.c (find_overload_match): Remove use of null_cleanup, and
19 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
21 * compile/compile-cplus-types.c
22 (compile_cplus_instance::decl_name): Handle changes to
24 * cp-support.c (cp_func_name): Update header comment, update
26 * cp-support.h (cp_func_name): Update return type in declaration.
27 * valops.c (find_overload_match): Move temp_func local to top
28 level of function and change its type. Use temp_func to hold and
29 delete temporary string obtained from cp_func_name.
31 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
33 * remote.c (remote_target::remote_check_symbols): Convert `msg` to
34 gdb::char_vector, remove cleanup, and update uses of `msg`.
36 2019-01-03 Jim Wilson <jimw@sifive.com>
38 * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
40 2019-01-02 Tom Tromey <tom@tromey.com>
42 * xml-tdesc.c (xml_cache): Hold a target_desc_up.
43 (tdesc_parse_xml): Remove cleanups.
44 * target-descriptions.h (make_cleanup_free_target_description):
46 (target_desc_deleter): New struct.
47 (target_desc_up): New typedef.
48 * target-descriptions.c (target_desc_deleter::operator()): Rename
49 from free_target_description.
50 (make_cleanup_free_target_description): Remove.
52 2019-01-02 Tom Tromey <tom@tromey.com>
54 * linespec.c (struct linespec_parser): Rename from ls_parser. Add
55 constructor, destructor.
56 (linespec_parser): Remove typedef.
57 (~linespec_parser): Rename from linespec_parser_delete.
58 (linespec_lex_to_end, linespec_complete_label)
59 (linespec_complete): Update.
60 (decode_line_full): Remove cleanups.
61 (decode_line_1): Update.
63 2019-01-02 Tom Tromey <tom@tromey.com>
65 * python/python-internal.h (inferior_to_inferior_object): Change
67 * python/py-exitedevent.c (create_exited_event_object): Update.
68 * python/py-inferior.c (inferior_to_inferior_object): Return
70 (python_new_inferior, python_inferior_deleted)
71 (thread_to_thread_object, delete_thread_object)
72 (build_inferior_list, gdbpy_selected_inferior): Update.
73 * python/py-infthread.c (create_thread_object): Update. Also fail
74 if inferior_to_inferior_object fails.
76 2019-01-02 Simon Marchi <simon.marchi@ericsson.com>
78 * inferior.h (class inferior) <displaced_step_state>: New field.
79 * infrun.h (struct displaced_step_state): Move here from
80 infrun.c. Initialize fields, add constructor.
83 * infrun.c (struct displaced_step_inferior_state): Move to
85 (displaced_step_inferior_states): Remove.
86 (get_displaced_stepping_state): Adust.
87 (displaced_step_in_progress_any_inferior): Adjust.
88 (displaced_step_in_progress_thread): Adjust.
89 (displaced_step_in_progress): Adjust.
90 (add_displaced_stepping_state): Remove.
91 (get_displaced_step_closure_by_addr): Adjust.
92 (remove_displaced_stepping_state): Remove.
93 (infrun_inferior_exit): Call displaced_step_state.reset.
94 (use_displaced_stepping): Don't check for NULL.
95 (displaced_step_prepare_throw): Call
96 get_displaced_stepping_state.
97 (displaced_step_fixup): Don't check for NULL.
98 (prepare_for_detach): Don't check for NULL.
100 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
102 * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
103 in case of call that did not complete.
105 2019-01-02 Andrey Utkin <autkin@undo.io>
107 * symfile.c (find_separate_debug_file): Fix search of debug files for
110 2019-01-02 Tom Tromey <tom@tromey.com>
112 * python/py-inferior.c (gdbpy_initialize_inferior): Fix
114 * python/py-frame.c (frapy_older): Remove cast.
115 (frapy_newer): Likewise.
116 * python/py-breakpoint.c (local_setattro): Remove cast.
117 * python/py-arch.c (archpy_name): Remove local variable.
118 * python/py-type.c (gdbpy_lookup_type): Remove cast.
120 2019-01-02 Joel Brobecker <brobecker@adacore.com>
122 * unittests/basic_string_view/element_access/char/empty.cc:
123 Fix year range in copyright header.
125 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com>
127 * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
129 <operator==>: Update with for removed field.
131 * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
132 <isa_features>: ...this.
133 <abi_features>: New field.
134 (riscv_isa_flen): Update comment.
135 (riscv_abi_xlen): New declaration.
136 (riscv_abi_flen): New declaration.
137 * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
139 (riscv_abi_xlen): New function.
140 (riscv_isa_flen): Update to get answer from isa_features.
141 (riscv_abi_flen): New function.
142 (riscv_has_fp_abi): Update to get answer from abi_features.
143 (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
145 (riscv_call_info) <xlen, flen>: Update comment.
146 (riscv_call_arg_struct): Remove invalid assertions
147 (riscv_features_from_gdbarch_info): Update now hw_float_abi field
149 (riscv_gdbarch_init): Gather isa features and abi features
150 separately, ensure both match on the gdbarch when reusing an old
151 gdbarch. Relax an error check to allow 32-bit abi float to run on
152 a target with 64-bit float hardware.
154 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
156 * source.c (search_command_helper): Stop reverse search
157 when line 1 has been searched.
159 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
161 * record-full.c (record_full_base_target::close): Rewrite
162 record_full_core_buf_list free logic.
164 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
166 * break-catch-syscall.c (print_one_catch_syscall): xfree
169 2019-01-01 Joel Brobecker <brobecker@adacore.com>
171 * top.c (print_gdb_version): Update Copyright year in version
174 2019-01-01 Joel Brobecker <brobecker@adacore.com>
176 Update copyright year range in all GDB files.
178 2019-01-01 Joel Brobecker <brobecker@adacore.com>
180 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
182 For older changes see ChangeLog-2018.
188 version-control: never