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