707b2f20be2422d56913e70e4fdca92422fdf9e7
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2009-01-08 Joel Brobecker <brobecker@adacore.com>
2
3 Get rid of support for VAX Floats.
4 * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
5 (ada_vax_float_print_function): Delete.
6 * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
7 (ada_vax_float_print_function): Delete.
8 * ada-typeprint.c (print_vax_floating_point_type): Delete.
9 (ada_print_type): Remove support for VAX floats.
10 * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
11
12 2010-01-08 jan kratochvil <jan.kratochvil@redhat.com>
13
14 * stabsread.c (read_args): Handle zero arguments.
15
16 2009-01-08 Joel Brobecker <brobecker@adacore.com>
17
18 Cannot find in-tree libiconv.a after reconfigure.
19 * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
20 that we can use, then cache the path to this archive.
21 * configure: Regenerate.
22
23 2010-01-07 Stan Shebs <stan@codesourcery.com>
24
25 Make tracepoint operations go through target vector.
26 * target.h (enum trace_find_type): New enum.
27 (struct target_ops): New fields to_trace_init,
28 to_download_tracepoint, to_download_trace_state_variable,
29 to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
30 to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
31 to_set_disconnected_tracing.
32 (target_trace_init): New macro.
33 (target_download_tracepoint): New macro.
34 (target_download_trace_state_variable): New macro.
35 (target_trace_start): New macro.
36 (target_trace_set_readonly_regions): New macro.
37 (target_get_trace_status): New macro.
38 (target_trace_stop): New macro.
39 (target_trace_find): New macro.
40 (target_get_trace_state_variable_value): New macro.
41 (target_set_disconnected_tracing): New macro.
42 * target.c (update_current_target): Inherit and set defaults for
43 tracepoint operations.
44 * tracepoint.c (default_collect): Make globally visible.
45 (target_is_remote): Remove, along with all calls.
46 (tvariables_info): Call target_get_trace_state_variable_value.
47 (remote_set_transparent_ranges): Remove.
48 (trace_start_command): Call target_trace_init,
49 target_download_tracepoint, etc.
50 (download_tracepoint): Remove.
51 (trace_stop_command): Simplify.
52 (stop_tracing): Call target_trace_stop.
53 (get_trace_status): Call target_get_trace_status.
54 (trace_status_command): Add case for targets that cannot trace.
55 (finish_tfind_command): Change to take numerical arguments, call
56 target_trace_find.
57 (trace_find_command): Update call to finish_tfind_command.
58 (trace_find_pc_command): Ditto.
59 (trace_find_tracepoint_command): Ditto.
60 (trace_find_line_command): Ditto.
61 (trace_find_range_command): Ditto.
62 (trace_find_outside_command): Ditto.
63 (set_disconnected_tracing_value): Call
64 target_set_disconnected_tracing.
65 * remote.c: Add protocol encoding bits from tracepoint.c.
66 (trace_error): Move from tracepoint.c.
67 (remote_get_noisy_reply): Ditto.
68 (free_actions_list_cleanup_wrapper): Ditto.
69 (free_actions_list): Ditto.
70 (remote_trace_init): New function.
71 (remote_download_tracepoint): New function.
72 (remote_download_trace_state_variable): New function.
73 (remote_trace_set_readonly_regions): New function.
74 (remote_trace_start): New function.
75 (remote_get_trace_status): New function.
76 (remote_trace_stop): New function.
77 (remote_trace_find): New function.
78 (remote_download_trace_state_variable): New function.
79 (remote_set_disconnected_tracing): New function.
80 (init_remote_ops): Add tracepoint operations.
81
82 * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
83
84 2010-01-07 Tristan Gingold <gingold@adacore.com>
85
86 * symfile.c (build_section_addr_info_from_objfile): New function.
87 (symbol_file_add_separate): Don't use offsets from objfile but
88 built an addr info.
89
90 2010-01-06 Stan Shebs <stan@codesourcery.com>
91
92 Support disconnected tracing.
93 * infcmd.c (detach_command): Ask whether to stop tracing.
94 * cli/cli-cmds.c (quit_command): Ditto.
95 * breakpoint.h (struct breakpoint): New field number_on_target.
96 * breakpoint.c (create_tracepoint_from_upload): New function.
97 (get_tracepoint_by_number_on_target): New function.
98 * remote.c (struct remote): New field disconnected_tracing.
99 (remote_disconnected_tracing_feature): New function.
100 (remote_protocol_features): Add DisconnectedTracing.
101 (struct uploaded_tp): New struct.
102 (uploaded_tps): New global.
103 (get_uploaded_tp): New function.
104 (find_matching_tracepoint): New function.
105 (remote_get_tracing_state): New function.
106 (remote_start_remote): Call it.
107 * tracepoint.c (disconnected_tracing): New global.
108 (trace_start_command): Initialize number_on_target.
109 (stop_tracing): New function, split out from...
110 (trace_stop_command): Call stop_tracing.
111 (get_trace_status): New function, split out from...
112 (trace_status_command): Call get_trace_status, add info on
113 disconnection behavior.
114 (disconnect_or_stop_tracing): New function.
115 (finish_tfind_command): Translate from number on target.
116 (trace_find_tracepoint_command): Translate to number on target.
117 (send_disconnected_tracing_value): New function.
118 (set_disconnected_tracing): New function.
119 (_initialize_tracepoint): Add disconnected-tracing variable.
120 * NEWS: Mention disconnected tracing.
121
122 2010-01-06 Tristan Gingold <gingold@adacore.com>
123
124 * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
125 parameter to main_objfile. Iterate on all separate debug objfiles.
126 * symfile.h (symbol_file_add_separate)
127 (find_separate_debug_file_by_debuglink): Remove parameter names.
128 * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
129 (reread_symbols): Use free_objfile_separate_debug.
130 * objfiles.h (struct objfile): Add separate_debug_objfile_link.
131 Adjust comment.
132 (objfile_separate_debug_iterate, add_separate_debug_objfile)
133 (free_objfile_separate_debug): New prototypes.
134 * objfiles.c (objfile_separate_debug_iterate): New function.
135 (add_separate_debug_objfile, free_objfile_separate_debug): New
136 functions.
137 (free_objfile): Use free_objfile_separate_debug. Adjust for
138 multiple separate debug objfile.
139 (objfile_has_symbols): Adjust comment. Iterate on all separate
140 debug objfiles.
141 * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
142 debug objfile.
143 (lookup_minimal_symbol_text): Ditto.
144 (lookup_minimal_symbol_by_pc_name): Ditto.
145 (lookup_minimal_symbol_solib_trampoline): Ditto.
146 (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
147 debug objfiles.
148
149 2010-01-05 Stan Shebs <stan@codesourcery.com>
150
151 Add fast tracepoints.
152 * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
153 * arch-utils.c (default_fast_tracepoint_valid_at): New function.
154 * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
155 * breakpoint.c (tracepoint_type): New function.
156 (ALL_TRACEPOINTS): Use it.
157 (should_be_inserted): Ditto.
158 (bpstat_check_location): Ditto.
159 (print_one_breakpoint_location): Ditto.
160 (user_settable_breakpoint): Ditto.
161 (set_breakpoint_location_function): Ditto.
162 (disable_breakpoints_in_shlibs): Ditto.
163 (delete_trace_command): Ditto.
164 (print_it_typical): Add bp_fast_tracepoint case.
165 (bpstat_what): Ditto.
166 (print_one_breakpoint_location): Ditto.
167 (allocate_bp_location): Ditto.
168 (mention): Ditto.
169 (breakpoint_re_set_one): Ditto.
170 (disable_command): Ditto.
171 (enable_command): Ditto.
172 (check_fast_tracepoint_sals): New function.
173 (break_command_really): Call it.
174 (ftrace_command): New function.
175 (_initialize_breakpoint): Add ftrace command.
176 * gdbarch.sh (fast_tracepoint_valid_at): New.
177 * gdbarch.h, gdbarch.c: Regenerate.
178 * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
179 (i386_gdbarch_init): Use it.
180 * remote.c (struct remote_state): New field fast_tracepoints.
181 (PACKET_FastTracepoints): New packet config type.
182 (remote_fast_tracepoint_feature): New function.
183 (remote_protocol_features): Add FastTracepoints.
184 (remote_supports_fast_tracepoints): New function.
185 (_initialize_remote): Add FastTracepoints.
186 * tracepoint.c (download_tracepoint): Add fast tracepoint option.
187 * NEWS: Mention fast tracepoints.
188
189 2010-01-06 Joel Brobecker <brobecker@adacore.com>
190
191 * gdb-gdb.py: New file.
192
193 2010-01-05 Michael Snyder <msnyder@vmware.com>
194
195 * infrun.c (handle_inferior_event): Fix typo in comment.
196
197 2010-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
198
199 * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
200
201 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
202
203 * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
204 and s390x-linux64.
205 (s390-linux32-expedite): Define.
206 (s390-linux64-expedite): Define.
207 (s390x-linux64-expedite): Define.
208 * features/s390-acr.xml: New file.
209 * features/s390-fpr.xml: New file.
210 * features/s390-core32.xml: New file.
211 * features/s390-core64.xml: New file.
212 * features/s390x-core64.xml: New file.
213 * features/s390-linux32.xml: New file.
214 * features/s390-linux64.xml: New file.
215 * features/s390x-linux64.xml: New file.
216 * features/s390-linux32.c: New generated file.
217 * features/s390-linux64.c: New generated file.
218 * features/s390x-linux64.c: New generated file.
219
220 * regformats/s390-linux32.dat: New generated file.
221 * regformats/s390-linux64.dat: New generated file.
222 * regformats/s390x-linux64.dat: New generated file.
223 * regformats/reg-s390.dat: Remove.
224 * regformats/reg-s390x.dat: Remove.
225
226 * s390-nat.c: Include "auxv.h" and <elf.h>.
227 (HWCAP_S390_HIGH_GPRS): Define if undefined.
228 (s390_target_wordsize): New function.
229 (s390_auxv_parse): Likewise.
230 (s390_get_hwcap): Likewise.
231 (s390_read_description): Likewise.
232 (_initialize_s390_nat): Install s390_auxv_parse and
233 s390_read_description.
234
235 * s390-tdep.c: Include "features/s390-linux32.c",
236 "features/s390-linux64.c", and "features/s390x-linux64.c".
237 (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
238 (s390_register_call_saved): New function.
239 (s390_register_name): Remove.
240 (s390_register_type): Remove.
241 (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
242 (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
243 (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
244 (s390_pseudo_register_name): New function.
245 (s390_pseudo_register_type): New function.
246 (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
247 Handle full GPR pesudos and varying pseudo register numbers.
248 (s390_pseudo_register_write): Likewise
249 (s390x_pseudo_register_read): Remove.
250 (s390x_pseudo_register_write): Likewise.
251 (s390_register_group): Remove.
252 (s390_pseudo_register_group): New function.
253 (s390_regmap_gregset): Add GPR upper halves.
254 (s390x_regmap_gregset): Likewise.
255 (s390_regmap_fpregset): Likewise.
256 (s390_regmap_upper): New global variable.
257 (s390_upper_regset): New global variable.
258 (s390_upper_regset_sections): New global variable.
259 (s390_regset_from_core_section): Handle GPR upper halves.
260 (s390_core_read_description): New function.
261 (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
262 register information. Handle varying pseudo register numbers.
263 (s390_backchain_frame_unwind_cache): Likewise.
264 (s390_frame_prev_register): Unwind full GPRs to show lower halves.
265 (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
266 (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
267 PC and CC pseudos. Unwind upper halves and full GPRs as appropriate.
268 Handle varying pseudo register numbers.
269 (s390_unwind_pc): Handle varying pseudo register numbers.
270 (s390_dwarf2_prev_register): New function.
271 (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
272 register information. Handle varying pseudo register numbers.
273 Install s390_dwarf2_prev_register to unwind full GPRs.
274 (s390_gdbarch_init): Handle target descriptions. Assign varying
275 pseudo register numbers. Install s390_adjust_frame_regnum.
276 (_initialize_s390_tdep): Initialize target descriptions.
277
278 * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
279 (S390_NUM_REGS): Redefine to include upper half registers.
280 (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
281 (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
282 (tdesc_s390_linux32): Add declaration.
283 (tdesc_s390_linux64): Likewise.
284 (tdesc_s390x_linux64): Likewise.
285
286 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
287
288 * regset.h (struct core_regset_section): Add HUMAN_NAME.
289 * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
290 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
291 (ppc_linux_vmx_regset_sections): Likewise.
292 (ppc_linux_fp_regset_sections): Likewise.
293
294 * corelow.c (get_core_register_section): Constify arguments.
295 (get_core_registers): Use gdbarch_core_regset_sections instead
296 of hard-coded platform-specific register section names.
297
298 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
299
300 * dwarf2loc.c (read_pieced_value): If a piece occupies part of
301 a register, assume the least-significant part is used.
302 (write_pieced_value): Likewise.
303
304 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
305
306 * printcmd.c: Include "arch-utils.h".
307 (do_one_display): Re-parse expression if current architecture changed.
308
309 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
310 Joel Brobecker <brobecker@adacore.com>
311
312 * gdbtypes.c (check_typedef): New comment on type length.
313 * value.c (allocate_value_lazy): Remove the unused atype variable. New
314 comment on type length.
315 (value_primitive_field): Keep the original TYPE value, new comment.
316
317 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
320 p_start. Change != comparisons to > and < comparisons.
321
322 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 * cli/cli-script.c (process_next_line): Check P2 overrun.
325
326 2009-01-01 Joel Brobecker <brobecker@adacore.com>
327
328 Update the copyright hearder to add year 2010 for most GDB files.
329
330 2009-01-01 Joel Brobecker <brobecker@adacore.com>
331
332 Fix build failure in inf-ptrace.c.
333 * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
334
335 2010-01-01 Joel Brobecker <brobecker@adacore.com>
336
337 * top.c (print_gdb_version): Update copyright year.
338
339 2010-01-01 Joel Brobecker <brobecker@adacore.com>
340
341 Fix break *FUN'address thread NUM.
342 * ada-lex.l (task): Expand rule to also match the thread keyword.
343
344 2010-01-01 Joel Brobecker <brobecker@adacore.com>
345
346 Fix break *FUN'address task NUM.
347 * ada-lex.l (task): New rule.
348 * ada-lang.c (valid_task_id): Make sure the Ada task list has
349 been built before using it.
350
351 For older changes see ChangeLog-2009.
352 \f
353 Local Variables:
354 mode: change-log
355 left-margin: 8
356 fill-column: 74
357 version-control: never
358 coding: utf-8
359 End:
This page took 0.052196 seconds and 3 git commands to generate.