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