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