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