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