Remove cleanups from linespec.c
[external/binutils.git] / gdb / ChangeLog
1 2019-01-02  Tom Tromey  <tom@tromey.com>
2
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.
11
12 2019-01-02  Tom Tromey  <tom@tromey.com>
13
14         * python/python-internal.h (inferior_to_inferior_object): Change
15         return type.
16         * python/py-exitedevent.c (create_exited_event_object): Update.
17         * python/py-inferior.c (inferior_to_inferior_object): Return
18         gdbpy_ref.
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.
24
25 2019-01-02  Simon Marchi  <simon.marchi@ericsson.com>
26
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.
30         <inf>: Remove field.
31         <reset>: New method.
32         * infrun.c (struct displaced_step_inferior_state): Move to
33         infrun.h.
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.
48
49 2019-01-02  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
50
51         * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
52          in case of call that did not complete.
53
54 2019-01-02  Andrey Utkin  <autkin@undo.io>
55
56         * symfile.c (find_separate_debug_file): Fix search of debug files for
57         remote debuggee.
58
59 2019-01-02  Tom Tromey  <tom@tromey.com>
60
61         * python/py-inferior.c (gdbpy_initialize_inferior): Fix
62         indentation.
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.
68
69 2019-01-02  Joel Brobecker  <brobecker@adacore.com>
70
71         * unittests/basic_string_view/element_access/char/empty.cc:
72         Fix year range in copyright header.
73
74 2019-01-01  Andrew Burgess  <andrew.burgess@embecosm.com>
75
76         * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
77         Delete.
78         <operator==>: Update with for removed field.
79         <hash>: Likewise.
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
87         isa_features.
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
93         xlen and flen.
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
97         is removed.
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.
102
103 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
104
105         * source.c (search_command_helper): Stop reverse search
106         when line 1 has been searched.
107
108 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
109
110         * record-full.c (record_full_base_target::close): Rewrite
111         record_full_core_buf_list free logic.
112
113 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
114
115         * break-catch-syscall.c (print_one_catch_syscall): xfree
116         the last text.
117
118 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
119
120         * top.c (print_gdb_version): Update Copyright year in version
121         message.
122
123 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
124
125         Update copyright year range in all GDB files.
126
127 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
128
129         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
130
131 For older changes see ChangeLog-2018.
132 \f
133 Local Variables:
134 mode: change-log
135 left-margin: 8
136 fill-column: 74
137 version-control: never
138 coding: utf-8
139 End:
140