]>
Commit | Line | Data |
---|---|---|
4c63965b JK |
1 | 2012-01-26 Jan Kratochvil <[email protected]> |
2 | ||
3 | Do not open script filenames twice. | |
4 | * cli/cli-cmds.c (source_script_from_stream): Pass to | |
5 | source_python_script also STREAM. | |
6 | * python/py-auto-load.c (source_section_scripts): Pass to | |
7 | source_python_script_for_objfile also STREAM. | |
8 | (auto_load_objfile_script): Pass to source_python_script_for_objfile | |
9 | also INPUT. | |
10 | * python/python-internal.h (source_python_script_for_objfile): New | |
11 | parameter file, rename parameter file to filename. | |
12 | * python/python.c (python_run_simple_file): Call PyRun_SimpleFile | |
13 | instead if !_WIN32. Update the function comment. | |
14 | (source_python_script, source_python_script_for_objfile) | |
15 | (source_python_script): New parameter file, rename parameter file to | |
16 | filename. Pass FILENAME to python_run_simple_file. | |
17 | * python/python.h (source_python_script): New parameter file, rename | |
18 | parameter file to filename. | |
19 | ||
88f38a04 PA |
20 | 2012-01-26 Pedro Alves <[email protected]> |
21 | ||
22 | * corelow.c (core_has_fake_pid): Delete. | |
23 | (core_close): Delete references to `core_has_fake_pid'. | |
24 | (add_to_thread_list): Adjust to mark the inferior's pid as fake. | |
25 | (core_open): Delete references to `core_has_fake_pid'. | |
26 | (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of | |
27 | the removed global. | |
28 | ||
e078317b JB |
29 | 2012-01-26 Joel Brobecker <[email protected]> |
30 | ||
31 | * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: | |
32 | Remove language parameter from name_matcher. Adjust the comment. | |
33 | * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): | |
34 | Remove language parameter. | |
35 | * ada-lang.c (ada_expand_partial_symbol_name): Likewise. | |
36 | * linespec.c (iterate_name_matcher): Likewise. | |
37 | * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of | |
38 | name_matcher. Adjust call accordingly. | |
39 | * psymtab.c (expand_symtabs_matching_via_partial): Likewise. | |
40 | (maintenance_check_symtabs): Adjust type of parameter "fun". | |
41 | * psymtab.h (maintenance_check_symtabs): Likewise. | |
42 | ||
74ccd7f5 JB |
43 | 2012-01-26 Joel Brobecker <[email protected]> |
44 | ||
45 | * language.h (symbol_name_match_p_ftype): New typedef. | |
46 | (struct language_defn): Replace field la_symbol_name_compare | |
47 | by la_get_symbol_name_match_p. | |
48 | * ada-lang.c (ada_get_symbol_name_match_p): New function. | |
49 | (ada_language_defn): Use it. | |
50 | * linespec.c (struct symbol_matcher_data): New type. | |
51 | (iterate_name_matcher): Rewrite. | |
52 | (iterate_over_all_matching_symtabs): Pass a pointer to | |
53 | a symbol_matcher_data struct to expand_symtabs_matching | |
54 | instead of just the lookup name. | |
55 | * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
56 | opencl-lang.c, p-lang.c, language.c: Delete field | |
57 | la_symbol_name_compare, and replace by NULL for new field | |
58 | la_get_symbol_name_match_p. | |
59 | * symfile.h (struct quick_symbol_functions): Update comment. | |
60 | ||
5d268276 TT |
61 | 2012-01-25 Tom Tromey <[email protected]> |
62 | ||
63 | * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before | |
64 | dereferencing. | |
65 | ||
edcc5120 TT |
66 | 2012-01-24 Tom Tromey <[email protected]> |
67 | ||
68 | PR symtab/12406: | |
69 | * solib.c (update_solib_list): Update the program space's | |
70 | added_solibs and deleted_solibs fields. | |
71 | * progspace.h (struct program_space) <added_solibs, | |
72 | deleted_solibs>: New fields. | |
73 | (clear_program_space_solib_cache): Declare. | |
74 | * progspace.c (release_program_space): Call | |
75 | clear_program_space_solib_cache. | |
76 | (clear_program_space_solib_cache): New function. | |
77 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call | |
78 | bpstat_stop_status. Use handle_solib_event. | |
79 | * breakpoint.c: Include gdb_regex.h. | |
80 | (print_solib_event): New function. | |
81 | (bpstat_print): Use print_solib_event. | |
82 | (bpstat_stop_status): Add special case for bp_shlib_event. | |
83 | (handle_solib_event): New function. | |
84 | (bpstat_what): Use handle_solib_event. | |
85 | (struct solib_catchpoint): New. | |
86 | (dtor_catch_solib, insert_catch_solib, remove_catch_solib) | |
87 | (breakpoint_hit_catch_solib, check_status_catch_solib) | |
88 | (print_it_catch_solib, print_one_catch_solib) | |
89 | (print_mention_catch_solib, print_recreate_catch_solib): New | |
90 | functions. | |
91 | (catch_solib_breakpoint_ops): New global. | |
92 | (catch_load_or_unload, catch_load_command_1) | |
93 | (catch_unload_command_1): New functions. | |
94 | (internal_bkpt_check_status): Add special case for | |
95 | bp_shlib_event. | |
96 | (internal_bkpt_print_it): Use print_solib_event. | |
97 | (initialize_breakpoint_ops): Initialize | |
98 | catch_solib_breakpoint_ops. | |
99 | (_initialize_breakpoint): Register "catch load" and "catch | |
100 | unload". | |
101 | * breakpoint.h (handle_solib_event): Declare. | |
102 | * NEWS: Add entry for "catch load" and "catch unload". | |
103 | ||
fa864999 TT |
104 | 2012-01-24 Tom Tromey <[email protected]> |
105 | ||
106 | * ada-lang.c: Include gdb_vecs.h. | |
107 | * charset.c: Include gdb_vecs.h. | |
108 | * tracepoint.h: Include gdb_vecs.h. | |
109 | * gdb_vecs.h: New file. | |
110 | ||
f90263c1 TT |
111 | 2012-01-24 Pedro Alves <[email protected]> |
112 | ||
113 | * breakpoint.c (breakpoint_hit_catch_fork) | |
114 | (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall) | |
115 | (breakpoint_hit_catch_exec): Make use of the `ws' argument. | |
116 | * infrun.c (inferior_has_forked, inferior_has_vforked) | |
117 | (inferior_has_execd, inferior_has_called_syscall): Delete. | |
118 | (handle_syscall_event): Get syscall_number from the execution | |
119 | control state's wait status. | |
120 | (wait_for_inferior): Don't clear syscall_number. | |
121 | ||
09ac7c10 TT |
122 | 2012-01-24 Pedro Alves <[email protected]> |
123 | ||
124 | * breakpoint.c (bpstat_check_location, bpstat_stop_status, | |
125 | pc_at_non_inline_function): Add `ws' parameter, and pass it down. | |
126 | (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork) | |
127 | (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add | |
128 | `ws' parameter. | |
129 | (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return | |
130 | false for events other than TARGET_SIGNAL_TRAP. | |
131 | (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit): | |
132 | Add `ws' parameter. | |
133 | (bkpt_breakpoint_hit): Add `ws' parameter. Return false for | |
134 | events other than TARGET_SIGNAL_TRAP. | |
135 | (tracepoint_breakpoint_hit): Add `ws' parameter. | |
136 | * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws' | |
137 | parameter. | |
138 | (bpstat_stop_status): Same. | |
139 | (pc_at_non_inline_function): Same. | |
140 | * infrun.c (handle_syscall_event, handle_inferior_event): Adjust | |
141 | to pass the current event's waitstatus to bpstat_stop_status | |
142 | and pc_at_non_inline_function. | |
143 | ||
86eb7e95 JK |
144 | 2012-01-24 Jan Kratochvil <[email protected]> |
145 | ||
146 | Code cleanup. | |
147 | * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. | |
148 | Update the function comment for it. | |
149 | (source_script_with_search): Call make_cleanup_fclose for STREAM. | |
150 | * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose | |
151 | for STREAM. | |
152 | ||
a9b3a50f PA |
153 | 2012-01-24 Pedro Alves <[email protected]> |
154 | ||
155 | * breakpoint.c (bpstat_stop_status): Moving clearing print_it | |
156 | outside `bs->stop' block. | |
157 | (bpstat_what): Rework bp_shlib_event handling. | |
158 | (internal_bkpt_check_status): If the breakpoint is a | |
159 | bp_shlib_event, then set bs->stop and bs->print if | |
160 | stop_on_solib_events is set. | |
161 | ||
53fe1783 GB |
162 | 2012-01-24 Gary Benson <[email protected]> |
163 | ||
164 | Delete #if 0'd out code. | |
165 | * stack.c (print_frame_label_vars): Remove. | |
166 | (catch_info): Likewise. | |
167 | (_initialize_stack): Remove "info catch" command. | |
168 | * NEWS: Mention the above. | |
169 | ||
49c62f2e PA |
170 | 2012-01-24 Pedro Alves <[email protected]> |
171 | ||
172 | * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use | |
173 | it. | |
174 | (remote_notice_new_inferior): If the remote end doesn't support | |
175 | the multiprocess extensions, then the PID is fake. | |
176 | (add_current_inferior_and_thread): New. | |
177 | (remote_start_remote): Use it. | |
178 | (extended_remote_attach_1): Adjust. | |
179 | (extended_remote_create_inferior_1): Use | |
180 | add_current_inferior_and_thread. | |
181 | ||
d0d8b0c6 JK |
182 | 2012-01-24 Jan Kratochvil <[email protected]> |
183 | ||
184 | Fix watchpoints to be specific for each inferior. | |
185 | * breakpoint.c (watchpoint_in_thread_scope): Verify also | |
186 | current_program_space. | |
187 | * i386-nat.c (i386_inferior_data_cleanup): New. | |
188 | (i386_inferior_data_get): Replace variable inf_data_local by an | |
189 | inferior_data call. | |
190 | (i386_use_watchpoints): Initialize i386_inferior_data. | |
191 | * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID | |
192 | specific iterate_over_lwps. | |
193 | ||
4403d8e9 JK |
194 | 2012-01-24 Jan Kratochvil <[email protected]> |
195 | ||
196 | Fix watchpoints across inferior fork. | |
197 | * amd64-linux-nat.c (update_debug_registers_callback): Update the | |
198 | comment for linux_nat_iterate_watchpoint_lwps. | |
199 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
200 | linux_nat_iterate_watchpoint_lwps. | |
201 | (amd64_linux_prepare_to_resume): New comment on Linux kernel. | |
202 | * i386-linux-nat.c (update_debug_registers_callback): Update the | |
203 | comment for linux_nat_iterate_watchpoint_lwps. | |
204 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use | |
205 | linux_nat_iterate_watchpoint_lwps. | |
206 | (i386_linux_prepare_to_resume): New comment on Linux kernel. | |
207 | * i386-nat.c: Include inferior.h. | |
208 | (dr_mirror): Remove. | |
209 | (i386_inferior_data, struct i386_inferior_data) | |
210 | (i386_inferior_data_get): New. | |
211 | (i386_debug_reg_state): Use i386_inferior_data_get. | |
212 | (i386_cleanup_dregs, i386_update_inferior_debug_regs) | |
213 | (i386_insert_watchpoint, i386_remove_watchpoint) | |
214 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
215 | (i386_remove_hw_breakpoint): New variable state, use | |
216 | i386_debug_reg_state instead of DR_MIRROR. | |
217 | * linux-nat.c (delete_lwp): New declaration. | |
218 | (num_lwps): Move here from downwards. | |
219 | (delete_lwp_cleanup): New. | |
220 | (linux_child_follow_fork): Create new child_lp, call | |
221 | linux_nat_new_thread and linux_nat_prepare_to_resume before calling | |
222 | PTRACE_DETACH. | |
223 | (num_lwps): Move upwards. | |
224 | (linux_nat_iterate_watchpoint_lwps): New. | |
225 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. | |
226 | (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. | |
227 | ||
2992c9a7 | 228 | 2012-01-24 Joel Brobecker <[email protected]> |
229 | ||
230 | GDB 7.4 released. | |
231 | ||
e360902b PA |
232 | 2012-01-23 Pedro Alves <[email protected]> |
233 | ||
234 | * top.c (caution): Rename to ... | |
235 | (confirm): ... this. | |
236 | (show_caution): Rename to ... | |
237 | (show_confirm): ... this. | |
238 | (quit_cover): Adjust. | |
239 | (init_main): Adjust. | |
240 | * top.h (caution): Rename to ... | |
241 | (confirm): ... this. | |
242 | * utils.c (internal_vproblem, defaulted_query): Adjust. | |
243 | ||
050a2e1d PA |
244 | 2012-01-23 Pedro Alves <[email protected]> |
245 | ||
246 | * top.c (caution): Update comment. | |
247 | (execute_command): Don't consider the current value of `caution'. | |
248 | ||
77a35dd8 JK |
249 | 2012-01-23 Jan Kratochvil <[email protected]> |
250 | ||
251 | * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. | |
252 | ||
a71b5a38 UW |
253 | 2012-01-23 Ulrich Weigand <[email protected]> |
254 | ||
255 | * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
256 | * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. | |
257 | * target.c (target_fileio_pwrite): Remove buffer address from | |
258 | debug output. | |
259 | (target_fileio_pread): Likewise. | |
260 | ||
d99bd577 UW |
261 | 2012-01-20 Ulrich Weigand <[email protected]> |
262 | ||
263 | * NEWS: Document remote "info proc" and "generate-core-file". | |
264 | ||
35c2fab7 UW |
265 | 2012-01-20 Ulrich Weigand <[email protected]> |
266 | ||
267 | * gdbarch.sh (find_memory_regions): New callback. | |
268 | * gdbarch.c, gdbarch.h: Regenerate. | |
269 | ||
270 | * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions | |
271 | callback before falling back to target method. | |
272 | ||
273 | * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. | |
274 | (linux_target_install_ops): No longer install it. | |
275 | ||
276 | * linux-tdep.c (linux_find_memory_regions): New function. | |
277 | (linux_init_abi): Install it. | |
278 | ||
6432734d UW |
279 | 2012-01-20 Ulrich Weigand <[email protected]> |
280 | ||
281 | * gdbarch.sh (make_corefile_notes): New architecture callback. | |
282 | * gdbarch.c: Regenerate. | |
283 | * gdbarch.h: Likewise. | |
284 | ||
285 | * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes | |
286 | before target_make_corefile_notes. If NULL is returned, the | |
287 | target does not support core file generation. | |
288 | ||
289 | * linux-nat.c: Include "linux-tdep.h". | |
290 | (find_signalled_thread, find_stop_signal): Remove. | |
291 | (linux_nat_do_thread_registers): Likewise. | |
292 | (struct linux_nat_corefile_thread_data): Likewise. | |
293 | (linux_nat_corefile_thread_callback): Likewise. | |
294 | (iterate_over_spus): Likewise. | |
295 | (struct linux_spu_corefile_data): Likewise. | |
296 | (linux_spu_corefile_callback): Likewise. | |
297 | (linux_spu_make_corefile_notes): Likewise. | |
298 | (linux_nat_collect_thread_registers): New function. | |
299 | (linux_nat_make_corefile_notes): Replace contents by call to | |
300 | linux_make_corefile_notes passing linux_nat_collect_thread_registers | |
301 | as native-only callback. | |
302 | ||
303 | * linux-tdep.h: Include "bfd.h". | |
304 | (struct regcache): Add forward declaration. | |
305 | (linux_collect_thread_registers_ftype): New typedef. | |
306 | (linux_make_corefile_notes): Add prototype. | |
307 | * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", | |
308 | "regset.h", and "elf-bfd.h". | |
309 | (find_signalled_thread, find_stop_signal): New functions. | |
310 | (linux_spu_make_corefile_notes): Likewise. | |
311 | (linux_collect_thread_registers): Likewise. | |
312 | (struct linux_corefile_thread_data): New data structure. | |
313 | (linux_corefile_thread_callback): New funcion. | |
314 | (linux_make_corefile_notes): Likewise. | |
315 | (linux_make_corefile_notes_1): Likewise. | |
316 | (linux_init_abi): Install it. | |
317 | ||
3030c96e UW |
318 | 2012-01-20 Ulrich Weigand <[email protected]> |
319 | ||
320 | * gdbarch.sh (info_proc): New callback. | |
321 | * gdbarch.c, gdbarch.h: Regenerate. | |
322 | ||
323 | * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback | |
324 | before falling back to the target info_proc callback. | |
325 | ||
326 | * linux-nat.c: Do not include "cli/cli-utils.h". | |
327 | (linux_nat_info_proc): Remove. | |
328 | (linux_target_install_ops): No longer install it. | |
329 | ||
330 | * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. | |
331 | (read_mapping): New function. | |
332 | (linux_info_proc): Likewise. | |
333 | (linux_init_abi): Install it. | |
334 | ||
145b16a9 UW |
335 | 2012-01-20 Ulrich Weigand <[email protected]> |
336 | ||
337 | * defs.h (enum info_proc_what): Moved here from linux-nat.c | |
338 | * infcmd.c: (info_proc_cmd_1): New function. | |
339 | (info_proc_cmd): New function, moved here from equivalent routine | |
340 | orignally in linux-nat.c. | |
341 | (info_proc_cmd_mappings): Likewise. | |
342 | (info_proc_cmd_stat): Likewise. | |
343 | (info_proc_cmd_status): Likewise. | |
344 | (info_proc_cmd_cwd): Likewise. | |
345 | (info_proc_cmd_cmdline): Likewise. | |
346 | (info_proc_cmd_exe): Likewise. | |
347 | (info_proc_cmd_all): Likewise. | |
348 | (_initialize_infcmd): Install "info proc" command and subcommands. | |
349 | ||
350 | * target.h (struct target_ops): Add to_info_proc. | |
351 | (target_info_proc): Add prototype. | |
352 | * target.c (target_info_proc): New function. | |
353 | ||
354 | * procfs.c (procfs_info_proc): Add prototype. | |
355 | (info_proc_cmd): Rename into ... | |
356 | (procfs_info_proc): ... this. Update argument types as appropriate | |
357 | for a to_info_proc implementation. Handle "what" argument. | |
358 | (procfs_target): Install procfs_info_proc. | |
359 | (_initialize_procfs): No longer install "info proc" command. | |
360 | ||
361 | * linux-nat.c: (enum info_proc_what): Remove. | |
362 | (linux_nat_info_proc_cmd_1): Rename into ... | |
363 | (linux_nat_info_proc): ... this. Update argument types as appropriate | |
364 | for a to_info_proc implementation. | |
365 | (linux_nat_info_proc_cmd): Remove. | |
366 | (linux_nat_info_proc_cmd_mappings): Likewise. | |
367 | (linux_nat_info_proc_cmd_stat): Likewise. | |
368 | (linux_nat_info_proc_cmd_status): Likewise. | |
369 | (linux_nat_info_proc_cmd_cwd): Likewise. | |
370 | (linux_nat_info_proc_cmd_cmdline): Likewise. | |
371 | (linux_nat_info_proc_cmd_exe): Likewise. | |
372 | (linux_nat_info_proc_cmd_all): Likewise. | |
373 | (linux_target_install_ops): Install linux_nat_info_proc. | |
374 | (_initialize_linux_nat): No longer install "info proc" command | |
375 | and subcommands. | |
376 | ||
b9e7b9c3 UW |
377 | 2012-01-20 Ulrich Weigand <[email protected]> |
378 | ||
379 | * configure.ac [AC_CHECK_FUNCS]: Check for readlink. | |
380 | * config.in, configure: Regenerate. | |
381 | ||
382 | * target.h (struct target_ops): Add to_fileio_readlink. | |
383 | (target_fileio_readlink): Add prototype. | |
384 | * target.c (target_fileio_readlink): New function. | |
385 | ||
386 | * inf-child.c: Conditionally include <sys/param.h>. | |
387 | (inf_child_fileio_readlink): New function. | |
388 | (inf_child_target): Install it. | |
389 | ||
390 | * remote.c (PACKET_vFile_readlink): New enum value. | |
391 | (remote_hostio_readlink): New function. | |
392 | (init_remote_ops): Install it. | |
393 | (_initialize_remote): Handle vFile:readlink packet type. | |
394 | ||
7313baad UW |
395 | 2012-01-20 Pedro Alves <[email protected]> |
396 | Ulrich Weigand <[email protected]> | |
397 | ||
398 | * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. | |
399 | * config.in, configure: Regenerate. | |
400 | ||
401 | * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, | |
402 | to_fileio_pread, to_fileio_close, to_fileio_unlink. | |
403 | (target_fileio_open): Add prototype. | |
404 | (target_fileio_pwrite): Likewise. | |
405 | (target_fileio_pread): Likewise. | |
406 | (target_fileio_close): Likewise. | |
407 | (target_fileio_unlink): Likewise. | |
408 | (target_fileio_read_alloc): Likewise. | |
409 | (target_fileio_read_stralloc): Likewise. | |
410 | ||
411 | * target.c: Include "gdb/fileio.h". | |
412 | (target_read_stralloc): Accept trailing, but not embedded NUL bytes. | |
413 | (default_fileio_target): New function. | |
414 | (target_fileio_open): Likewise. | |
415 | (target_fileio_pwrite): Likewise. | |
416 | (target_fileio_pread): Likewise. | |
417 | (target_fileio_close): Likewise. | |
418 | (target_fileio_unlink): Likewise. | |
419 | (target_fileio_close_cleanup): Likewise. | |
420 | (target_fileio_read_alloc_1): Likewise. | |
421 | (target_fileio_read_alloc): Likewise. | |
422 | (target_fileio_read_stralloc): Likewise. | |
423 | ||
424 | * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, | |
425 | <fcntl.h>, and <unistd.h>. | |
426 | (inf_child_fileio_open_flags_to_host): New function. | |
427 | (inf_child_errno_to_fileio_error): Likewise. | |
428 | (inf_child_fileio_open): Likewise. | |
429 | (inf_child_fileio_pwrite): Likewise. | |
430 | (inf_child_fileio_pread): Likewise. | |
431 | (inf_child_fileio_close): Likewise. | |
432 | (inf_child_fileio_unlink): Likewise. | |
433 | (inf_child_target): Install to_fileio routines. | |
434 | ||
435 | * remote.c (init_remote_ops): Install to_fileio routines. | |
436 | ||
901f9912 UW |
437 | 2012-01-20 Pedro Alves <[email protected]> |
438 | Ulrich Weigand <[email protected]> | |
439 | ||
440 | * remote.c (remote_multi_process_p): Only check for multi-process | |
441 | protocol feature, do not check for extended protocol. | |
442 | (remote_supports_multi_process): Check for extended protocol here. | |
443 | (set_general_process): Likewise. | |
444 | (extended_remote_kill): Likewise. | |
445 | (remote_pid_to_str): Likewise. | |
446 | (remote_query_supported): Always query multiprocess mode. | |
447 | ||
e714e1bf UW |
448 | 2012-01-20 Pedro Alves <[email protected]> |
449 | Ulrich Weigand <[email protected]> | |
450 | ||
451 | * inferior.h (struct inferior): Add fake_pid_p. | |
452 | * inferior.c (exit_inferior_1): Clear fake_pid_p. | |
453 | * remote.c (remote_start_remote): Set fake_pid_p if we have to use | |
454 | magic_null_ptid since the remote side doesn't provide a real PID. | |
455 | ||
50897289 TT |
456 | 2012-01-19 Tom Tromey <[email protected]> |
457 | ||
458 | * NEWS: Combine the two Python sections. | |
459 | ||
1afc2033 JK |
460 | 2012-01-19 Jan Kratochvil <[email protected]> |
461 | ||
462 | * target.h (target_close): Update comment on the target's unpush state. | |
463 | ||
305436e0 PA |
464 | 2012-01-19 Pedro Alves <[email protected]> |
465 | ||
466 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
467 | linux_nat_async directly instead of going through the target | |
468 | vector. | |
469 | * target.c (unpush_target): Close target after unpushing it, not | |
470 | before. | |
471 | ||
49323895 GB |
472 | 2012-01-19 Gary Benson <[email protected]> |
473 | ||
474 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
475 | derived from FIRST_LOCAL_BLOCK. | |
476 | ||
1db33378 PP |
477 | 2012-01-18 Paul Pluzhnikov <[email protected]> |
478 | Jan Kratochvil <[email protected]> | |
479 | ||
480 | PR gdb/9538 | |
481 | * symfile.c (find_separate_debug_file): New function. | |
482 | (terminate_after_last_dir_separator): Likewise. | |
483 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
484 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
485 | * configure: Regenerate. | |
486 | * config.in: Regenerate. | |
487 | ||
f83d8a90 DE |
488 | 2012-01-18 Doug Evans <[email protected]> |
489 | ||
490 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
491 | (main.o): Remove rule. | |
492 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
493 | (--with-sysroot): Rewrite. | |
494 | * configure: Regenerate. | |
495 | * config.in: Regenerate. | |
496 | ||
2dbca4d6 SDJ |
497 | 2012-01-18 Sergio Durigan Junior <[email protected]> |
498 | ||
499 | * parse.c (initialize_expout): New function. | |
500 | (reallocate_expout): Likewise. | |
501 | (parse_exp_in_context): Use `initialize_expout' and | |
502 | `reallocate_expout' when appropriate. | |
503 | ||
0695b514 PA |
504 | 2012-01-18 Pedro Alves <[email protected]> |
505 | ||
506 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
507 | (record_breakpoints): New. | |
508 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
509 | record breakpoints list. Only remove breakpoints from the | |
510 | inferior if they had been inserted there in the first place. | |
511 | ||
136e1c30 DE |
512 | 2012-01-17 Doug Evans <[email protected]> |
513 | ||
514 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
515 | if we know we don't have a file name to look for. | |
516 | ||
c0bf857d PA |
517 | 2012-01-17 Pedro Alves <[email protected]> |
518 | ||
519 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
520 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
521 | ||
b486de60 JK |
522 | 2012-01-17 Jan Kratochvil <[email protected]> |
523 | ||
524 | Fix compilation error. | |
525 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
526 | ||
d04550a6 SDJ |
527 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
528 | ||
529 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
530 | (growbuf_by_size): Likewise. | |
531 | (yyerror): Likewise. | |
532 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
533 | (modblock): Remove variable (was #if 0'ed). | |
534 | (parse_number): Convert prototype from K&R to ANSI C. | |
535 | (yyerror): Likewise. | |
536 | * objc-exp.y (parse_number): Likewise. | |
537 | (yyerror): Likewise. | |
538 | (yylex): Remove #if 0'ed code. | |
539 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
540 | (yyerror): Likewise. | |
541 | ||
4aac40c8 TT |
542 | 2012-01-16 Tom Tromey <[email protected]> |
543 | ||
544 | * NEWS: Add item. | |
545 | * symtab.h (compare_filenames_for_search): Declare. | |
546 | * symtab.c (compare_filenames_for_search): New function. | |
547 | (iterate_over_some_symtabs): Use it. | |
548 | * symfile.h (struct quick_symbol_functions) | |
549 | <map_symtabs_matching_filename>: Change spec. | |
550 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
551 | compare_filenames_for_search. Update for new spec. | |
552 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
553 | compare_filenames_for_search. Update for new spec. | |
554 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
555 | ||
cafec441 TT |
556 | 2012-01-16 Tom Tromey <[email protected]> |
557 | ||
558 | PR python/13281: | |
559 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
560 | (struct main_type) <flag_flag_enum>: New field. | |
561 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
562 | * NEWS: Add entries. | |
563 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
564 | enums. | |
565 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
566 | (FlagEnumerationPrinter): Likewise. | |
567 | ||
983af33b SDJ |
568 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
569 | ||
570 | * breakpoint.c (create_sals_from_address_default): New function. | |
571 | (create_breakpoints_sal_default): Likewise. | |
572 | (decode_linespec_default): Likewise. | |
573 | (is_marker_spec): Removed. | |
574 | (strace_marker_p): New function. | |
575 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
576 | `is_marker_spec'. | |
577 | (create_breakpoint): Call method `create_sals_from_address' from | |
578 | breakpoint_ops, replacing code that created SALs conditionally | |
579 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
580 | replacing code that created breakpoints conditionally on the type | |
581 | wanted. | |
582 | (base_breakpoint_create_sals_from_address): New function. | |
583 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
584 | (base_breakpoint_decode_linespec): Likewise. | |
585 | (base_breakpoint_ops): Add methods | |
586 | `base_breakpoint_create_sals_from_address', | |
587 | `base_breakpoint_create_breakpoints_sal' and | |
588 | `base_breakpoint_decode_linespec'. | |
589 | (bkpt_create_sals_from_address): New function. | |
590 | (bkpt_create_breakpoints_sal): Likewise. | |
591 | (bkpt_decode_linespec): Likewise. | |
592 | (tracepoint_create_sals_from_address): Likewise. | |
593 | (tracepoint_create_breakpoints_sal): Likewise. | |
594 | (tracepoint_decode_linespec): Likewise. | |
595 | (strace_marker_create_sals_from_address): Likewise. | |
596 | (strace_marker_create_breakpoints_sal): Likewise. | |
597 | (strace_marker_decode_linespec): Likewise. | |
598 | (strace_marker_breakpoint_ops): New variable. | |
599 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
600 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
601 | an address string into a SAL. Use `strace_marker_p' instead of | |
602 | `marker_spec'. | |
603 | (strace_command): Decide whether we are dealing with a static | |
604 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
605 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
606 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
607 | declarations. | |
608 | (breakpoint_ops) <create_sals_from_address>, | |
609 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
610 | ||
4795f398 DE |
611 | 2012-01-14 Doug Evans <[email protected]> |
612 | ||
613 | * NEWS: Update text for "maint set python print-stack". | |
614 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
615 | ||
ee5106fe EZ |
616 | 2012-01-13 Eli Zaretskii <[email protected]> |
617 | ||
618 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
619 | including curses.h. | |
620 | ||
b161e06f JK |
621 | 2012-01-12 Jan Kratochvil <[email protected]> |
622 | ||
623 | * configure: Regenerate. | |
624 | * config.in: Regenerate. | |
625 | ||
85254831 KS |
626 | 2012-01-12 Keith Seitz <[email protected]> |
627 | ||
628 | PR mi/10586 | |
629 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
630 | (ANONYMOUS_UNION_NAME): Define. | |
631 | (is_path_expr_parent): New function. | |
632 | (get_path_expr_parent): New function. | |
633 | (is_anonymous_child): New function. | |
634 | (create_child_with_value): If the child is anonymous and without | |
635 | a name, assign an object name to it. | |
636 | (c_describe_child): Use get_path_expr_parent to determine | |
637 | the parent expression. | |
638 | If there field represents an anonymous struct or union and | |
639 | has no name, set an appropriate display name and expression. | |
640 | (cplus_describe_child): Likewise. | |
641 | ||
620fa63a PA |
642 | 2012-01-12 Pedro Alves <[email protected]> |
643 | ||
644 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
645 | available when %ebp is found to be zero (outermost). | |
646 | ||
2efa2c79 AT |
647 | 2012-01-11 Andreas Tobler <[email protected]> |
648 | ||
649 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
650 | an internal gdb_static_assert. | |
651 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
652 | ||
88e7d25d TT |
653 | 2012-01-11 Tom Tromey <[email protected]> |
654 | ||
655 | PR gdb/9598: | |
656 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
657 | catch" and "catch throw". | |
658 | ||
72384ba3 PH |
659 | 2012-01-11 Paul Hilfinger <[email protected]> |
660 | ||
661 | * blockframe.c (block_innermost_frame): Start search from selected | |
662 | frame, if present, or otherwise the current frame. | |
663 | ||
664 | * c-exp.y (variable): Update innermost_block for | |
665 | 'block COLONCOLON NAME' clause. | |
666 | * m2-exp.y (variable): Ditto. | |
667 | * objc-exp.y (variable): Ditto. | |
668 | ||
065a711f TT |
669 | 2012-01-10 Tom Tromey <[email protected]> |
670 | ||
671 | PR python/13199: | |
672 | * python/python.c (finish_python_initialization): Set sys.argv. | |
673 | ||
f3f5162e DE |
674 | 2012-01-10 Doug Evans <[email protected]> |
675 | ||
676 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
677 | "want_line_info". All callers updated. | |
678 | (dwarf_decode_lines_1): New function. | |
679 | (handle_DW_AT_stmt_list): Add function comment. | |
680 | New arg "want_line_info". All callers updated. | |
681 | (read_file_scope,read_type_unit_scope): Move comment from | |
682 | handle_DW_AT_stmt_list to here. | |
683 | ||
9934703b JK |
684 | 2012-01-10 Jan Kratochvil <[email protected]> |
685 | ||
686 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
687 | * c-exp.y (operator) <OPERATOR DELETE> | |
688 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
689 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
690 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
691 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
692 | (operator) <OPERATOR DELETE>: Add trailing space. | |
693 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
694 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
695 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
696 | cp_comp_to_string, call warning and return. | |
697 | ||
06b9f45f JK |
698 | 2012-01-10 Jan Kratochvil <[email protected]> |
699 | ||
700 | Fix duplicate .o files after omitting libbfd.a. | |
701 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
702 | (SFILES): Add corelow.c. | |
703 | (COMMON_OBS): Add corelow.o. | |
704 | (ALLDEPFILES): Remove corelow.c. | |
705 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
706 | * config/alpha/alpha-osf3.mh: Likewise. | |
707 | * config/alpha/fbsd.mh: Likewise. | |
708 | * config/arm/nbsdaout.mh: Likewise. | |
709 | * config/arm/nbsdelf.mh: Likewise. | |
710 | * config/i386/i386gnu.mh: Likewise. | |
711 | * config/ia64/hpux.mh: Likewise. | |
712 | * config/ia64/linux.mh: Likewise. | |
713 | * config/m32r/linux.mh: Likewise. | |
714 | * config/m68k/linux.mh: Likewise. | |
715 | * config/mips/irix5.mh: Likewise. | |
716 | * config/mips/irix6.mh: Likewise. | |
717 | * config/pa/hpux.mh: Likewise. | |
718 | * config/pa/linux.mh: Likewise. | |
719 | * config/powerpc/aix.mh: Likewise. | |
720 | * config/sparc/linux.mh: Likewise. | |
721 | * config/sparc/linux64.mh: Likewise. | |
722 | * config/sparc/sol2.mh: Likewise. | |
723 | * config/vax/vax.mh: Likewise. | |
724 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
725 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
726 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
727 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
728 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
729 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
730 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
731 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
732 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
733 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
734 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
735 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
736 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
737 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
738 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
739 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
740 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
741 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
742 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
743 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
744 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
745 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
746 | corelow.o from gdb_target_obs. | |
747 | * corefile.c (core_target): Update the comment on NULL value. | |
748 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
749 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
750 | MATCHES. Drop YUMMY set on NULL. | |
751 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
752 | reclaim CORE_DATA if it is already NULL. | |
753 | ||
34365054 DE |
754 | 2012-01-09 Doug Evans <[email protected]> |
755 | ||
756 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
757 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
758 | ||
696166a3 KS |
759 | 2012-01-09 Keith Seitz <[email protected]> |
760 | ||
761 | * breakpoint.c (wrapper.h): Don't include. | |
762 | ||
8e7b59a5 KS |
763 | 2012-01-09 Keith Seitz <[email protected]> |
764 | ||
765 | * Makefile.in (SFILES): Remove wrapper.c. | |
766 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
767 | (COMMON_OBS): Remove wrapper.o. | |
768 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
769 | * corelow.c: Likewise. | |
770 | (core_open): Replace gdb_target_find_new_threads with | |
771 | TRY_CATCH around target_find_new_threads. | |
772 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
773 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
774 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
775 | evaluate_expression. | |
776 | (varobj_set_value): Likewise for evaluate_expression and | |
777 | value_assign. | |
778 | (install_new_variable): Likewise for value_fetch_lazy. | |
779 | (adjust_value_for_child_access): Likewise for value_ind. | |
780 | (c_describe_child): Likewise for value_subscript and | |
781 | value_ind. | |
782 | (c_value_of_root): Likewise for evaluate_expression. | |
783 | * wrapper.c: Remove. | |
784 | * wrapper.h: Remove. | |
785 | ||
1a4eeb98 DE |
786 | 2012-01-09 Doug Evans <[email protected]> |
787 | ||
9ff913ba DE |
788 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
789 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
790 | "abfd" args with "section". All callers updated. | |
791 | Error checking code moved ... | |
792 | (error_check_comp_unit_head): ... here. New function. | |
793 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
794 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
795 | (create_debug_types_hash_table): Simplify by using | |
796 | read_and_check_type_unit_head. | |
797 | ||
1a4eeb98 DE |
798 | * parser-defs.h (namecopy): Delete. |
799 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
800 | ||
2e6af8c0 JK |
801 | 2012-01-09 Jan Kratochvil <[email protected]> |
802 | ||
803 | Partially fix duplicate .o files after omitting libbfd.a. | |
804 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
805 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
806 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
807 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
808 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
809 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
810 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
811 | ||
9f2f828a PA |
812 | 2012-01-09 Pedro Alves <[email protected]> |
813 | ||
814 | * MAINTAINERS: Update my email address. | |
815 | ||
4d72c0bc DE |
816 | 2012-01-08 Doug Evans <[email protected]> |
817 | ||
d467dd73 DE |
818 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
819 | n_type_units. Rename type_comp_units to all_type_units. | |
820 | All uses updated. | |
821 | (add_signatured_type_cu_to_table): Renamed from | |
822 | add_signatured_type_cu_to_list. All callers updated. | |
823 | ||
4d72c0bc DE |
824 | * gdbtypes.h (struct cplus_struct_type): Delete member |
825 | nfn_fields_total. All uses removed. | |
826 | ||
21b2bd31 DE |
827 | 2012-01-06 Doug Evans <[email protected]> |
828 | ||
829 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
830 | to top of file. | |
831 | (dwarf2_find_comp_unit): Delete. | |
832 | (process_psymtab_comp_unit): Make result "void". | |
833 | Delete args buffer, info_ptr, buffer_size, and replace with | |
834 | "section". All callers updated. | |
835 | (dwarf2_build_psymtabs_hard): Simplify. | |
836 | ||
bfd189b1 SDJ |
837 | 2012-01-06 Sergio Durigan Junior <[email protected]> |
838 | Thiago Jung Bauermann <[email protected]> | |
839 | ||
840 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
841 | before `struct gdb_exception'. | |
842 | * breakpoint.c (update_global_location_list_nothrow) | |
843 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
844 | * cp-abi.c (value_rtti_type): Likewise. | |
845 | * cp-support.c (cp_validate_operator): Likewise. | |
846 | * infrun.c (insert_exception_resume_breakpoint) | |
847 | (check_exception_resume, keep_going): Likewise. | |
848 | * mi-interp.c (mi_breakpoint_created) | |
849 | (mi_breakpoint_modified): Likewise. | |
850 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
851 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
852 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
853 | ||
6b07635f DE |
854 | 2012-01-05 Doug Evans <[email protected]> |
855 | ||
0b30b85c DE |
856 | * dwarf2read.c (statement_prologue): Delete, unused. |
857 | ||
98714339 DE |
858 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
859 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
860 | ||
6b07635f DE |
861 | * dwarf2read.c (comp_unit_header): Delete, unused. |
862 | ||
761f4555 UW |
863 | 2012-01-05 Ulrich Weigand <[email protected]> |
864 | ||
865 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
866 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
867 | ||
2ca0b532 PA |
868 | 2012-01-05 Khoo Yit Phang <[email protected]> |
869 | ||
870 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
871 | observers if the thread was doing a multi-step, but stopped for | |
872 | some reason other than stepping. | |
873 | ||
50aeff07 PA |
874 | 2012-01-05 Pedro Alves <[email protected]> |
875 | ||
876 | * cli/cli-decode.h: Add comments. | |
877 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
878 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
879 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
880 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
881 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
882 | (add_com, add_com_alias, add_info, add_info_alias) | |
883 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
884 | declarations. | |
885 | * command.h: Add and adjust comments. | |
886 | (CMD_LIST_AMBIGUOUS): Moved here. | |
887 | (help_cmd, help_cmd_list): Delete declarations. | |
888 | ||
5953832c DE |
889 | 2012-01-04 Doug Evans <[email protected]> |
890 | ||
e5fe5e75 DE |
891 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
892 | All callers updated. | |
893 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
894 | Replace all arguments with "per_cu". All callers updated. | |
895 | ||
28dee7f5 DE |
896 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
897 | ||
23745b47 DE |
898 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
899 | New arg "per_cu". All callers updated. | |
900 | ||
5953832c DE |
901 | Delete #if 0'd out code. |
902 | * language.c (binop_result_type): Delete. | |
903 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
904 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
905 | (float_type, structured_type): Delete. | |
906 | * language.h: Update. | |
907 | ||
0f5b7562 TT |
908 | 2012-01-04 Tom Tromey <[email protected]> |
909 | ||
910 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
911 | ||
78218f56 JB |
912 | 2012-01-04 Joel Brobecker <[email protected]> |
913 | ||
914 | * corefile.c (close_exec_file): Delete. | |
915 | (reopen_exec_file): Remove commented out code that seems related | |
916 | to close_exec_file, which is being deleted here. | |
917 | * inferior.h (close_exec_file): Delete. | |
918 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
919 | ||
0fcd72ba JB |
920 | 2012-01-04 Joel Brobecker <[email protected]> |
921 | ||
922 | * ada-lang.c: #include "cli/cli-utils.h". | |
923 | (get_selections): Use skip_spaces. | |
924 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
925 | (catch_ada_exception_command_split): Use skip_spaces. | |
926 | (ada_decode_assert_location): Likewise. | |
927 | ||
1dabb4c4 JB |
928 | 2012-01-04 Joel Brobecker <[email protected]> |
929 | ||
930 | * linespec.c (decode_line_internal): Check for C++ or Java | |
931 | compound constructs only if the current language is C, C++ | |
932 | or Java. | |
933 | ||
5931a2fa JK |
934 | 2012-01-04 Jan Kratochvil <[email protected]> |
935 | ||
936 | Revert: | |
937 | 2012-01-02 Jan Kratochvil <[email protected]> | |
938 | Joel Brobecker <[email protected]> | |
939 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
940 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
941 | 3 times. | |
942 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
943 | fall through into AT_ENTRY_POINT. | |
944 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
945 | DUMMY_ADDR with it. | |
946 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
947 | PPC_INSN_SIZE skip to 3 times. | |
948 | ||
1a2da5ee JB |
949 | 2012-01-04 Joel Brobecker <[email protected]> |
950 | ||
951 | * linespec.c (add_minsym): Preserve function descriptors. | |
952 | ||
8645ff69 UW |
953 | 2012-01-04 Ulrich Weigand <[email protected]> |
954 | ||
955 | * breakpoint.c (all_locations_are_pending): Consider locations | |
956 | in program spaces executing during startup pending as well. | |
957 | ||
0b302171 JB |
958 | 2012-01-04 Joel Brobecker <[email protected]> |
959 | ||
960 | Copyright year update in most files of the GDB Project. | |
961 | ||
8ba098ad JB |
962 | 2012-01-04 Joel Brobecker <[email protected]> |
963 | ||
964 | * copyright.sh: Delete. | |
965 | * copyright.py: Rewrite. | |
966 | ||
09c01c30 JB |
967 | 2012-01-04 Joel Brobecker <[email protected]> |
968 | ||
969 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
970 | ||
3c36c0af JB |
971 | 2012-01-04 Joel Brobecker <[email protected]> |
972 | ||
973 | * README (Copyright and License Notices): New section. | |
974 | ||
888fe1e1 TT |
975 | 2012-01-03 Tom Tromey <[email protected]> |
976 | ||
977 | PR python/12533: | |
978 | * python/py-value.c (valpy_dereference, valpy_get_address | |
979 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
980 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
981 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
982 | ||
6e681866 JB |
983 | 2011-01-03 Joel Brobecker <[email protected]> |
984 | ||
985 | * ada-lang.c: Reformat the copyright notice. | |
986 | ||
0cd09acb JK |
987 | 2012-01-02 Jan Kratochvil <[email protected]> |
988 | ||
989 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
990 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
991 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
992 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
993 | Revert this part of: | |
994 | 2012-01-02 Jan Kratochvil <[email protected]> | |
995 | Build gdb directly from *.o files not using libgdb.a. | |
996 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
997 | ||
12c3e59c JB |
998 | 2012-01-02 Joel Brobecker <[email protected]> |
999 | ||
1000 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
1001 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
1002 | Reformat the copyright header. | |
1003 | ||
11bf1490 JK |
1004 | 2012-01-02 Jan Kratochvil <[email protected]> |
1005 | ||
1006 | Revert this part of: | |
1007 | 2012-01-02 Jan Kratochvil <[email protected]> | |
1008 | Remove the gdbtui binary. | |
1009 | * gdb.c (main): Remove args.interpreter_p initialization. | |
1010 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
1011 | * main.h (struct captured_main_args): Remove interpreter_p. | |
1012 | ||
1fef196f JB |
1013 | 2012-01-02 Joel Brobecker <[email protected]> |
1014 | ||
1015 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
1016 | ||
67827812 JB |
1017 | 2012-01-02 Joel Brobecker <[email protected]> |
1018 | ||
1019 | * top.c (print_gdb_version): Update copyright year. | |
1020 | ||
a4d0b831 YQ |
1021 | 2012-01-02 Yao Qi <[email protected]> |
1022 | ||
1023 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
1024 | ||
b5914469 JK |
1025 | 2012-01-02 Jan Kratochvil <[email protected]> |
1026 | Joel Brobecker <[email protected]> | |
1027 | ||
1028 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
1029 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
1030 | 3 times. | |
1031 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
1032 | fall through into AT_ENTRY_POINT. | |
1033 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
1034 | DUMMY_ADDR with it. | |
1035 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
1036 | PPC_INSN_SIZE skip to 3 times. | |
1037 | ||
8da828f7 JK |
1038 | 2012-01-02 Jan Kratochvil <[email protected]> |
1039 | ||
1040 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
1041 | the return value. | |
1042 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
1043 | ||
8574e74b JK |
1044 | 2012-01-02 Jan Kratochvil <[email protected]> |
1045 | ||
1046 | Build gdb directly from *.o files not using libgdb.a. | |
1047 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
1048 | (COMMON_OBS): Remove solib-target.o. | |
1049 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
1050 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
1051 | (LIBGDB_OBS, libgdb.a): Move it above. | |
1052 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
1053 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
1054 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
1055 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
1056 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
1057 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
1058 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
1059 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
1060 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
1061 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
1062 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
1063 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
1064 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
1065 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
1066 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
1067 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
1068 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
1069 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
1070 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
1071 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
1072 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
1073 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
1074 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
1075 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
1076 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
1077 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
1078 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
1079 | ||
217bff3e JK |
1080 | 2012-01-02 Jan Kratochvil <[email protected]> |
1081 | ||
1082 | Remove the gdbtui binary. | |
1083 | * .gitignore (/gdbtui): Remove. | |
1084 | * Makefile.in (TUI): Remove. | |
1085 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
1086 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
1087 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
1088 | (tui-main.o): Remove. | |
1089 | (all_object_files): Remove tui-main.o. | |
1090 | * NEWS: New note for the gdbtui removal. | |
1091 | * configure: Rebuilt. | |
1092 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
1093 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
1094 | CONFIG_UNINSTALL respectively. | |
1095 | * gdb.c (main): Remove args.interpreter_p initialization. | |
1096 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
1097 | * main.h (struct captured_main_args): Remove interpreter_p. | |
1098 | * tui/tui-main.c: Remove. | |
1099 | ||
9cdd5dbd DE |
1100 | 2012-01-01 Doug Evans <[email protected]> |
1101 | ||
bb5ed363 DE |
1102 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
1103 | (dwarf2_physname, read_import_statement): Ditto. | |
1104 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
1105 | (process_structure_scope read_subroutine_type): Ditto. | |
1106 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
1107 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
1108 | (dwarf2_fetch_die_location_block): Ditto. | |
1109 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
1110 | ||
a0f42c21 DE |
1111 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
1112 | All callers updated. | |
1113 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
1114 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
1115 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
1116 | ||
2dc860c0 DE |
1117 | * dwarf2read.c (load_cu): Move assert to more useful location. |
1118 | ||
68dc6402 DE |
1119 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
1120 | All callers updated. | |
1121 | ||
9cdd5dbd DE |
1122 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
1123 | (dwarf2_elf_names): Minor reformat. | |
1124 | (dwarf2_per_cu_data): Tweak comment. | |
1125 | (dwarf2_read_section): Fix comment. | |
1126 | (create_all_comp_units): Fix comment. | |
1127 | (load_full_comp_unit): Fix comment. | |
1128 | (process_full_comp_unit): Fix comment. | |
1129 | (read_signatured_type): Fix comment. | |
1130 | ||
0c10e53e | 1131 | For older changes see ChangeLog-2011. |
c906108c SS |
1132 | \f |
1133 | Local Variables: | |
1134 | mode: change-log | |
1135 | left-margin: 8 | |
1136 | fill-column: 74 | |
1137 | version-control: never | |
57da7796 | 1138 | coding: utf-8 |
c906108c | 1139 | End: |