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