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