Change inferior_to_inferior_object to return a gdbpy_ref
[external/binutils.git] / gdb / ChangeLog
1 2019-01-02  Tom Tromey  <tom@tromey.com>
2
3         * python/python-internal.h (inferior_to_inferior_object): Change
4         return type.
5         * python/py-exitedevent.c (create_exited_event_object): Update.
6         * python/py-inferior.c (inferior_to_inferior_object): Return
7         gdbpy_ref.
8         (python_new_inferior, python_inferior_deleted)
9         (thread_to_thread_object, delete_thread_object)
10         (build_inferior_list, gdbpy_selected_inferior): Update.
11         * python/py-infthread.c (create_thread_object): Update.  Also fail
12         if inferior_to_inferior_object fails.
13
14 2019-01-02  Simon Marchi  <simon.marchi@ericsson.com>
15
16         * inferior.h (class inferior) <displaced_step_state>: New field.
17         * infrun.h (struct displaced_step_state): Move here from
18         infrun.c.  Initialize fields, add constructor.
19         <inf>: Remove field.
20         <reset>: New method.
21         * infrun.c (struct displaced_step_inferior_state): Move to
22         infrun.h.
23         (displaced_step_inferior_states): Remove.
24         (get_displaced_stepping_state): Adust.
25         (displaced_step_in_progress_any_inferior): Adjust.
26         (displaced_step_in_progress_thread): Adjust.
27         (displaced_step_in_progress): Adjust.
28         (add_displaced_stepping_state): Remove.
29         (get_displaced_step_closure_by_addr): Adjust.
30         (remove_displaced_stepping_state): Remove.
31         (infrun_inferior_exit): Call displaced_step_state.reset.
32         (use_displaced_stepping): Don't check for NULL.
33         (displaced_step_prepare_throw): Call
34         get_displaced_stepping_state.
35         (displaced_step_fixup): Don't check for NULL.
36         (prepare_for_detach): Don't check for NULL.
37
38 2019-01-02  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
39
40         * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
41          in case of call that did not complete.
42
43 2019-01-02  Andrey Utkin  <autkin@undo.io>
44
45         * symfile.c (find_separate_debug_file): Fix search of debug files for
46         remote debuggee.
47
48 2019-01-02  Tom Tromey  <tom@tromey.com>
49
50         * python/py-inferior.c (gdbpy_initialize_inferior): Fix
51         indentation.
52         * python/py-frame.c (frapy_older): Remove cast.
53         (frapy_newer): Likewise.
54         * python/py-breakpoint.c (local_setattro): Remove cast.
55         * python/py-arch.c (archpy_name): Remove local variable.
56         * python/py-type.c (gdbpy_lookup_type): Remove cast.
57
58 2019-01-02  Joel Brobecker  <brobecker@adacore.com>
59
60         * unittests/basic_string_view/element_access/char/empty.cc:
61         Fix year range in copyright header.
62
63 2019-01-01  Andrew Burgess  <andrew.burgess@embecosm.com>
64
65         * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
66         Delete.
67         <operator==>: Update with for removed field.
68         <hash>: Likewise.
69         * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
70         <isa_features>: ...this.
71         <abi_features>: New field.
72         (riscv_isa_flen): Update comment.
73         (riscv_abi_xlen): New declaration.
74         (riscv_abi_flen): New declaration.
75         * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
76         isa_features.
77         (riscv_abi_xlen): New function.
78         (riscv_isa_flen): Update to get answer from isa_features.
79         (riscv_abi_flen): New function.
80         (riscv_has_fp_abi): Update to get answer from abi_features.
81         (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
82         xlen and flen.
83         (riscv_call_info) <xlen, flen>: Update comment.
84         (riscv_call_arg_struct): Remove invalid assertions
85         (riscv_features_from_gdbarch_info): Update now hw_float_abi field
86         is removed.
87         (riscv_gdbarch_init): Gather isa features and abi features
88         separately, ensure both match on the gdbarch when reusing an old
89         gdbarch.  Relax an error check to allow 32-bit abi float to run on
90         a target with 64-bit float hardware.
91
92 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
93
94         * source.c (search_command_helper): Stop reverse search
95         when line 1 has been searched.
96
97 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
98
99         * record-full.c (record_full_base_target::close): Rewrite
100         record_full_core_buf_list free logic.
101
102 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
103
104         * break-catch-syscall.c (print_one_catch_syscall): xfree
105         the last text.
106
107 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
108
109         * top.c (print_gdb_version): Update Copyright year in version
110         message.
111
112 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
113
114         Update copyright year range in all GDB files.
115
116 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
117
118         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
119
120 For older changes see ChangeLog-2018.
121 \f
122 Local Variables:
123 mode: change-log
124 left-margin: 8
125 fill-column: 74
126 version-control: never
127 coding: utf-8
128 End:
129