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