* dwarf2read.c (processing_has_namespace_info): Remove.
[binutils-gdb.git] / gdb / ChangeLog
1 2013-01-25 Tom Tromey <tromey@redhat.com>
2
3 * dwarf2read.c (processing_has_namespace_info): Remove.
4 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
5 (process_die, read_func_scope, dwarf2_start_symtab)
6 (new_symbol_full): Update.
7
8 2013-01-25 Tom Tromey <tromey@redhat.com>
9
10 * cp-namespace.c (cp_set_block_scope): Remove.
11 * cp-support.h (cp_set_block_scope): Remove.
12 * dbxread.c: Include block.h.
13 (cp_set_block_scope): New function.
14 (process_one_symbol): Update.
15 * dwarf2read.c (read_func_scope): Use block_set_scope.
16
17 2013-01-25 Pedro Alves <palves@redhat.com>
18
19 * remote.c (add_current_inferior_and_thread): Tweak comment.
20
21 2013-01-25 Tom Tromey <tromey@redhat.com>
22
23 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
24 (cp_add_using_directive): Add 'copy_names' argument.
25 * cp-support.h (cp_add_using_directive): Update.
26 (struct using_direct) <import_src, import_dest, alias,
27 declaration>: Now const.
28 * dwarf2read.c (read_import_statement): Use obconcat.
29 Don't copy names passed to cp_add_using_directive.
30
31 2013-01-25 Tom Tromey <tromey@redhat.com>
32
33 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
34
35 2013-01-25 Pedro Alves <palves@redhat.com>
36
37 * remote.c (stop_reply_extract_thread): New.
38 (add_current_inferior_and_thread): New parameter 'wait_status'.
39 Handle it.
40 (remote_start_remote): Pass wait status to
41 add_current_inferior_and_thread.
42 (extended_remote_run): Update comment.
43 (extended_remote_create_inferior_1): Pass wait status to
44 add_current_inferior_and_thread.
45
46 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
47 Ulrich Weigand <uweigand@de.ibm.com>
48
49 * valarith.c (value_vector_widen): New function for replicating a
50 scalar into a vector.
51 (value_binop): Use value_vector_widen to widen scalar to vector
52 rather than casting, this better matches gcc C behaviour.
53 * valops.c (value_casst): Update logic for casting between vector
54 types, and for casting from scalar to vector, try to match gcc C
55 behaviour.
56 * value.h (value_vector_widen): Declare.
57 * opencl-lang.c (opencl_value_cast): New opencl specific casting
58 function, handle special case for casting scalar to vector.
59 (opencl_relop): Use opencl_value_cast.
60 (evaluate_subexp_opencl): Use opencl_value_cast instead of
61 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
62 in order to use opencl_value_cast.
63
64 2013-01-25 Yao Qi <yao@codesourcery.com>
65
66 * event-loop.c: Include "queue.h".
67 (gdb_event_p): New typedef.
68 (DECLARE_QUEUE_P): Use.
69 (DEFINE_QUEUE_P): Use.
70 (async_queue_event): Remove.
71 (gdb_event_xfree): New.
72 (initialize_event_loop): New.
73 (process_event): Use QUEUE macros.
74 (event_queue): Remove.
75 (gdb_wait_for_event): Caller update.
76 (check_async_event_handlers): Likewise.
77 (poll_timers): Likewise.
78 * event-loop.h (initialize_event_loop): Declare.
79 * event-loop.c (gdb_event_xfree): New.
80 * top.c (gdb_init): Call initialize_event_loop.
81
82 2013-01-25 Yao Qi <yao@codesourcery.com>
83
84 * event-loop.c (async_queue_event): Remove one parameter
85 'position'. Remove code handling 'position' == TAIL.
86 (gdb_wait_for_event): Caller update.
87 (check_async_event_handlers): Caller update.
88 (poll_timers): Caller update.
89 * event-loop.h (enum queue_position): Remove.
90
91 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
92
93 * MAINTAINERS: Update my email.
94
95 2013-01-25 Yao Qi <yao@codesourcery.com>
96
97 * main.c (print_gdb_help): Remove "--epoch" from the help
98 message.
99
100 2013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
101
102 * symtab.c (skip_prologue_using_sal): Consider a file
103 change the same as an increased line number
104
105 2013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
106
107 * MAINTAINERS (Write After Approval): Add myself to the list.
108
109 2013-01-24 Tom Tromey <tromey@redhat.com>
110
111 * ada-lang.h (ada_decode_symbol): Make return type const.
112 * ada-lang.c (ada_decode_symbol): Likewise.
113
114 2013-01-23 Doug Evans <dje@google.com>
115
116 * linespec.c (find_linespec_symbols): Make static.
117
118 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
119
120 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
121 type on float conversion for complex type.
122
123 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
124
125 Add a new class gdb.Architecture which exposes GDB's
126 internal representation of architecture via GDB Python API.
127 * Makefile.in: Add entries corresponding to the new file
128 python/py-arch.c.
129 * NEWS (Python Scripting): Add entries for the new class
130 gdb.Architecture and the new method gdb.Frame.architecture.
131 * python/py-arch.c: Implement gdb.Architecture class.
132 * python/py-frame.c (frapy_arch): Implement the method
133 gdb.Frame.architecture().
134 (frame_object_methods): Add 'architecture' to the method table.
135 * python/python-internal.h: Add declarations of new utility
136 functions.
137 * python/python.c (_initialize_python): Initialize
138 gdb.Architecture class.
139
140 2013-01-23 Doug Evans <dje@google.com>
141
142 Work around binutils/15021.
143 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
144 type_unit_group out of union s. All uses updated.
145 (read_index_from_section): Watch for index version 8.
146 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
147 an imported symtab.
148 (write_psymtabs_to_index): Increment version number to 8.
149
150 2013-01-22 Pedro Alves <palves@redhat.com>
151
152 * annotate.c (breakpoint_changed): Skip if breakpoint is not
153 user-visible.
154
155 2013-01-22 Pedro Alves <palves@redhat.com>
156
157 * annotate.c (annotate_breakpoints_changed): Rename to ...
158 (annotate_breakpoints_invalid): ... this. Make static.
159 (breakpoint_changed): Adjust.
160 (_initialize_annotate): Always install the observers. Install a
161 "breakpoint_created" observer.
162 * annotate.h (annotate_breakpoints_changed): Delete declaration.
163 * breakpoint.c (set_breakpoint_condition)
164 (breakpoint_set_commands, do_map_commands_command)
165 (init_raw_breakpoint, clear_command, set_ignore_count)
166 (enable_breakpoint_disp): No longer call
167 annotate_breakpoints_changed.
168
169 2013-01-22 Pedro Alves <palves@redhat.com>
170
171 * annotate.c: Include "inferior.h".
172 (frames_invalid_emitted)
173 (breakpoints_invalid_emitted): New globals.
174 (async_background_execution_p): New function.
175 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
176 emitting the annotation if it has already been emitted.
177 (annotate_display_prompt): New function.
178 * annotate.h (annotate_display_prompt): New declaration.
179 * event-top.c: Include annotate.h.
180 (display_gdb_prompt): Call annotate_display_prompt.
181
182 2013-01-22 Pedro Alves <palves@redhat.com>
183
184 * annotate.c (ignore_count_changed): Delete.
185 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
186 (annotate_ignore_count_change): Delete.
187 (annotate_stopped): Don't emit a delayed breakpoints-changed
188 annotation.
189 * annotate.h (annotate_ignore_count_change): Delete.
190 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
191 annotate_ignore_count_change.
192
193 2013-01-22 Tom Tromey <tromey@redhat.com>
194
195 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
196 require_rvalue for a register location.
197
198 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
199
200 * breakpoint.c (print_one_breakpoint_location): Add MI
201 field 'thread-groups' when printing a breakpoint.
202 (output_thread_groups): New function.
203
204 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
205
206 * python/lib/gdb/commands/explore.py
207 (CompoundExplorer.explore_expr): Correct the name of a method
208 being invoked.
209 (ExploreTypeCommand.invoke): Add a missing 'return'.
210
211 2013-01-21 Tom Tromey <tromey@redhat.com>
212
213 * gdb_obstack.h (obconcat): Move declaration here, from...
214 * symfile.h (obconcat): ... here.
215 * gdb_obstack.c: New file.
216 (obconcat): Move from...
217 * symfile.c (obconcat): ... here.
218 * Makefile.in (SFILES): Add gdb_obstack.c.
219 (COMMON_OBS): Add gdb_obstack.o.
220
221 2013-01-21 Tom Tromey <tromey@redhat.com>
222
223 * symfile.h (obsavestring): Don't declare.
224 * symfile.c (obsavestring): Remove.
225 * ada-exp.y: Use obstack_copy0, not obsavestring.
226 * ada-lang.c: Use obstack_copy0, not obsavestring.
227 * coffread.c: Use obstack_copy0, not obsavestring.
228 * cp-namespace.c: Use obstack_copy0, not obsavestring.
229 * dbxread.c: Use obstack_copy0, not obsavestring.
230 * dwarf2read.c: Use obstack_copy0, not obsavestring.
231 * jit.c: Use obstack_copy0, not obsavestring.
232 * mdebugread.c: Use obstack_copy0, not obsavestring.
233 * psymtab.c: Use obstack_copy0, not obsavestring.
234 * stabsread.c: Use obstack_copy0, not obsavestring.
235 * xcoffread.c: Use obstack_copy0, not obsavestring.
236
237 2013-01-21 Tom Tromey <tromey@redhat.com>
238
239 * dwarf2read.c (fixup_go_packaging): Save package name
240 on objfile obstack.
241 * gdbtypes.c (init_type): Don't copy name.
242
243 2013-01-21 Tom Tromey <tromey@redhat.com>
244
245 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
246 const.
247 (struct attribute) <u.str>: Now const.
248 (struct fnfieldlist) <name>: Now const.
249 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
250 (partial_die_parent_scope): Make return type const.
251 (partial_die_full_name, add_partial_symbol): Update.
252 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
253 'name' const.
254 (find_file_and_directory): Make 'name' and 'comp_dir' const.
255 (read_file_scope, read_func_scope, dwarf2_add_field)
256 (dwarf2_add_member_fn, read_structure_type)
257 (process_enumeration_scope, read_array_type, read_module_type)
258 (read_base_type, read_subrange_type): Update.
259 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
260 (new_symbol_full, guess_full_die_structure_name): Update.
261 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
262 (dwarf2_name): Return const type.
263 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
264 const.
265
266 2013-01-21 Tom Tromey <tromey@redhat.com>
267
268 * gdbtypes.c (init_type): Make 'name' const.
269 * gdbtypes.h (init_type): Update.
270
271 2013-01-21 Tom Tromey <tromey@redhat.com>
272
273 * buildsym.c (patch_subfile_names): Use set_last_source_file.
274 (start_symtab): Make 'name' and 'dirname' const. Use
275 set_last_source_file.
276 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
277 (last_source_file): Define. Now static.
278 (set_last_source_file, get_last_source_file): New functions.
279 * buildsym.h (last_source_file): Don't declare.
280 (start_symtab): Update.
281 (set_last_source_file, get_last_source_file): Declare.
282 * coffread.c (complete_symtab): Use set_last_source_file.
283 (coff_end_symtab): Likewise.
284 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
285 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
286 set_last_source_file.
287 (process_one_symbol): Use get_last_source_file.
288 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
289 (psymtab_to_symtab_1): Use get_last_source_file.
290 * xcoffread.c (process_linenos): Use get_last_source_file.
291 (complete_symtab): Use set_last_source_file.
292 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
293 (scan_xcoff_symtab): Use set_last_source_file.
294
295 2013-01-21 Tom Tromey <tromey@redhat.com>
296
297 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
298 (symbol_set_names): Remove casts. Handle field const-ness.
299
300 2013-01-21 Tom Tromey <tromey@redhat.com>
301
302 * dwarf2read.c (new_symbol_full): Remove cast.
303 * symtab.c (symbol_set_demangled_name): Make 'name' const.
304 * symtab.h (symbol_set_demangled_name): Update.
305
306 2013-01-21 Tom Tromey <tromey@redhat.com>
307
308 * main.c (captured_main): Call bfd_init.
309
310 2013-01-21 Tom Tromey <tromey@redhat.com>
311
312 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
313 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
314 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
315 * NEWS: Update.
316
317 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
320
321 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 Fix gdb.fortran/common-block.exp crash in PIE mode.
324 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
325 LOC_COMMON_BLOCK.
326 * f-valprint.c (info_common_command_for_block): Expect
327 LOC_COMMON_BLOCK in gdb_assert.
328 * symtab.h (struct general_symbol_info): Update comment for the
329 common_block member.
330 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
331 (enum address_class): New member LOC_COMMON_BLOCK.
332
333 2013-01-18 David Blaikie <dblaikie@gmail.com>
334
335 * MAINTAINERS (Write After Approval): Add "David Blaikie".
336
337 2013-01-18 Tom Tromey <tromey@redhat.com>
338
339 PR c++/14999:
340 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
341 Call require_rvalue.
342
343 2013-01-18 Yao Qi <yao@codesourcery.com>
344
345 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
346 (dbx_read_symtab): New declaration.
347 (dbx_psymtab_to_symtab): Delete.
348 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
349 Rename parameter PST to SELF. Exchanged two parameters.
350 (start_psymtab): Caller update.
351 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
352 (dwarf2_read_symtab): New declaration.
353 (dwarf2_psymtab_to_symtab): Delete.
354 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
355 Rename parameter PST to SELF. Exchanged two parameters.
356 (create_partial_symtab): Caller update.
357 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
358 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
359 Rename parameter PST to SELF. Exchanged two parameters.
360 (parse_partial_symbols, new_psymtab): Caller update.
361 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
362 two parameters.
363 * psymtab.c (psymtab_to_symtab): Caller update.
364 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
365 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
366 Rename parameter PST to SELF. Exchanged two parameters.
367 (xcoff_start_psymtab): Caller update.
368
369 2013-01-18 Yao Qi <yao@codesourcery.com>
370
371 * infrun.c (proceed): Rename local variable 'oneproc' to
372 'force_step'.
373
374 2013-01-17 Doug Evans <dje@google.com>
375
376 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
377 (dw2_build_type_unit_groups): Delete. All uses updated.
378
379 * symtab.h (struct symbol_search): Add comment.
380
381 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
382
383 * symtab.c (compare_filenames_for_search): New comment for
384 HAS_DRIVE_SPEC.
385
386 2013-01-17 Tom Tromey <tromey@redhat.com>
387
388 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
389
390 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
391
392 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
393 initialize it by existing make_cleanup. Call new do_cleanups.
394
395 2013-01-17 Tom Tromey <tromey@redhat.com>
396
397 * cp-abi.c (cp_abi_completer): New function.
398 (_initialize_cp_abi): Set completer for "set cp-abi".
399
400 2013-01-17 Tom Tromey <tromey@redhat.com>
401
402 * mem-break.c: Remove obsolete comment.
403 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
404
405 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
406
407 * jit.c (jit_reader_load_command): Interpret the jit reader name
408 as an absolute path if it begins with a forward slash.
409
410 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
411
412 PR gdb/14550
413
414 * jit.c (finalize_symtab): Ensure that only the global block has a
415 NULL superblock.
416
417 2013-01-17 Pedro Alves <palves@redhat.com>
418
419 * acinclude.m4: Include ../config/plugins.m4,
420 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
421 * Makefile.in (aclocal_m4_deps): Update.
422 * aclocal.m4: Renegerate.
423
424 2013-01-16 Doug Evans <dje@google.com>
425
426 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
427
428 2013-01-16 Pedro Alves <palves@redhat.com>
429 Tom Tromey <tromey@redhat.com>
430
431 PR cli/7221:
432 * NEWS: Add "catch signal".
433 * breakpoint.c (base_breakpoint_ops): No longer static.
434 (bpstat_explains_signal): New function.
435 (init_catchpoint): No longer static.
436 (base_breakpoint_explains_signal): New function.
437 (base_breakpoint_ops): Initialize new field.
438 * breakpoint.h (enum bpstat_signal_value): New.
439 (struct breakpoint_ops) <explains_signal>: New field.
440 (bpstat_explains_signal): Remove macro, declare as function.
441 (base_breakpoint_ops, init_catchpoint): Declare.
442 * break-catch-sig.c: New file.
443 * inferior.h (signal_catch_update): Declare.
444 * infrun.c (signal_catch): New global.
445 (handle_syscall_event): Update for change to
446 bpstat_explains_signal.
447 (handle_inferior_event): Likewise. Always handle random signals
448 via bpstats.
449 (signal_cache_update): Check signal_catch.
450 (signal_catch_update): New function.
451 (_initialize_infrun): Initialize signal_catch.
452 * Makefile.in (SFILES): Add break-catch-sig.c.
453 (COMMON_OBS): Add break-catch-sig.o.
454
455 2013-01-16 Tom Tromey <tromey@redhat.com>
456
457 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
458 (print_one_catch_solib, print_one_catch_syscall)
459 (print_one_catch_exec, print_one_exception_catchpoint): Emit
460 "catch-type".
461
462 2013-01-16 Yao Qi <yao@codesourcery.com>
463
464 * printcmd.c (current_display_number): Make it static.
465
466 2013-01-16 Yao Qi <yao@codesourcery.com>
467
468 * infcmd.c (step_once): Don't check '!single_inst' as it was
469 checked before.
470
471 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
472
473 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
474
475 2013-01-14 Tom Tromey <tromey@redhat.com>
476
477 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
478 set command.
479 * command.h (add_setshow_string_noescape_cmd): Update.
480 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
481 (complete_set_gnutarget): New function.
482 (_initialize_core): Set the "set gnutarget" completer.
483
484 2013-01-14 Tom Tromey <tromey@redhat.com>
485
486 PR symtab/14442:
487 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
488 (c_type_print_modifier): Likewise.
489 * dwarf2read.c (read_tag_restrict_type): New function.
490 (read_type_die_1): Handle DW_TAG_restrict_type.
491 * gdbtypes.c (make_restrict_type): New function.
492 (recursive_dump_type): Handle TYPE_RESTRICT.
493 * gdbtypes.h (enum type_flag_values): Renumber.
494 (enum type_instance_flag_value): Add
495 TYPE_INSTANCE_FLAG_RESTRICT.
496 (TYPE_RESTRICT): New macro.
497 (make_restrict_type): Declare.
498
499 2013-01-14 Tom Tromey <tromey@redhat.com>
500
501 PR symtab/14931:
502 * psymtab.c (struct psymtab_state): New.
503 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
504 functions.
505 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
506 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
507
508 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
509 Pedro Alves <palves@redhat.com>
510
511 PR remote/14786
512
513 * remote.c (remote_threads_info): Make a copy of the reply from
514 qfThreadInfo and use that instead of rs->buf.
515
516 2013-01-14 Yao Qi <yao@codesourcery.com>
517
518 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
519 (dbx_psymtab_to_symtab): Likewise.
520 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
521 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
522 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
523
524 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * parse.c (parse_exp_in_context): New variable inner_chain. Call
527 make_cleanup_restore_current_language. Call set_language. Move
528 OLD_CHAIN and INNER_CHAIN cleanups.
529 * utils.c (do_restore_current_language)
530 (make_cleanup_restore_current_language): New functions.
531 * utils.h (make_cleanup_restore_current_language): New declaration.
532
533 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
534
535 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
536 non-existing files.
537
538 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
539 non-existing files if FILENAME is already absolute.
540
541 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
544 fputs_filtered. Append trailing newline.
545
546 2013-01-11 Yao Qi <yao@codesourcery.com>
547 Stan Shebs <stan@codesourcery.com>
548
549 * psymtab.c (init_psymbol_list): Clarify the comment.
550
551 2013-01-11 Yao Qi <yao@codesourcery.com>
552
553 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
554 (update_dprintf_command_list): Assert that 'printf_line' is
555 non-null. Remove condition check.
556
557 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
558
559 Code cleanup.
560 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
561 type const char *.
562 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
563 const char *.
564 * tui/tui-source.h (tui_source_is_displayed): Likewise.
565
566 2013-01-09 Anthony Green <green@moxielogic.com>
567
568 * cp-abi.c (cplus_print_vtable): Don't return value from void
569 function.
570 * ada-lang.c (re_set_catch_assert): Ditto.
571
572 2013-01-09 Doug Evans <dje@google.com>
573
574 * symfile.h (quick_symbol_functions): Delete member
575 pre_expand_symtabs_matching. All uses removed.
576 * dwarf2read.c (dw2_lookup_symbol): Implement.
577 (dw2_do_expand_symtabs_matching): Delete.
578 (dw2_pre_expand_symtabs_matching): Delete.
579 (struct dw2_symtab_iterator): New type.
580 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
581 (dw2_expand_symtabs_for_function): Rewrite.
582 (dwarf2_gdb_index_functions): Update.
583 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
584 (psym_functions): Update.
585
586 2013-01-09 Tom Tromey <tromey@redhat.com>
587
588 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
589 * configure: Rebuild.
590 * configure.ac: Add somread.o to the build if BFD has SOM
591 support.
592 * somread.c: Include som/aout.h, not syms.h.
593 (som_symtab_read): Use som_external_symbol_dictionary_record.
594 Unpack records manually.
595 (_initialize_somread): Declare.
596
597 2012-01-08 Mike Frysinger <vapier@gentoo.org>
598
599 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
600 Cast return_address to 64bits.
601
602 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
603
604 * printcmd.c: Remove define of function output_command.
605 * tracepoint.c: Remove extern of function output_command.
606 * valprint.h: (output_command): New extern.
607
608 2013-01-07 Tom Tromey <tromey@redhat.com>
609
610 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
611 Remove.
612 (objc_language_defn): Use c_printchar, c_printstr,
613 c_emit_char.
614
615 2013-01-07 Tom Tromey <tromey@redhat.com>
616
617 PR cli/7719:
618 * NEWS: Update.
619 * ada-valprint.c (printstr, print_field_values): Remove
620 "inspect_it" code.
621 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
622 code.
623 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
624 code.
625 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
626 * main.c (captured_main): Remove "epoch" argument.
627 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
628 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
629 * p-valprint.c (pascal_object_print_value_fields): Remove
630 "inspect_it" code.
631 * printcmd.c (print_command_1): Remove 'inspect' argument.
632 (print_command, call_command): Update.
633 (inspect_command): Remove.
634 (_initialize_printcmd): Make "inspect" an alias for "print".
635 * top.c (epoch_interface): Remove.
636 * top.h (epoch_interface): Remove.
637 * valprint.c (user_print_options): Update.
638 (print_converted_chars_to_obstack): Remove "inspect_it" code.
639 * valprint.h (struct value_print_options) <inspect_it>: Remove
640 field.
641
642 2013-01-04 Tom Tromey <tromey@redhat.com>
643
644 * valprint.h (read_string): Add 'extern'.
645
646 2013-01-07 Joel Brobecker <brobecker@adacore.com>
647
648 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
649 used to decide whether to define darwin_read_dyld_info or not.
650
651 2013-01-03 Pierre Muller <muller@sourceware.org>
652
653 * main.c (relocate_gdb_directory): Avoid calling stat function
654 if DIR is empty.
655
656 2013-01-03 Yao Qi <yao@codesourcery.com>
657
658 * psymtab.c (fixup_psymbol_section): Update declaration.
659 (fixup_psymbol_section): Remove code returning value.
660
661 2013-01-03 Yao Qi <yao@codesourcery.com>
662
663 * symtab.h: Remove some out of date comments.
664 (enum exception_event_kind): Move it ...
665 * breakpoint.c: ... here.
666
667 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
668
669 PR gdb/14405
670 * darwin-nat.c (darwin_read_dyld_info): Only build if
671 TASK_DYLD_INFO_COUNT is defined.
672 (darwin_xfer_partial): Call darwin_read_dyld_info only if
673 TASK_DYLD_INFO_COUNT is defined.
674
675 2013-01-02 Tom Tromey <tromey@redhat.com>
676
677 * symfile.h (struct ecoff_debug_hack): Remove.
678 * objfiles.c: Don't include mdebugread.h.
679
680 2013-01-02 Tom Tromey <tromey@redhat.com>
681
682 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
683 * configure.ac: Check for Mach-O support in BFD. Update
684 CONFIG_OBS.
685 * configure: Rebuild.
686
687 2013-01-02 Tom Tromey <tromey@redhat.com>
688
689 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
690 * configure.ac: Use GDB_AC_CHECK_BFD.
691 * configure: Rebuild.
692
693 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
694
695 * MAINTAINERS: Update my email.
696
697 2013-01-01 Joel Brobecker <brobecker@adacore.com>
698
699 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
700
701 2013-01-01 Joel Brobecker <brobecker@adacore.com>
702
703 * rs6000-nat.c (bss_data_overlap): New function.
704 (vmap_symtab): Use it to adjust the .bss section's offset.
705
706 2013-01-01 Joel Brobecker <brobecker@adacore.com>
707
708 Update year range in copyright notice of all files.
709
710 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
711
712 * top.c (print_gdb_version): Update copyright year.
713
714 For older changes see ChangeLog-2012.
715 \f
716 Local Variables:
717 mode: change-log
718 left-margin: 8
719 fill-column: 74
720 version-control: never
721 coding: utf-8
722 End: