1 2019-01-02 Tom Tromey <tom@tromey.com>
3 * linespec.c (struct linespec_parser): Rename from ls_parser. Add
4 constructor, destructor.
5 (linespec_parser): Remove typedef.
6 (~linespec_parser): Rename from linespec_parser_delete.
7 (linespec_lex_to_end, linespec_complete_label)
8 (linespec_complete): Update.
9 (decode_line_full): Remove cleanups.
10 (decode_line_1): Update.
12 2019-01-02 Tom Tromey <tom@tromey.com>
14 * python/python-internal.h (inferior_to_inferior_object): Change
16 * python/py-exitedevent.c (create_exited_event_object): Update.
17 * python/py-inferior.c (inferior_to_inferior_object): Return
19 (python_new_inferior, python_inferior_deleted)
20 (thread_to_thread_object, delete_thread_object)
21 (build_inferior_list, gdbpy_selected_inferior): Update.
22 * python/py-infthread.c (create_thread_object): Update. Also fail
23 if inferior_to_inferior_object fails.
25 2019-01-02 Simon Marchi <simon.marchi@ericsson.com>
27 * inferior.h (class inferior) <displaced_step_state>: New field.
28 * infrun.h (struct displaced_step_state): Move here from
29 infrun.c. Initialize fields, add constructor.
32 * infrun.c (struct displaced_step_inferior_state): Move to
34 (displaced_step_inferior_states): Remove.
35 (get_displaced_stepping_state): Adust.
36 (displaced_step_in_progress_any_inferior): Adjust.
37 (displaced_step_in_progress_thread): Adjust.
38 (displaced_step_in_progress): Adjust.
39 (add_displaced_stepping_state): Remove.
40 (get_displaced_step_closure_by_addr): Adjust.
41 (remove_displaced_stepping_state): Remove.
42 (infrun_inferior_exit): Call displaced_step_state.reset.
43 (use_displaced_stepping): Don't check for NULL.
44 (displaced_step_prepare_throw): Call
45 get_displaced_stepping_state.
46 (displaced_step_fixup): Don't check for NULL.
47 (prepare_for_detach): Don't check for NULL.
49 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
51 * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
52 in case of call that did not complete.
54 2019-01-02 Andrey Utkin <autkin@undo.io>
56 * symfile.c (find_separate_debug_file): Fix search of debug files for
59 2019-01-02 Tom Tromey <tom@tromey.com>
61 * python/py-inferior.c (gdbpy_initialize_inferior): Fix
63 * python/py-frame.c (frapy_older): Remove cast.
64 (frapy_newer): Likewise.
65 * python/py-breakpoint.c (local_setattro): Remove cast.
66 * python/py-arch.c (archpy_name): Remove local variable.
67 * python/py-type.c (gdbpy_lookup_type): Remove cast.
69 2019-01-02 Joel Brobecker <brobecker@adacore.com>
71 * unittests/basic_string_view/element_access/char/empty.cc:
72 Fix year range in copyright header.
74 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com>
76 * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
78 <operator==>: Update with for removed field.
80 * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
81 <isa_features>: ...this.
82 <abi_features>: New field.
83 (riscv_isa_flen): Update comment.
84 (riscv_abi_xlen): New declaration.
85 (riscv_abi_flen): New declaration.
86 * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
88 (riscv_abi_xlen): New function.
89 (riscv_isa_flen): Update to get answer from isa_features.
90 (riscv_abi_flen): New function.
91 (riscv_has_fp_abi): Update to get answer from abi_features.
92 (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
94 (riscv_call_info) <xlen, flen>: Update comment.
95 (riscv_call_arg_struct): Remove invalid assertions
96 (riscv_features_from_gdbarch_info): Update now hw_float_abi field
98 (riscv_gdbarch_init): Gather isa features and abi features
99 separately, ensure both match on the gdbarch when reusing an old
100 gdbarch. Relax an error check to allow 32-bit abi float to run on
101 a target with 64-bit float hardware.
103 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
105 * source.c (search_command_helper): Stop reverse search
106 when line 1 has been searched.
108 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
110 * record-full.c (record_full_base_target::close): Rewrite
111 record_full_core_buf_list free logic.
113 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
115 * break-catch-syscall.c (print_one_catch_syscall): xfree
118 2019-01-01 Joel Brobecker <brobecker@adacore.com>
120 * top.c (print_gdb_version): Update Copyright year in version
123 2019-01-01 Joel Brobecker <brobecker@adacore.com>
125 Update copyright year range in all GDB files.
127 2019-01-01 Joel Brobecker <brobecker@adacore.com>
129 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
131 For older changes see ChangeLog-2018.
137 version-control: never