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