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