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