Fix typo: amd64 -> i386.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2013-02-13 Pedro Alves <palves@redhat.com>
2
3 * amd64-linux-nat.c (update_debug_registers_callback):
4 Update comment.
5 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
6 iterate_over_lwps.
7 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
8 i386_debug_reg_state.
9 (amd64_linux_new_fork): New function.
10 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
11 linux_nat_new_fork hook, and i386_forget_process as
12 linux_nat_forget_process hook.
13 * i386-linux-nat.c (update_debug_registers_callback):
14 Update comment.
15 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
16 iterate_over_lwps.
17 (i386_linux_prepare_to_resume): Pass the lwp's pid to
18 i386_debug_reg_state.
19 (i386_linux_new_fork): New function.
20 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
21 linux_nat_new_fork hook, and i386_forget_process as
22 linux_nat_forget_process hook.
23 * i386-nat.c (i386_init_dregs): Delete.
24 (i386_inferior_data, struct i386_inferior_data):
25 Delete.
26 (struct i386_process_info): New.
27 (i386_process_list): New global.
28 (i386_find_process_pid, i386_add_process, i386_process_info_get):
29 New functions.
30 (i386_inferior_data_get): Delete.
31 (i386_process_info_get): New function.
32 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
33 (i386_forget_process): New function.
34 (i386_cleanup_dregs): Rewrite.
35 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
36 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
37 (i386_stopped_data_address, i386_insert_hw_breakpoint)
38 (i386_remove_hw_breakpoint): Adjust to pass the current process id
39 to i386_debug_reg_state.
40 (i386_use_watchpoints): Don't register inferior data.
41 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
42 adjust comment.
43 (i386_forget_process): Declare.
44 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
45 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
46 New static globals.
47 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
48 (add_initial_lwp): New, factored out from ...
49 (add_lwp): ... this. Don't check the number of lwps before
50 calling linux_nat_new_thread.
51 (linux_nat_iterate_watchpoint_lwps): Delete.
52 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
53 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
54 forks and vforks.
55 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
56 initial lwp.
57 (linux_nat_kill, linux_nat_mourn_inferior): Call
58 linux_nat_forget_process.
59 (linux_nat_set_new_fork, linux_nat_set_forget_process)
60 (linux_nat_forget_process): New functions.
61 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
62 type.
63 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
64 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
65 types.
66 (linux_nat_set_new_fork, linux_nat_set_forget_process)
67 (linux_nat_forget_process): New declarations.
68
69 * amd64fbsd-nat.c (super_mourn_inferior): New global.
70 (amd64fbsd_mourn_inferior): New function.
71 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
72 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
73
74 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
75
76 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity)
77 Adding _().
78
79 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
80
81 * aarch64-linux-nat.c (debug_reg_change_callback)
82 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
83 %s and phex().
84
85 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
86
87 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
88 with LONGEST.
89
90 2013-02-13 Pedro Alves <palves@redhat.com>
91 Hafiz Abid Qadeer <abidh@codesourcery.com>
92
93 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
94
95 2013-02-12 Tom Tromey <tromey@redhat.com>
96
97 PR symtab/11464:
98 * c-exp.y (lex_one_token): Initialize other fields of yylval on
99 NAME return.
100 (classify_inner_name): Remove 'first_name' argument, add
101 'context'. Remove unused variable.
102 (yylex): Explicitly maintain the context type. Exit loop earlier
103 if NAME result is seen.
104
105 2013-02-12 Pedro Alves <palves@redhat.com>
106
107 * amd64-darwin-tdep.c: Add (C) after Copyright.
108 * cli/cli-cmds.h: Ditto.
109 * cli/cli-decode.c: Ditto.
110 * cli/cli-decode.h: Ditto.
111 * cli/cli-dump.c: Ditto.
112 * cli/cli-dump.h: Ditto.
113 * cli/cli-interp.c: Ditto.
114 * cli/cli-logging.c: Ditto.
115 * cli/cli-script.c: Ditto.
116 * cli/cli-script.h: Ditto.
117 * cli/cli-setshow.c: Ditto.
118 * cli/cli-setshow.h: Ditto.
119 * cli/cli-utils.c: Ditto.
120 * cli/cli-utils.h: Ditto.
121 * config/alpha/nm-osf3.h: Ditto.
122 * config/djgpp/djconfig.sh: Ditto.
123 * config/i386/nm-fbsd.h: Ditto.
124 * config/i386/nm-i386gnu.h: Ditto.
125 * config/nm-linux.h: Ditto.
126 * config/nm-nto.h: Ditto.
127 * config/rs6000/nm-rs6000.h: Ditto.
128 * config/sparc/nm-sol2.h: Ditto.
129 * darwin-nat-info.c: Ditto.
130 * dfp.c: Ditto.
131 * dfp.h: Ditto.
132 * gdb-demangle.h: Ditto.
133 * i386-darwin-nat.c: Ditto.
134 * i386-darwin-tdep.c: Ditto.
135 * linux-fork.h: Ditto.
136 * m32c-tdep.c: Ditto.
137 * microblaze-linux-tdep.c: Ditto.
138 * microblaze-rom.c: Ditto.
139 * microblaze-tdep.c: Ditto.
140 * microblaze-tdep.h: Ditto.
141 * mips-linux-tdep.h: Ditto.
142 * ppc-ravenscar-thread.c: Ditto.
143 * ppc-ravenscar-thread.h: Ditto.
144 * prologue-value.c: Ditto.
145 * prologue-value.h: Ditto.
146 * ravenscar-thread.c: Ditto.
147 * ravenscar-thread.h: Ditto.
148 * sparc-ravenscar-thread.c: Ditto.
149 * sparc-ravenscar-thread.h: Ditto.
150 * tilegx-linux-tdep.c: Ditto.
151 * unwind_stop_reasons.def: Ditto.
152 * windows-nat.h: Ditto.
153 * xtensa-linux-tdep.c: Ditto.
154 * xtensa-xtregs.c: Ditto.
155 * regformats/regdat.sh: Ditto.
156 * regformats/regdef.h: Ditto.
157
158 2013-02-12 Pedro Alves <palves@redhat.com>
159
160 * break-catch-sig.c: Update copyright years.
161
162 2013-02-11 Siva Chandra Reddy <sivachandra@google.com>
163
164 Add support for a destructor for ui_out data and use it to
165 provide a ui_out destructor.
166 * ui-out.h: Declare the new ui_out destructor.
167 (ui_out_impl): Add a field for data destructor in ui_out_impl.
168 * ui-out.c (default_data_destroy): Add a default data destructor
169 which does nothing.
170 (default_ui_out_impl): Set the new data_destroy field to
171 default_data_destroy
172 (uo_data_destroy): Local function which invokes the data
173 destructor if present.
174 (clear_table): Local function which clears the table data of a
175 ui_out object.
176 (ui_out_destroy): Public function which frees a ui_out object.
177 (ui_out_table_end): Use the new clear_table function.
178 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
179 NULL.
180 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
181 to NULL.
182
183 2013-02-11 Doug Evans <dje@google.com>
184
185 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
186 (printf_decfloat): New function. Broken out from ui_printf.
187 Remove unnecessary code to shift the entire format string down.
188 (printf_pointer): New function.
189 (ui_printf): Code to print C strings, wide C strings, decfloats,
190 and pointers moved to separate functions.
191
192 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
193
194 * valops.c (value_assign): Handling bitfield offset in
195 `lval_internalvar_component' case.
196
197 2013-02-08 Doug Evans <dje@google.com>
198
199 * common/format.c (parse_format_string): Fix whitespace.
200
201 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
202
203 * stack.c (return_command): Work around uninitialized variable
204 warning.
205
206 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
207
208 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
209 number of the registers from 36 to 34.
210
211 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
212
213 * NEWS: Mention new AArch64 native and target support.
214
215 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
216
217 * MAINTAINERS (Write After Approval): Add myself.
218
219 2013-02-08 Jim MacArthur <jim.macarthur@arm.com>
220 Marcus Shawcroft <marcus.shawcroft@arm.com>
221 Nigel Stephens <nigel.stephens@arm.com>
222 Yufeng Zhang <yufeng.zhang@arm.com>
223
224 * aarch64-linux-nat.c: New file.
225 * config/aarch64/linux.mh: New file.
226 * configure.host: Add AArch64.
227 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
228
229 2013-02-07 Doug Evans <dje@google.com>
230
231 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
232 disassemble command.
233
234 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
235
236 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
237 set_gdbarch_fetch_tls_load_module_address.
238
239 2013-02-06 David S. Miller <davem@davemloft.net>
240
241 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
242 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
243 * value.c (struct_return_convention): New function.
244 (using_struct_return): Implement in terms of struct_return_convention.
245 * value.h (struct_return_convention): Declare.
246 * stack.c (return_command): Allow successful overriding of the return
247 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
248
249 2013-02-06 Tom Tromey <tromey@redhat.com>
250
251 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
252 outside of TRY_CATCH.
253
254 2013-02-06 Yao Qi <yao@codesourcery.com>
255
256 * mi/mi-interp.c: Include "tracepoint.h".
257 (mi_tsv_modified): Declare.
258 (mi_tsv_created, mi_tsv_deleted): Update declaration.
259 (mi_interpreter_init): Call observer_attach_tsv_modified.
260 (mi_tsv_modified): New.
261 (mi_tsv_created, mi_tsv_deleted): Update.
262 * tracepoint.c (trace_variable_command): Call
263 observer_notify_tsv_modified if the initial value of tsv is
264 changed.
265 (delete_trace_state_variable): Call
266 observer_notify_tsv_deleted earlier.
267 (trace_variable_command): Caller update.
268 (create_tsv_from_upload): Likewise.
269 * observer.sh: Declare "struct trace_state_variable".
270
271 * NEWS: Mention the new MI notification "=tsv-modified".
272
273 2013-02-05 Doug Evans <dje@google.com>
274
275 * completer.c (location_completer): Fix typo in comment.
276
277 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
278
279 * breakpoint.c (add_location_to_breakpoint): Insert the location with
280 ADDRESS sorted.
281
282 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
283
284 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
285 Refactor if statement to avoid trailing || operator.
286
287 2013-02-05 Andreas Tobler <andreast@fgznet.ch>
288
289 * NEWS: Add PowerPC FreeBSD as a new native configuration.
290
291 2013-02-04 Andreas Tobler <andreast@fgznet.ch>
292
293 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
294 * configure.host: Add powerpc*-*-freebsd* target.
295 * configure.tgt: Add target info for powerpc*-*-freebsd*.
296 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
297 * config/powerpc/fbsd.mh: New file.
298
299 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
300 Denys Vlasenko <dvlasenk@redhat.com>
301 Pedro Alves <palves@redhat.com>
302
303 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
304 (struct elf_internal_linux_prpsinfo): Forward declare.
305 * gdbarch.h, gdbarch.c: Regenerate.
306 * linux-tdep.c: Include `cli/cli-utils.h'.
307 (linux_fill_prpsinfo): New function.
308 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
309 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
310 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
311 depending on gdbarch pointer bitness.
312 * ppc-linux-tdep.c: Include elf-bfd.h.
313 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
314 on 32-bit.
315
316 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
317 Marcus Shawcroft <marcus.shawcroft@arm.com>
318 Nigel Stephens <nigel.stephens@arm.com>
319 Yufeng Zhang <yufeng.zhang@arm.com>
320
321 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
322
323 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
324 Marcus Shawcroft <marcus.shawcroft@arm.com>
325 Nigel Stephens <nigel.stephens@arm.com>
326 Yufeng Zhang <yufeng.zhang@arm.com>
327
328 * aarch64-newlib-tdep.c: New file.
329 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
330 aarch64*-*-elf.
331 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
332 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
333 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
334 * osabi.c (gdb_osabi_names): Add "Newlib".
335
336 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
337 Marcus Shawcroft <marcus.shawcroft@arm.com>
338 Nigel Stephens <nigel.stephens@arm.com>
339 Yufeng Zhang <yufeng.zhang@arm.com>
340
341 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
342 (ALLDEPFILES): Add aarch64-linux-tdep.c.
343 * aarch64-linux-tdep.c: New file.
344 * aarch64-linux-tdep.h: New file.
345 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
346 * configure.tgt: Add aarch64-none-linux-gnu.
347
348 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
349 Marcus Shawcroft <marcus.shawcroft@arm.com>
350 Nigel Stephens <nigel.stephens@arm.com>
351 Yufeng Zhang <yufeng.zhang@arm.com>
352
353 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
354 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
355 (ALLDEPFILES): Add aarch64-tdep.c.
356 * aarch64-tdep.c: New file.
357 * aarch64-tdep.h: New file.
358 * configure.tgt: Add AArch64.
359 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
360 (aarch64-expedite): New definition.
361 * features/aarch64-core.xml: New file.
362 * features/aarch64-fpu.xml: New file.
363 * features/aarch64-without-fpu.c: New file (generated).
364 * features/aarch64-without-fpu.xml: New file.
365 * features/aarch64.c: New file (generated).
366 * features/aarch64.xml: New file.
367 * regformats/aarch64-without-fpu.dat: New file (generated).
368 * regformats/aarch64.dat: New file (generated).
369
370 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
371
372 * contrib/expect-read1.c: New file.
373 * contrib/expect-read1.sh: New file.
374
375 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 * dwarf2read.c (file_file_name): New function with code from
378 file_full_name.
379 (file_full_name): Move most of the code to file_file_name.
380 (macro_start_file): Rename variable full_name to file_name and use
381 file_file_name for it. Add comp_dir parameter to new_macro_table.
382 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
383 macro_source_file->filename access by macro_source_fullname call.
384 * macroscope.c (_initialize_macroscope): Update the new_macro_table
385 caller.
386 * macrotab.c (struct macro_table): New field comp_dir.
387 (macro_include): New variables link_fullname and source_fullname.
388 Replace any macro_source_file->filename access by macro_source_fullname
389 call.
390 (macro_lookup_inclusion): Remove the partial filenames checking code.
391 (check_for_redefinition): New variables source_fullname and
392 found_key_fullname. Replace any macro_source_file->filename access by
393 macro_source_fullname call.
394 (macro_undef): New variables source_fullname and key_fullname. Replace
395 any macro_source_file->filename access by macro_source_fullname call.
396 (macro_lookup_definition): New variables retval and source_fullname.
397 Replace any macro_source_file->filename access by macro_source_fullname
398 call.
399 (foreach_macro): New variable key_fullname. Replace any
400 macro_source_file->filename access by macro_source_fullname call.
401 (foreach_macro_in_scope): New variable datum_fullname. Replace any
402 macro_source_file->filename access by macro_source_fullname call.
403 (new_macro_table): Add parameter comp_dir. Initialize T with it.
404 (macro_source_fullname): New function.
405 * macrotab.h (struct macro_source_file): Extent the filename field
406 comment.
407 (new_macro_table): New parameter comp_dir, add a comment for it.
408 (macro_source_fullname): new declaration.
409
410 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
413 this_real_name to outer block. Use it also for
414 compare_filenames_for_search.
415 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
416 with dw2_get_real_path for file_matcher, considering also
417 BASENAMES_MAY_DIFFER.
418 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
419
420 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
423 to the file_matcher parameter. Pass 0 to it.
424 (dwarf2_create_include_psymtab): Copy also DIRNAME.
425 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
426 NULL psymtab_to_fullname result.
427 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
428 an expected filename instead.
429 (expand_symtabs_matching_via_partial): Add basenames parameter to the
430 file_matcher parameter. Call also psymtab_to_fullname, after newly
431 considering BASENAMES_MAY_DIFFER.
432 * source.c (rewrite_source_path): Remove static.
433 * source.h (rewrite_source_path): New declaration.
434 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
435 the expand_symtabs_matching field. Comment it.
436 * symtab.c (file_matches): New function comment. Add parameter
437 basenames, implement it.
438 (search_symbols_file_matches): Add basenames parameter. Update the
439 file_matches caller.
440 (search_symbols): Match FILES also against symtab_to_fullname.
441 Optimize it for BASENAMES_MAY_DIFFER.
442
443 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
444
445 * source.c (print_source_lines_base): Print for TUI also "fullname".
446 * tui/tui-data.c (init_content_element): Change tui_locator_element
447 field to full_name.
448 * tui/tui-data.h (struct tui_locator_element): Likewise.
449 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
450 tui_update_locator_filename calls to tui_update_locator_fullname.
451 Replace symtab->filename refererence by symtab_to_fullname call.
452 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
453 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
454 field to full_name. Replace symtab->filename refererence by
455 symtab_to_fullname call.
456 (tui_show_symtab_source): Rename parameter to fullname. Change
457 tui_locator_element field to full_name.
458 * tui/tui-stack.c: Include source.h.
459 (tui_set_locator_filename): Rename the declaration to ...
460 (tui_set_locator_fullname): ... here. Rename its parameter to
461 fullname, updates its comment.
462 (tui_set_locator_info): Rename its parameter to fullname.
463 (tui_set_locator_filename): Rename the definition to ...
464 (tui_set_locator_fullname): ... here. Rename its parameter to
465 fullname, updates its comment. Change tui_locator_element field to
466 full_name.
467 (tui_set_locator_info): Rename its parameter to fullname.
468 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
469 (tui_update_locator_filename): Rename to ...
470 (tui_update_locator_fullname): ... here. Rename callee to
471 tui_set_locator_fullname.
472 (tui_show_frame_info): Replace symtab->filename refererence by
473 symtab_to_fullname call.
474 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
475 (tui_update_locator_fullname): ... here.
476 * tui/tui-winsource.c (tui_display_main): Rename the callee to
477 tui_update_locator_fullname. Replace symtab->filename refererence by
478 symtab_to_fullname call.
479 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
480 Rename the callee to tui_update_locator_fullname.
481 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
482
483 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
486 by symtab_to_filename_for_display calls.
487 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
488 (clear_command): New variable sal_fullname, initialize it. Replace
489 compare_filenames_for_search by filename_cmp with sal_fullname.
490 (say_where, update_static_tracepoint): Replace symtab->filename
491 refererences by symtab_to_filename_for_display calls.
492 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
493 Likewise.
494 * dwarf2read.c: Include source.h.
495 (fixup_go_packaging): Replace symtab->filename refererences by
496 symtab_to_filename_for_display calls.
497 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
498 Replace symtab->filename refererences by symtab_to_filename_for_display
499 calls.
500 (create_sals_line_offset, convert_linespec_to_sals): New variable
501 fullname, initialize it, replace symtab->filename reference by the
502 variable.
503 * linux-fork.c: Include source.h.
504 (info_checkpoints_command): Replace symtab->filename refererences by
505 symtab_to_filename_for_display calls.
506 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
507 by symtab_to_filename_for_display calls.
508 * mdebugread.c: Include source.h.
509 (psymtab_to_symtab_1): Replace symtab->filename refererences by
510 symtab_to_filename_for_display calls.
511 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
512 (mi_cmd_file_list_exec_source_files): Likewise.
513 * printcmd.c: Include source.h.
514 (build_address_symbolic): Replace symtab->filename refererences by
515 symtab_to_filename_for_display calls.
516 * psymtab.c (partial_map_symtabs_matching_filename)
517 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
518 with psymtab_to_fullname.
519 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
520 by symtab_to_filename_for_display calls.
521 (stpy_get_filename): New variable filename, initialize it, use instead
522 of symtab->filename refererences.
523 (salpy_str): Make variable filename const char *. Replace
524 symtab->filename refererences by symtab_to_filename_for_display calls.
525 * skip.c: Include source.h and filenames.h.
526 (skip_file_command): Remove const from the symtab variable. Replace
527 symtab->filename refererences by symtab_to_fullname call.
528 (function_name_is_marked_for_skip): New variables searched_for_fullname
529 and fullname. Use them to search also with symtab's fullname.
530 * source.c (find_source_lines): Replace symtab->filename refererences
531 by symtab_to_filename_for_display calls.
532 (print_source_lines_base): New variable filename, use it instead of
533 symtab->filename. Replace symtab->filename refererences by
534 symtab_to_filename_for_display calls.
535 (line_info, forward_search_command): Replace symtab->filename
536 refererences by symtab_to_filename_for_display calls.
537 (reverse_search_command): Replace symtab->filename refererences by
538 symtab_to_filename_for_display calls. New variable filename for it.
539 * stack.c (frame_info): Likewise.
540 * symmisc.c: Include source.h.
541 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
542 (maintenance_info_symtabs): Replace symtab->filename refererences by
543 symtab_to_filename_for_display calls.
544 * symtab.c (iterate_over_some_symtabs): Call
545 compare_filenames_for_search also with symtab_to_fullname.
546 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
547 symtab->filename refererences by symtab_to_filename_for_display calls.
548 (find_line_symtab): Replace symtab->filename refererences by
549 symtab_to_filename_for_display calls.
550 (file_matches): Replace filename_cmp by compare_filenames_for_search.
551 (print_symbol_info): Make the last parameter const char *. New
552 variable s_filename. Use it in the function.
553 (symtab_symbol_info): Make the last_filename variable const char *.
554 Replace symtab->filename refererences by symtab_to_filename_for_display
555 calls.
556 (rbreak_command): New variable fullname. Use it. Replace
557 symtab->filename refererence by symtab_to_filename_for_display call.
558 * tracepoint.c (set_traceframe_context, trace_find_line_command)
559 (print_one_static_tracepoint_marker): Replace symtab->filename
560 refererences by symtab_to_filename_for_display calls.
561 * tui/tui-source.c (tui_set_source_content): New variables filename and
562 s_filename. Replace symtab->filename refererences by this variable.
563 Replace other symtab->filename refererences by
564 symtab_to_filename_for_display calls.
565
566 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
567 Jan Kratochvil <jan.kratochvil@redhat.com>
568
569 Add a new variable that controls a way in which filenames are
570 displayed.
571 * NEWS (set filename-display): New entry.
572 * source.c (filename_display_basename, filename_display_relative)
573 (filename_display_absolute, filename_display_kind_names)
574 (filename_display_string, show_filename_display_string)
575 (symtab_to_filename_for_display): New.
576 (_initialize_source): Added initialization of 'filename-display'
577 variable.
578 * source.h (symtab_to_filename_for_display): Added declaration.
579 * stack.c (print_frame): Added new variable and calling of a new
580 function and condition with this variable. Changed third argument of
581 calling of a function.
582
583 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
584
585 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
586 Rename field reference filename to fullname.
587 * tui/tui-data.h (struct tui_source_info): Rename field filename to
588 fullname. New comment for it.
589 * tui/tui-source.c (tui_set_source_content): Rename field reference
590 filename to fullname. Initialize field by symtab_to_fullname now.
591 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
592 reference filename to fullname. Use symtab_to_fullname during
593 comparison.
594
595 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 Code cleanup.
598 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
599 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
600 filename to fullname. Rename variable this_name to this_fullname.
601 Lowercase FILENAME_CMP call.
602 (dw2_find_symbol_file): New comment for the returned string.
603 (dwarf2_gdb_index_functions): Rename the function to
604 dw2_expand_symtabs_with_fullname.
605 * psymtab.c (read_psymtabs_with_filename): Rename to ...
606 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
607 fullname.
608 (psym_functions): Rename the function to read_psymtabs_with_fullname.
609 * symfile.h (struct quick_symbol_functions): Rename field
610 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
611 parameter filename to fullname. Document returned string meaning for
612 find_symbol_file.
613 * symtab.c (find_line_symtab): Rename the called function to
614 expand_symtabs_with_fullname.
615
616 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
617
618 Code cleanup.
619 * breakpoint.c (clear_command): Remove variable is_abs, unify the
620 call of filename_cmp with compare_filenames_for_search.
621 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
622 is_abs, unify the call of FILENAME_CMP with
623 compare_filenames_for_search. New gdb_asserts for real_path and name.
624 Unify the call of compare_filenames_for_search with FILENAME_CMP.
625 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
626 * symfile.h (struct quick_symbol_functions): Extend the comment for
627 map_symtabs_matching_filename.
628 * symtab.c (compare_filenames_for_search): Remove the function comment
629 relative path requirement. Handle absolute filenames, with a comment.
630 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
631 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
632 real_path and name. Unify the call of compare_filenames_for_search
633 with FILENAME_CMP.
634 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
635
636 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
637
638 Code cleanup.
639 * breakpoint.c (print_breakpoint_location): Replace bp_location field
640 source_file references by symtab field references. Remove variables
641 sal and fullname.
642 (momentary_breakpoint_from_master, add_location_to_breakpoint):
643 (clear_command, say_where): Replace bp_location field source_file
644 references by symtab field references.
645 (bp_location_dtor): Remove the source_file reference.
646 (update_static_tracepoint): Replace bp_location field source_file
647 references by symtab field references.
648 (breakpoint_free_objfile): New function.
649 * breakpoint.h (struct bp_location): Extend the comment for line_number.
650 Replace the field source_file by field symtab, extend its comment.
651 (breakpoint_free_objfile): New declaration.
652 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
653 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
654 field source_file references by symtab field references.
655
656 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
657
658 Replace xfullpath calls by gdb_realpath calls.
659 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
660 function comment.
661 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
662 Remove it from the iterate_over_some_symtabs call.
663 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
664 Remove it from the dw2_map_expand_apply calls, remove a block handling
665 it.
666 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
667 Remove it from the iterate_over_some_symtabs call.
668 (partial_map_symtabs_matching_filename): Remove parameter full_path.
669 Remove it from the partial_map_expand_apply calls, remove a block
670 handling it. Drop gdb_realpath call and cleanups from the real_path
671 handling.
672 * source.c (openp): Drop the comment part about xfullpath. Replace
673 xfullpath calls by gdb_realpath calls.
674 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
675 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
676 from method map_symtabs_matching_filename and its comment.
677 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
678 gdb_realpath call.
679 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
680 remove it also from the function comment, remove a block handling it.
681 Drop gdb_realpath call and cleanups from the real_path handling.
682 (iterate_over_symtabs): Drop variable full_path and its use.
683 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
684 * utils.c (xfullpath): Remove.
685 * utils.h (xfullpath): Remove.
686
687 2013-02-01 Andreas Tobler <andreast@fgznet.ch>
688
689 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
690 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
691 (ALLDEPFILES): Add ppc64-tdep.c.
692 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
693 ppc64-tdep.o to gdb_target_obs.
694 * ppc64-tdep.h: New file.
695 * ppc64-tdep.c: New file.
696 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
697 ppc-linux-tdep.c to here.
698 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
699 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
700 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
701 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
702 from ppc-linux-tdep.c to here.
703 (ppc64_convert_from_func_ptr_addr): Rename from
704 ppc64_linux_convert_from_func_ptr_addr to
705 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
706 here.
707 * rs6000-tdep.c:
708 (read_insn): Move from ppc-linux-tdep.c to here.
709 (insns_match_pattern, insn_d_field, insn_ds_field): Move
710 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
711 * ppc-linux-tdep.c: Include ppc64-tdep.h.
712 Removed above functions.
713 (ppc_linux_init_abi): Adjust.
714
715 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
716
717 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
718
719 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
720
721 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
722
723 2013-02-01 Pedro Alves <palves@redhat.com>
724
725 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
726 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
727
728 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
729
730 * elfread.c (elf_symfile_read): Limit separate debug info additions to
731 files with no separate debug info.
732 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
733 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
734 only for files with no separate debug info.
735
736 2013-01-31 Tom Tromey <tromey@redhat.com>
737
738 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
739 change type.
740 (struct jit_program_space_data): Rename from jit_inferior_data.
741 Update comments.
742 (get_jit_program_space_data): Rename from get_jit_inferior_data.
743 Change return type. Attach data to program space.
744 (jit_program_space_data_cleanup): Rename from
745 jit_inferior_data_cleanup; change argument type.
746 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
747 change type.
748 (jit_register_code): Update.
749 (jit_update_inferior_cache): Remove.
750 (jit_breakpoint_deleted): Get jit data from the location's program
751 space.
752 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
753 'ps_data', change type.
754 (jit_inferior_init, jit_breakpoint_re_set_internal)
755 (jit_event_handler): Update.
756 (free_objfile_data): Get data from objfile's program space.
757 (_initialize_jit): Update.
758
759 2013-01-31 Tom Tromey <tromey@redhat.com>
760
761 PR gdb/13987:
762 * jit.c (struct jit_inferior_data) <cached_code_address,
763 jit_breakpoint>: New fields.
764 (jit_breakpoint_re_set_internal): Fix logging. Only create
765 breakpoint if cached address has changed.
766 (jit_update_inferior_cache, jit_breakpoint_deleted): New
767 functions.
768 (_initialize_jit): Register breakpoint deleted observer.
769
770 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
771
772 * infrun.c (handle_syscall_event): Remove unused gdbarch.
773 (save_infcall_suspend_state): Ifdef out unused inf.
774 (restore_infcall_suspend_state): Ifdef out unused inf.
775 * jit.c (jit_register_code): Remove unused i, b, inf_data.
776 (jit_frame_sniffer): Remove unused inf_data.
777
778 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
779
780 * c-exp.y (classify_inner_name): Remove unused type.
781 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
782 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
783 need_escape.
784 (c_get_string): Remove unused kind.
785 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
786
787 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
788
789 * charset.c (intermediate_encoding): Remove unused i.
790 * completer.c (signal_completer): Remove unused i.
791 * continuations.c (discard_my_continuations_1): Remove unused
792 continuation_ptr.
793 * corelow.c (core_close): Remove unuseD name.
794 (get_core_siginfo): Remove unused pid.
795 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
796 i, cps.
797 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
798 (loclist_describe_location): Remove unused first.
799 * event-top.c (command_line_handler): Remove unused got_eof.
800 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
801 (resize_section_table): Remove unused old_value.
802 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
803 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
804 * i386-tdep.c (i386_process_record): Remove unused rex.
805 * infcmd.c (get_return_value): Remove unused uiout.
806 * jv-lang.c (type_from_class): Remove unused is_array.
807 * jv-valprint.c (java_val_print): Remove unused i.
808 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
809 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
810 * m2-typeprint.c (m2_print_type): Remove unused code.
811 * macroexp.c (get_character_constant): Remove unused body_start.
812 (macro_stringify): Remove unused result.
813 * objc-lang.c (find_methods): Remove unused gdbarch.
814 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
815 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
816 * stack.c (print_frame_args): Remove unused summary.
817 * thread.c (thread_apply_command): Remove unused p.
818 * valarith.c (value_x_unop): Remove unused mangle_ptr.
819 * valops.c (search_struct_method): Remove unused skip.
820 * valprint.c (generic_val_print): Remove unused byte_order.
821 * varobj.c (varobj_update): Remove unused changed.
822 * cli/cli-cmds.c (complete_command): Remove unused next_item.
823 (alias_command): Remove unused c.
824 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
825 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
826 format.
827 (mi_cmd_data_write_memory): Remove unused word_format.
828 (mi_cmd_data_write_memory_bytes): Remove unused r.
829 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
830 p_start, p_end.
831 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
832 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
833 line_width.
834
835 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
836
837 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
838 * symtab.c (iterate_over_symtabs): Remove unused s.
839 (find_pc_sect_symtab): Remove unused pspAce.
840 (find_pc_sect_line): Remove unused alt_symtab.
841 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
842 (completion_list_add_name): Remove unused newsize.
843
844 2013-01-31 Tom Tromey <tromey@redhat.com>
845
846 PR c++/14998:
847 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
848 TYPE_CODE_FUNC.
849
850 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
851
852 * target.c (target_read_string): Remove unused origlen.
853
854 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
855
856 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
857 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
858 * ax-general.c (ax_print): Remove unused is_float.
859 * blockframe.c (block_innermost_frame): Remove unused start, end.
860 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
861
862 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
863
864 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
865 (svr4_read_so_list): Remove unused lmo.
866 * solib-target.c (solib_target_relocate_section_addresses): Remove
867 unused flags.
868
869 2013-01-30 Tom Tromey <tromey@redhat.com>
870
871 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
872
873 2013-01-30 Tom Tromey <tromey@redhat.com>
874
875 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
876 * utils.c (gnu_debuglink_crc32): Remove.
877 * utils.h (gnu_debuglink_crc32): Don't declare.
878
879 2013-01-30 Tom Tromey <tromey@redhat.com>
880
881 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
882 (read_structure_type, read_enumeration_type): Remove cast.
883
884 2013-01-30 Tom Tromey <tromey@redhat.com>
885
886 * dwarf2read.c (read_namespace_type): Remove cast.
887 (read_typedef): Likewise.
888
889 2013-01-29 Tom Tromey <tromey@redhat.com>
890
891 * dwarf2read.c (free_dwo_file): Remove assert.
892
893 2013-01-29 Tom Tromey <tromey@redhat.com>
894
895 * value.c (deprecated_set_value_modifiable): Remove.
896 * value.h (deprecated_set_value_modifiable): Remove.
897
898 2013-01-28 Doug Evans <dje@google.com>
899
900 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
901 to addresses from dwo files.
902
903 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
904
905 * valops.c (find_overload_match): Remove unused argument 'lax'.
906 * value.h: Remove unused argument 'lax' from the declaration of
907 find_overload_match.
908 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
909 to find_overload_match.
910 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
911 argument to find_overload_match.
912
913 2013-01-25 Tom Tromey <tromey@redhat.com>
914
915 * dwarf2read.c (processing_has_namespace_info): Remove.
916 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
917 (process_die, read_func_scope, dwarf2_start_symtab)
918 (new_symbol_full): Update.
919
920 2013-01-25 Tom Tromey <tromey@redhat.com>
921
922 * cp-namespace.c (cp_set_block_scope): Remove.
923 * cp-support.h (cp_set_block_scope): Remove.
924 * dbxread.c: Include block.h.
925 (cp_set_block_scope): New function.
926 (process_one_symbol): Update.
927 * dwarf2read.c (read_func_scope): Use block_set_scope.
928
929 2013-01-25 Pedro Alves <palves@redhat.com>
930
931 * remote.c (add_current_inferior_and_thread): Tweak comment.
932
933 2013-01-25 Tom Tromey <tromey@redhat.com>
934
935 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
936 (cp_add_using_directive): Add 'copy_names' argument.
937 * cp-support.h (cp_add_using_directive): Update.
938 (struct using_direct) <import_src, import_dest, alias,
939 declaration>: Now const.
940 * dwarf2read.c (read_import_statement): Use obconcat.
941 Don't copy names passed to cp_add_using_directive.
942
943 2013-01-25 Tom Tromey <tromey@redhat.com>
944
945 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
946
947 2013-01-25 Pedro Alves <palves@redhat.com>
948
949 * remote.c (stop_reply_extract_thread): New.
950 (add_current_inferior_and_thread): New parameter 'wait_status'.
951 Handle it.
952 (remote_start_remote): Pass wait status to
953 add_current_inferior_and_thread.
954 (extended_remote_run): Update comment.
955 (extended_remote_create_inferior_1): Pass wait status to
956 add_current_inferior_and_thread.
957
958 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
959 Ulrich Weigand <uweigand@de.ibm.com>
960
961 * valarith.c (value_vector_widen): New function for replicating a
962 scalar into a vector.
963 (value_binop): Use value_vector_widen to widen scalar to vector
964 rather than casting, this better matches gcc C behaviour.
965 * valops.c (value_casst): Update logic for casting between vector
966 types, and for casting from scalar to vector, try to match gcc C
967 behaviour.
968 * value.h (value_vector_widen): Declare.
969 * opencl-lang.c (opencl_value_cast): New opencl specific casting
970 function, handle special case for casting scalar to vector.
971 (opencl_relop): Use opencl_value_cast.
972 (evaluate_subexp_opencl): Use opencl_value_cast instead of
973 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
974 in order to use opencl_value_cast.
975
976 2013-01-25 Yao Qi <yao@codesourcery.com>
977
978 * event-loop.c: Include "queue.h".
979 (gdb_event_p): New typedef.
980 (DECLARE_QUEUE_P): Use.
981 (DEFINE_QUEUE_P): Use.
982 (async_queue_event): Remove.
983 (gdb_event_xfree): New.
984 (initialize_event_loop): New.
985 (process_event): Use QUEUE macros.
986 (event_queue): Remove.
987 (gdb_wait_for_event): Caller update.
988 (check_async_event_handlers): Likewise.
989 (poll_timers): Likewise.
990 * event-loop.h (initialize_event_loop): Declare.
991 * event-loop.c (gdb_event_xfree): New.
992 * top.c (gdb_init): Call initialize_event_loop.
993
994 2013-01-25 Yao Qi <yao@codesourcery.com>
995
996 * event-loop.c (async_queue_event): Remove one parameter
997 'position'. Remove code handling 'position' == TAIL.
998 (gdb_wait_for_event): Caller update.
999 (check_async_event_handlers): Caller update.
1000 (poll_timers): Caller update.
1001 * event-loop.h (enum queue_position): Remove.
1002
1003 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
1004
1005 * MAINTAINERS: Update my email.
1006
1007 2013-01-25 Yao Qi <yao@codesourcery.com>
1008
1009 * main.c (print_gdb_help): Remove "--epoch" from the help
1010 message.
1011
1012 2013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
1013
1014 * symtab.c (skip_prologue_using_sal): Consider a file
1015 change the same as an increased line number
1016
1017 2013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1018
1019 * MAINTAINERS (Write After Approval): Add myself to the list.
1020
1021 2013-01-24 Tom Tromey <tromey@redhat.com>
1022
1023 * ada-lang.h (ada_decode_symbol): Make return type const.
1024 * ada-lang.c (ada_decode_symbol): Likewise.
1025
1026 2013-01-23 Doug Evans <dje@google.com>
1027
1028 * linespec.c (find_linespec_symbols): Make static.
1029
1030 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1031
1032 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
1033 type on float conversion for complex type.
1034
1035 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1036
1037 Add a new class gdb.Architecture which exposes GDB's
1038 internal representation of architecture via GDB Python API.
1039 * Makefile.in: Add entries corresponding to the new file
1040 python/py-arch.c.
1041 * NEWS (Python Scripting): Add entries for the new class
1042 gdb.Architecture and the new method gdb.Frame.architecture.
1043 * python/py-arch.c: Implement gdb.Architecture class.
1044 * python/py-frame.c (frapy_arch): Implement the method
1045 gdb.Frame.architecture().
1046 (frame_object_methods): Add 'architecture' to the method table.
1047 * python/python-internal.h: Add declarations of new utility
1048 functions.
1049 * python/python.c (_initialize_python): Initialize
1050 gdb.Architecture class.
1051
1052 2013-01-23 Doug Evans <dje@google.com>
1053
1054 Work around binutils/15021.
1055 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
1056 type_unit_group out of union s. All uses updated.
1057 (read_index_from_section): Watch for index version 8.
1058 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
1059 an imported symtab.
1060 (write_psymtabs_to_index): Increment version number to 8.
1061
1062 2013-01-22 Pedro Alves <palves@redhat.com>
1063
1064 * annotate.c (breakpoint_changed): Skip if breakpoint is not
1065 user-visible.
1066
1067 2013-01-22 Pedro Alves <palves@redhat.com>
1068
1069 * annotate.c (annotate_breakpoints_changed): Rename to ...
1070 (annotate_breakpoints_invalid): ... this. Make static.
1071 (breakpoint_changed): Adjust.
1072 (_initialize_annotate): Always install the observers. Install a
1073 "breakpoint_created" observer.
1074 * annotate.h (annotate_breakpoints_changed): Delete declaration.
1075 * breakpoint.c (set_breakpoint_condition)
1076 (breakpoint_set_commands, do_map_commands_command)
1077 (init_raw_breakpoint, clear_command, set_ignore_count)
1078 (enable_breakpoint_disp): No longer call
1079 annotate_breakpoints_changed.
1080
1081 2013-01-22 Pedro Alves <palves@redhat.com>
1082
1083 * annotate.c: Include "inferior.h".
1084 (frames_invalid_emitted)
1085 (breakpoints_invalid_emitted): New globals.
1086 (async_background_execution_p): New function.
1087 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
1088 emitting the annotation if it has already been emitted.
1089 (annotate_display_prompt): New function.
1090 * annotate.h (annotate_display_prompt): New declaration.
1091 * event-top.c: Include annotate.h.
1092 (display_gdb_prompt): Call annotate_display_prompt.
1093
1094 2013-01-22 Pedro Alves <palves@redhat.com>
1095
1096 * annotate.c (ignore_count_changed): Delete.
1097 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
1098 (annotate_ignore_count_change): Delete.
1099 (annotate_stopped): Don't emit a delayed breakpoints-changed
1100 annotation.
1101 * annotate.h (annotate_ignore_count_change): Delete.
1102 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
1103 annotate_ignore_count_change.
1104
1105 2013-01-22 Tom Tromey <tromey@redhat.com>
1106
1107 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
1108 require_rvalue for a register location.
1109
1110 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1111
1112 * breakpoint.c (print_one_breakpoint_location): Add MI
1113 field 'thread-groups' when printing a breakpoint.
1114 (output_thread_groups): New function.
1115
1116 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1117
1118 * python/lib/gdb/commands/explore.py
1119 (CompoundExplorer.explore_expr): Correct the name of a method
1120 being invoked.
1121 (ExploreTypeCommand.invoke): Add a missing 'return'.
1122
1123 2013-01-21 Tom Tromey <tromey@redhat.com>
1124
1125 * gdb_obstack.h (obconcat): Move declaration here, from...
1126 * symfile.h (obconcat): ... here.
1127 * gdb_obstack.c: New file.
1128 (obconcat): Move from...
1129 * symfile.c (obconcat): ... here.
1130 * Makefile.in (SFILES): Add gdb_obstack.c.
1131 (COMMON_OBS): Add gdb_obstack.o.
1132
1133 2013-01-21 Tom Tromey <tromey@redhat.com>
1134
1135 * symfile.h (obsavestring): Don't declare.
1136 * symfile.c (obsavestring): Remove.
1137 * ada-exp.y: Use obstack_copy0, not obsavestring.
1138 * ada-lang.c: Use obstack_copy0, not obsavestring.
1139 * coffread.c: Use obstack_copy0, not obsavestring.
1140 * cp-namespace.c: Use obstack_copy0, not obsavestring.
1141 * dbxread.c: Use obstack_copy0, not obsavestring.
1142 * dwarf2read.c: Use obstack_copy0, not obsavestring.
1143 * jit.c: Use obstack_copy0, not obsavestring.
1144 * mdebugread.c: Use obstack_copy0, not obsavestring.
1145 * psymtab.c: Use obstack_copy0, not obsavestring.
1146 * stabsread.c: Use obstack_copy0, not obsavestring.
1147 * xcoffread.c: Use obstack_copy0, not obsavestring.
1148
1149 2013-01-21 Tom Tromey <tromey@redhat.com>
1150
1151 * dwarf2read.c (fixup_go_packaging): Save package name
1152 on objfile obstack.
1153 * gdbtypes.c (init_type): Don't copy name.
1154
1155 2013-01-21 Tom Tromey <tromey@redhat.com>
1156
1157 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
1158 const.
1159 (struct attribute) <u.str>: Now const.
1160 (struct fnfieldlist) <name>: Now const.
1161 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
1162 (partial_die_parent_scope): Make return type const.
1163 (partial_die_full_name, add_partial_symbol): Update.
1164 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
1165 'name' const.
1166 (find_file_and_directory): Make 'name' and 'comp_dir' const.
1167 (read_file_scope, read_func_scope, dwarf2_add_field)
1168 (dwarf2_add_member_fn, read_structure_type)
1169 (process_enumeration_scope, read_array_type, read_module_type)
1170 (read_base_type, read_subrange_type): Update.
1171 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
1172 (new_symbol_full, guess_full_die_structure_name): Update.
1173 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
1174 (dwarf2_name): Return const type.
1175 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
1176 const.
1177
1178 2013-01-21 Tom Tromey <tromey@redhat.com>
1179
1180 * gdbtypes.c (init_type): Make 'name' const.
1181 * gdbtypes.h (init_type): Update.
1182
1183 2013-01-21 Tom Tromey <tromey@redhat.com>
1184
1185 * buildsym.c (patch_subfile_names): Use set_last_source_file.
1186 (start_symtab): Make 'name' and 'dirname' const. Use
1187 set_last_source_file.
1188 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
1189 (last_source_file): Define. Now static.
1190 (set_last_source_file, get_last_source_file): New functions.
1191 * buildsym.h (last_source_file): Don't declare.
1192 (start_symtab): Update.
1193 (set_last_source_file, get_last_source_file): Declare.
1194 * coffread.c (complete_symtab): Use set_last_source_file.
1195 (coff_end_symtab): Likewise.
1196 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
1197 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
1198 set_last_source_file.
1199 (process_one_symbol): Use get_last_source_file.
1200 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
1201 (psymtab_to_symtab_1): Use get_last_source_file.
1202 * xcoffread.c (process_linenos): Use get_last_source_file.
1203 (complete_symtab): Use set_last_source_file.
1204 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
1205 (scan_xcoff_symtab): Use set_last_source_file.
1206
1207 2013-01-21 Tom Tromey <tromey@redhat.com>
1208
1209 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
1210 (symbol_set_names): Remove casts. Handle field const-ness.
1211
1212 2013-01-21 Tom Tromey <tromey@redhat.com>
1213
1214 * dwarf2read.c (new_symbol_full): Remove cast.
1215 * symtab.c (symbol_set_demangled_name): Make 'name' const.
1216 * symtab.h (symbol_set_demangled_name): Update.
1217
1218 2013-01-21 Tom Tromey <tromey@redhat.com>
1219
1220 * main.c (captured_main): Call bfd_init.
1221
1222 2013-01-21 Tom Tromey <tromey@redhat.com>
1223
1224 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
1225 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
1226 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
1227 * NEWS: Update.
1228
1229 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1230
1231 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
1232
1233 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 Fix gdb.fortran/common-block.exp crash in PIE mode.
1236 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
1237 LOC_COMMON_BLOCK.
1238 * f-valprint.c (info_common_command_for_block): Expect
1239 LOC_COMMON_BLOCK in gdb_assert.
1240 * symtab.h (struct general_symbol_info): Update comment for the
1241 common_block member.
1242 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
1243 (enum address_class): New member LOC_COMMON_BLOCK.
1244
1245 2013-01-18 David Blaikie <dblaikie@gmail.com>
1246
1247 * MAINTAINERS (Write After Approval): Add "David Blaikie".
1248
1249 2013-01-18 Tom Tromey <tromey@redhat.com>
1250
1251 PR c++/14999:
1252 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
1253 Call require_rvalue.
1254
1255 2013-01-18 Yao Qi <yao@codesourcery.com>
1256
1257 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
1258 (dbx_read_symtab): New declaration.
1259 (dbx_psymtab_to_symtab): Delete.
1260 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
1261 Rename parameter PST to SELF. Exchanged two parameters.
1262 (start_psymtab): Caller update.
1263 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
1264 (dwarf2_read_symtab): New declaration.
1265 (dwarf2_psymtab_to_symtab): Delete.
1266 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
1267 Rename parameter PST to SELF. Exchanged two parameters.
1268 (create_partial_symtab): Caller update.
1269 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
1270 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
1271 Rename parameter PST to SELF. Exchanged two parameters.
1272 (parse_partial_symbols, new_psymtab): Caller update.
1273 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
1274 two parameters.
1275 * psymtab.c (psymtab_to_symtab): Caller update.
1276 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
1277 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
1278 Rename parameter PST to SELF. Exchanged two parameters.
1279 (xcoff_start_psymtab): Caller update.
1280
1281 2013-01-18 Yao Qi <yao@codesourcery.com>
1282
1283 * infrun.c (proceed): Rename local variable 'oneproc' to
1284 'force_step'.
1285
1286 2013-01-17 Doug Evans <dje@google.com>
1287
1288 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1289 (dw2_build_type_unit_groups): Delete. All uses updated.
1290
1291 * symtab.h (struct symbol_search): Add comment.
1292
1293 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * symtab.c (compare_filenames_for_search): New comment for
1296 HAS_DRIVE_SPEC.
1297
1298 2013-01-17 Tom Tromey <tromey@redhat.com>
1299
1300 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1301
1302 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1303
1304 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1305 initialize it by existing make_cleanup. Call new do_cleanups.
1306
1307 2013-01-17 Tom Tromey <tromey@redhat.com>
1308
1309 * cp-abi.c (cp_abi_completer): New function.
1310 (_initialize_cp_abi): Set completer for "set cp-abi".
1311
1312 2013-01-17 Tom Tromey <tromey@redhat.com>
1313
1314 * mem-break.c: Remove obsolete comment.
1315 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1316
1317 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1318
1319 * jit.c (jit_reader_load_command): Interpret the jit reader name
1320 as an absolute path if it begins with a forward slash.
1321
1322 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1323
1324 PR gdb/14550
1325
1326 * jit.c (finalize_symtab): Ensure that only the global block has a
1327 NULL superblock.
1328
1329 2013-01-17 Pedro Alves <palves@redhat.com>
1330
1331 * acinclude.m4: Include ../config/plugins.m4,
1332 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1333 * Makefile.in (aclocal_m4_deps): Update.
1334 * aclocal.m4: Renegerate.
1335
1336 2013-01-16 Doug Evans <dje@google.com>
1337
1338 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1339
1340 2013-01-16 Pedro Alves <palves@redhat.com>
1341 Tom Tromey <tromey@redhat.com>
1342
1343 PR cli/7221:
1344 * NEWS: Add "catch signal".
1345 * breakpoint.c (base_breakpoint_ops): No longer static.
1346 (bpstat_explains_signal): New function.
1347 (init_catchpoint): No longer static.
1348 (base_breakpoint_explains_signal): New function.
1349 (base_breakpoint_ops): Initialize new field.
1350 * breakpoint.h (enum bpstat_signal_value): New.
1351 (struct breakpoint_ops) <explains_signal>: New field.
1352 (bpstat_explains_signal): Remove macro, declare as function.
1353 (base_breakpoint_ops, init_catchpoint): Declare.
1354 * break-catch-sig.c: New file.
1355 * inferior.h (signal_catch_update): Declare.
1356 * infrun.c (signal_catch): New global.
1357 (handle_syscall_event): Update for change to
1358 bpstat_explains_signal.
1359 (handle_inferior_event): Likewise. Always handle random signals
1360 via bpstats.
1361 (signal_cache_update): Check signal_catch.
1362 (signal_catch_update): New function.
1363 (_initialize_infrun): Initialize signal_catch.
1364 * Makefile.in (SFILES): Add break-catch-sig.c.
1365 (COMMON_OBS): Add break-catch-sig.o.
1366
1367 2013-01-16 Tom Tromey <tromey@redhat.com>
1368
1369 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1370 (print_one_catch_solib, print_one_catch_syscall)
1371 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1372 "catch-type".
1373
1374 2013-01-16 Yao Qi <yao@codesourcery.com>
1375
1376 * printcmd.c (current_display_number): Make it static.
1377
1378 2013-01-16 Yao Qi <yao@codesourcery.com>
1379
1380 * infcmd.c (step_once): Don't check '!single_inst' as it was
1381 checked before.
1382
1383 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1384
1385 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1386
1387 2013-01-14 Tom Tromey <tromey@redhat.com>
1388
1389 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1390 set command.
1391 * command.h (add_setshow_string_noescape_cmd): Update.
1392 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1393 (complete_set_gnutarget): New function.
1394 (_initialize_core): Set the "set gnutarget" completer.
1395
1396 2013-01-14 Tom Tromey <tromey@redhat.com>
1397
1398 PR symtab/14442:
1399 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1400 (c_type_print_modifier): Likewise.
1401 * dwarf2read.c (read_tag_restrict_type): New function.
1402 (read_type_die_1): Handle DW_TAG_restrict_type.
1403 * gdbtypes.c (make_restrict_type): New function.
1404 (recursive_dump_type): Handle TYPE_RESTRICT.
1405 * gdbtypes.h (enum type_flag_values): Renumber.
1406 (enum type_instance_flag_value): Add
1407 TYPE_INSTANCE_FLAG_RESTRICT.
1408 (TYPE_RESTRICT): New macro.
1409 (make_restrict_type): Declare.
1410
1411 2013-01-14 Tom Tromey <tromey@redhat.com>
1412
1413 PR symtab/14931:
1414 * psymtab.c (struct psymtab_state): New.
1415 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1416 functions.
1417 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1418 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1419
1420 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
1421 Pedro Alves <palves@redhat.com>
1422
1423 PR remote/14786
1424
1425 * remote.c (remote_threads_info): Make a copy of the reply from
1426 qfThreadInfo and use that instead of rs->buf.
1427
1428 2013-01-14 Yao Qi <yao@codesourcery.com>
1429
1430 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1431 (dbx_psymtab_to_symtab): Likewise.
1432 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1433 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1434 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1435
1436 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1437
1438 * parse.c (parse_exp_in_context): New variable inner_chain. Call
1439 make_cleanup_restore_current_language. Call set_language. Move
1440 OLD_CHAIN and INNER_CHAIN cleanups.
1441 * utils.c (do_restore_current_language)
1442 (make_cleanup_restore_current_language): New functions.
1443 * utils.h (make_cleanup_restore_current_language): New declaration.
1444
1445 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1446
1447 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1448 non-existing files.
1449
1450 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1451 non-existing files if FILENAME is already absolute.
1452
1453 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1454
1455 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1456 fputs_filtered. Append trailing newline.
1457
1458 2013-01-11 Yao Qi <yao@codesourcery.com>
1459 Stan Shebs <stan@codesourcery.com>
1460
1461 * psymtab.c (init_psymbol_list): Clarify the comment.
1462
1463 2013-01-11 Yao Qi <yao@codesourcery.com>
1464
1465 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1466 (update_dprintf_command_list): Assert that 'printf_line' is
1467 non-null. Remove condition check.
1468
1469 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1470
1471 Code cleanup.
1472 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1473 type const char *.
1474 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1475 const char *.
1476 * tui/tui-source.h (tui_source_is_displayed): Likewise.
1477
1478 2013-01-09 Anthony Green <green@moxielogic.com>
1479
1480 * cp-abi.c (cplus_print_vtable): Don't return value from void
1481 function.
1482 * ada-lang.c (re_set_catch_assert): Ditto.
1483
1484 2013-01-09 Doug Evans <dje@google.com>
1485
1486 * symfile.h (quick_symbol_functions): Delete member
1487 pre_expand_symtabs_matching. All uses removed.
1488 * dwarf2read.c (dw2_lookup_symbol): Implement.
1489 (dw2_do_expand_symtabs_matching): Delete.
1490 (dw2_pre_expand_symtabs_matching): Delete.
1491 (struct dw2_symtab_iterator): New type.
1492 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1493 (dw2_expand_symtabs_for_function): Rewrite.
1494 (dwarf2_gdb_index_functions): Update.
1495 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1496 (psym_functions): Update.
1497
1498 2013-01-09 Tom Tromey <tromey@redhat.com>
1499
1500 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1501 * configure: Rebuild.
1502 * configure.ac: Add somread.o to the build if BFD has SOM
1503 support.
1504 * somread.c: Include som/aout.h, not syms.h.
1505 (som_symtab_read): Use som_external_symbol_dictionary_record.
1506 Unpack records manually.
1507 (_initialize_somread): Declare.
1508
1509 2012-01-08 Mike Frysinger <vapier@gentoo.org>
1510
1511 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1512 Cast return_address to 64bits.
1513
1514 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
1515
1516 * printcmd.c: Remove define of function output_command.
1517 * tracepoint.c: Remove extern of function output_command.
1518 * valprint.h: (output_command): New extern.
1519
1520 2013-01-07 Tom Tromey <tromey@redhat.com>
1521
1522 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1523 Remove.
1524 (objc_language_defn): Use c_printchar, c_printstr,
1525 c_emit_char.
1526
1527 2013-01-07 Tom Tromey <tromey@redhat.com>
1528
1529 PR cli/7719:
1530 * NEWS: Update.
1531 * ada-valprint.c (printstr, print_field_values): Remove
1532 "inspect_it" code.
1533 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1534 code.
1535 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1536 code.
1537 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1538 * main.c (captured_main): Remove "epoch" argument.
1539 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1540 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1541 * p-valprint.c (pascal_object_print_value_fields): Remove
1542 "inspect_it" code.
1543 * printcmd.c (print_command_1): Remove 'inspect' argument.
1544 (print_command, call_command): Update.
1545 (inspect_command): Remove.
1546 (_initialize_printcmd): Make "inspect" an alias for "print".
1547 * top.c (epoch_interface): Remove.
1548 * top.h (epoch_interface): Remove.
1549 * valprint.c (user_print_options): Update.
1550 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1551 * valprint.h (struct value_print_options) <inspect_it>: Remove
1552 field.
1553
1554 2013-01-04 Tom Tromey <tromey@redhat.com>
1555
1556 * valprint.h (read_string): Add 'extern'.
1557
1558 2013-01-07 Joel Brobecker <brobecker@adacore.com>
1559
1560 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1561 used to decide whether to define darwin_read_dyld_info or not.
1562
1563 2013-01-03 Pierre Muller <muller@sourceware.org>
1564
1565 * main.c (relocate_gdb_directory): Avoid calling stat function
1566 if DIR is empty.
1567
1568 2013-01-03 Yao Qi <yao@codesourcery.com>
1569
1570 * psymtab.c (fixup_psymbol_section): Update declaration.
1571 (fixup_psymbol_section): Remove code returning value.
1572
1573 2013-01-03 Yao Qi <yao@codesourcery.com>
1574
1575 * symtab.h: Remove some out of date comments.
1576 (enum exception_event_kind): Move it ...
1577 * breakpoint.c: ... here.
1578
1579 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
1580
1581 PR gdb/14405
1582 * darwin-nat.c (darwin_read_dyld_info): Only build if
1583 TASK_DYLD_INFO_COUNT is defined.
1584 (darwin_xfer_partial): Call darwin_read_dyld_info only if
1585 TASK_DYLD_INFO_COUNT is defined.
1586
1587 2013-01-02 Tom Tromey <tromey@redhat.com>
1588
1589 * symfile.h (struct ecoff_debug_hack): Remove.
1590 * objfiles.c: Don't include mdebugread.h.
1591
1592 2013-01-02 Tom Tromey <tromey@redhat.com>
1593
1594 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
1595 * configure.ac: Check for Mach-O support in BFD. Update
1596 CONFIG_OBS.
1597 * configure: Rebuild.
1598
1599 2013-01-02 Tom Tromey <tromey@redhat.com>
1600
1601 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
1602 * configure.ac: Use GDB_AC_CHECK_BFD.
1603 * configure: Rebuild.
1604
1605 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1606
1607 * MAINTAINERS: Update my email.
1608
1609 2013-01-01 Joel Brobecker <brobecker@adacore.com>
1610
1611 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
1612
1613 2013-01-01 Joel Brobecker <brobecker@adacore.com>
1614
1615 * rs6000-nat.c (bss_data_overlap): New function.
1616 (vmap_symtab): Use it to adjust the .bss section's offset.
1617
1618 2013-01-01 Joel Brobecker <brobecker@adacore.com>
1619
1620 Update year range in copyright notice of all files.
1621
1622 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
1623
1624 * top.c (print_gdb_version): Update copyright year.
1625
1626 For older changes see ChangeLog-2012.
1627 \f
1628 Local Variables:
1629 mode: change-log
1630 left-margin: 8
1631 fill-column: 74
1632 version-control: never
1633 coding: utf-8
1634 End:
This page took 0.061357 seconds and 5 git commands to generate.