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