aee132ee83b7581024166fd0e52ede87ab0f1e6e
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2013-03-20 Tom Tromey <tromey@redhat.com>
2
3 * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
4 if possible.
5 * dwarf2read.c (read_func_scope): Remove old FIXME.
6 * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
7 not LOC_COMPUTED.
8 * findvar.c (symbol_read_needs_frame, default_read_var_value):
9 Unconditionally call via computed ops, if possible.
10 * printcmd.c (address_info): Unconditionally call via computed ops,
11 if possible.
12 * stack.c (read_frame_arg): Unconditionally call via computed ops,
13 if possible.
14 * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
15 * tracepoint.c (scope_info): Unconditionally call via computed ops,
16 if possible.
17
18 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19 Tom Tromey <tromey@redhat.com>
20
21 PR symtab/8421:
22 * coffread.c (coff_register_index): New global.
23 (process_coff_symbol, coff_read_enum_type): Set
24 SYMBOL_ACLASS_INDEX.
25 (_initialize_coffread): Initialize new global.
26 * dwarf2loc.c (locexpr_find_frame_base_location)
27 (dwarf2_block_frame_base_locexpr_funcs)
28 (loclist_find_frame_base_location)
29 (dwarf2_block_frame_base_loclist_funcs): New.
30 (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
31 (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
32 * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
33 (dwarf2_block_frame_base_loclist_funcs): New.
34 * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
35 (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
36 globals.
37 (read_func_scope): Update.
38 (fixup_go_packaging, mark_common_block_symbol_computed)
39 (var_decode_location, new_symbol_full, dwarf2_const_value):
40 Set SYMBOL_ACLASS_INDEX.
41 (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument.
42 (_initialize_dwarf2_read): Initialize new globals.
43 * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
44 * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
45 * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
46 globals.
47 (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
48 (_initialize_mdebugread): Initialize new globals.
49 * psympriv.h (struct partial_symbol) <aclass>: Update comment.
50 * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
51 (stab_register_index, stab_regparm_index): New globals.
52 (define_symbol, read_enum_type, common_block_end): Set
53 SYMBOL_ACLASS_INDEX.
54 (_initialize_stabsread): Initialize new globals.
55 * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
56 globals.
57 (MAX_SYMBOL_IMPLS): New define.
58 (register_symbol_computed_impl, register_symbol_block_impl)
59 (register_symbol_register_impl)
60 (initialize_ordinary_address_classes): New functions.
61 (_initialize_symtab): Call initialize_ordinary_address_classes.
62 * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
63 (struct symbol_impl): New.
64 (SYMBOL_ACLASS_BITS): New define.
65 (struct symbol) <aclass, ops>: Remove fields.
66 <aclass_index>: New field.
67 (symbol_impls): Declare.
68 (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
69 (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
70 (register_symbol_computed_impl, register_symbol_block_impl)
71 (register_symbol_register_impl): Declare.
72 (struct symbol_computed_ops): Add location_has_loclist.
73 (struct symbol_block_ops): New.
74 (SYMBOL_BLOCK_OPS): New.
75 * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
76
77 2013-03-20 Tom Tromey <tromey@redhat.com>
78
79 * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
80 (print_partial_symbols, recursively_search_psymtabs): Use
81 PSYMBOL_CLASS.
82
83 2013-03-20 Pierre Muller <muller@sourceware.org>
84
85 * contrib/ari/gdb_ari.sh (OP eol rule): Also check
86 addtion, subtraction, multiplication and division binary operator.
87
88 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
89
90 Code cleanup.
91 * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
92 * bsd-kvm.c (bsd_kvm_close): Likewise.
93 * bsd-uthread.c (bsd_uthread_close): Likewise.
94 * corelow.c (core_close): Likewise.
95 (core_close_cleanup): Remove parameter quitting from a caller.
96 * event-top.c (async_disconnect): Likewise.
97 * exec.c (exec_close_1): Remove parameter quitting.
98 * go32-nat.c (go32_close): Likewise.
99 * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove
100 parameter quitting from a caller.
101 * mips-linux-nat.c (super_close): Remove parameter quitting from the
102 variable.
103 (mips_linux_close): Remove parameter quitting. Remove parameter
104 quitting from a caller.
105 * monitor.c (monitor_close): Remove parameter quitting.
106 * monitor.h (monitor_close): Likewise.
107 * record-btrace.c (record_btrace_close): Likewise.
108 * record-full.c (record_full_close): Likewise.
109 * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
110 it also from fprintf_unfiltered.
111 * remote-mips.c (mips_close): Remove parameter quitting.
112 (mips_detach): Remove parameter quitting from a caller.
113 * remote-sim.c (gdbsim_close): Remove parameter quitting.
114 (gdbsim_close): Remove duplicate function comment. Remove parameter
115 quitting and remove it also from printf_filtered.
116 * remote.c (remote_close): Remove parameter quitting.
117 * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
118 * target.c (update_current_target): Remove parameter int from to_close
119 de_fault.
120 (push_target, unpush_target, pop_target): Remove parameter quitting from
121 a caller.
122 (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
123 Remove parameter quitting from a caller.
124 (target_preopen): Remove parameter quitting from a caller.
125 (target_close): Remove parameter quitting. Remove parameter quitting
126 from a caller two times. Remove parameter quitting also from
127 fprintf_unfiltered.
128 * target.h (struct target_ops): Remove parameter quitting and as int
129 from fields to_xclose and to_close.
130 (extern struct target_ops current_target):
131 (target_close, pop_all_targets): Remove parameter quitting. Update the
132 comment.
133 (pop_all_targets_above): Remove parameter quitting.
134 * top.c (quit_target): Remove parameter quitting from a caller.
135 * tracepoint.c (tfile_close): Remove parameter quitting.
136 * windows-nat.c (windows_close): Remove parameter quitting.
137
138 2013-03-20 Corinna Vinschen <vinschen@redhat.com>
139
140 * windows-nat.c (handle_output_debug_string): Replace call
141 to string_to_core_addr with call to strtoull.
142
143 2013-03-20 Yao Qi <yao@codesourcery.com>
144
145 * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
146 and write it to CTF metadata.
147
148 2013-03-19 Corinna Vinschen <vinschen@redhat.com>
149
150 * windows-nat.c (handle_output_debug_string): Change type of n to
151 SIZE_T to avoid crash on 64 bit systems.
152
153 2013-03-17 Eli Zaretskii <eliz@gnu.org>
154
155 * python/python-internal.h (HAVE_SNPRINTF)
156 [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
157 about redefinition of snprintf by pyerrors.h.
158
159 2013-03-15 Steve Ellcey <sellcey@mips.com>
160
161 * remote-sim.c (sim_command_completer): Make char arguments const.
162
163 2013-03-15 Tom Tromey <tromey@redhat.com>
164
165 PR c++/15116:
166 * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
167
168 2013-03-14 Tom Tromey <tromey@redhat.com>
169
170 * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
171 New fields.
172 (get_file_crc): Move from symfile.c.
173 (gdb_bfd_crc): New function.
174 * gdb_bfd.h (gdb_bfd_crc): Declare.
175 * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
176 * symfile.c (get_file_crc): Move to gdb_bfd.c.
177 (separate_debug_file_exists): Use gdb_bfd_crc.
178
179 2013-03-14 Tom Tromey <tromey@redhat.com>
180
181 * symfile.c (get_debug_link_info): Remove.
182 (find_separate_debug_file_by_debuglink): Use
183 bfd_get_debug_link_info.
184
185 2013-03-14 Tom Tromey <tromey@redhat.com>
186
187 * symtab.c (error_in_psymtab_expansion): New function.
188 (lookup_symbol_aux_quick)
189 (basic_lookup_transparent_type_quick): Remove "last resort"
190 code. Use error_in_psymtab_expansion.
191
192 2013-03-14 Doug Evans <dje@google.com>
193 Jan Kratochvil <jan.kratochvil@redhat.com>
194
195 * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
196 any successful compare_filenames_for_search or FILENAME_CMP.
197 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
198 * symtab.c (iterate_over_some_symtabs): Likewise.
199
200 2013-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 * source.c (print_source_lines_base): Make a local copy of
203 symtab_to_fullname.
204
205 2013-03-14 Hui Zhu <hui_zhu@mentor.com>
206 Jan Kratochvil <jan.kratochvil@redhat.com>
207
208 * source.c (print_source_lines_base): Suppress "file" for TUI.
209
210 2013-03-14 Keith Seitz <keiths@redhat.com>
211 Alan Matsuoka <alanm@redhat.com>
212
213 PR c++/15203
214 PR c++/15210
215 * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
216 TYPE_CODE_METHOD.
217 * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
218 symbols.
219
220 2013-03-14 Yao Qi <yao@codesourcery.com>
221
222 * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
223 status to tfile if trace is stopped by command 'tstop'.
224
225 2013-03-14 Yao Qi <yao@codesourcery.com>
226
227 * tracepoint.c (tfile_write_status): Write trace notes and user
228 name into tfile if they are not NULL.
229
230 2013-03-14 Hui Zhu <hui@codesourcery.com>
231 Yao Qi <yao@codesourcery.com>
232
233 * Makefile.in (REMOTE_OBS): Add ctf.o.
234 (SFILES): Add ctf.c.
235 (HFILES_NO_SRCDIR): Add ctf.h.
236 * ctf.c, ctf.h: New files.
237 * tracepoint.c: Include 'ctf.h'.
238 (collect_pseudocommand): Remove static.
239 (trace_save_command): Parse option "-ctf".
240 Produce different trace file writers per option.
241 Adjust output message.
242 (trace_save_tfile, trace_save_ctf): New.
243 * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
244 * mi/mi-main.c: Include 'ctf.h'.
245 (mi_cmd_trace_save): Handle option '-ctf'. Call either
246 trace_save_tfile or trace_save_ctf.
247 * NEWS: Mention these changes.
248
249 2013-03-14 Yao Qi <yao@codesourcery.com>
250
251 * tracepoint.c (trace_file_writer_xfree): New.
252 (struct tfile_writer_data): New.
253 (tfile_dtor, tfile_can_target_save, tfile_start): New.
254 (tfile_write_header, tfile_write_regblock_type): New.
255 (tfile_write_status, tfile_write_uploaded_tsv): New.
256 (tfile_write_uploaded_tp, tfile_write_definition_end): New.
257 (tfile_write_raw_data, (tfile_end): New.
258 (tfile_write_ops): New global variable.
259 (TRACE_WRITE_R_BLOCK): New macro.
260 (TRACE_WRITE_M_BLOCK_HEADER): New macro.
261 (TRACE_WRITE_M_BLOCK_MEMORY): New macro.
262 (TRACE_WRITE_V_BLOCK): New macro.
263 (trace_save): Add extra one parameter WRITER. Make it static.
264 Use WRITER to writer trace.
265 (tfile_trace_file_writer_new): New.
266 (trace_save_command): Caller update.
267 (trace_save_tfile): Write trace data in TFILE format.
268 * tracepoint.h (struct trace_frame_write_ops): New.
269 (struct trace_file_write_ops): New.
270 (struct trace_file_writer): New.
271 (trace_save): Remove its declaration.
272 (trace_save_tfile): Declare it.
273 * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile
274 instead of trace_save.
275
276 2013-03-13 Pedro Alves <palves@redhat.com>
277
278 * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static.
279
280 2013-03-13 Pedro Alves <palves@redhat.com>
281
282 * dbxread.c (read_ofile_symtab, process_one_symbol): Remove
283 commented out code.
284 * demangle.c (current_demangling_style_string): Make it const.
285 (set_demangling_command): Assert the demangling style is known.
286 Remove all handling of unknown styles. Set
287 'current_demangling_style_string' to an element of the
288 demangling_style_names array.
289 (set_demangling_style): Delete.
290 (_initialize_demangler): Set current_demangling_style_string to the
291 element of the demangling_style_names array that corresponds to
292 the default demangling style. Remove FIXME note. Don't call
293 set_demangling_style.
294 * gdb-demangle.h (set_demangling_style): Remove declaration.
295
296 2013-03-13 Pedro Alves <palves@redhat.com>
297
298 * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make
299 fields const.
300 (ada_make_symbol_completion_list): Make "text0" parameter const.
301 * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const.
302 * breakpoint.c (condition_completer): Make "text" and "word"
303 parameters const. Adjust.
304 (check_tracepoint_command): Adjust to validate_actionline
305 prototype change.
306 (catch_syscall_completer): Make "text" and "word" parameters
307 const.
308 * cli/cli-cmds.c (show_user): Make "comname" local const.
309 (valid_command_p): Make "command" parameter const.
310 (alias_command): Make "alias_prefix" and "command_prefix" locals
311 const.
312 * cli/cli-decode.c (add_cmd): Make "name" parameter const.
313 (add_alias_cmd): Make "name" and "oldname" parameters const.
314 Adjust. No longer make copy of OLDNAME.
315 (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd)
316 (add_setshow_cmd_full, add_setshow_enum_cmd)
317 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
318 (add_setshow_filename_cmd, add_setshow_string_cmd)
319 (add_setshow_string_noescape_cmd)
320 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
321 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
322 (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd)
323 (delete_cmd, add_info, add_info_alias, add_com, add_com_alias):
324 Make "name" parameter const.
325 (help_cmd): Rename "command" parameter to "arg". New const local
326 "command".
327 (find_cmd): Make "command" parameter const.
328 (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to
329 deprecated_cmd_warning prototype change.
330 (undef_cmd_error): Make "cmdtype" parameter const.
331 (lookup_cmd): Make "line" parameter const.
332 (deprecated_cmd_warning): Change type of "text" parameter to
333 pointer to const char, from pointer to pointer to char. Adjust.
334 (lookup_cmd_composition): Make "text" parameter const.
335 (complete_on_cmdlist, complete_on_enum): Make "text" and "word"
336 parameters const.
337 * cli/cli-decode.h (struct cmd_list_element) <name>: Make field
338 const.
339 * cli/cli-script.c (validate_comname): Make "tem" local const.
340 (define_command): New const local "tem_c". Use it in calls to
341 lookup_cmd.
342 (document_command): Make "tem" and "comfull" locals const.
343 (show_user_1): Make "prefix" and "name" parameters const.
344 * cli-script.h (show_user_1): Make "prefix" and "name" parameters
345 const.
346 * command.h (add_cmd, add_alias_cmd, add_prefix_cmd)
347 (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1)
348 (deprecated_cmd_warning, lookup_cmd_composition, add_com)
349 (add_com_alias, add_info, add_info_alias, complete_on_cmdlist)
350 (complete_on_enum, add_setshow_enum_cmd)
351 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
352 (add_setshow_filename_cmd, add_setshow_string_cmd)
353 (add_setshow_string_noescape_cmd)
354 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
355 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
356 (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
357 Change prototypes, constifying strings.
358 * completer.c (noop_completer, filename_completer): Make "text"
359 and "prefix" parameters const.
360 (location_completer, expression_completer)
361 (complete_line_internal): Make "text" and "prefix" parameters
362 const and adjust.
363 (command_completer, signal_completer): Make "text" and "prefix"
364 parameters const.
365 * completer.h (noop_completer, filename_completer)
366 (expression_completer, location_completer, command_completer)
367 (signal_completer): Change prototypes.
368 * corefile.c (complete_set_gnutarget): Make "text" and "word"
369 parameters const.
370 * cp-abi.c (cp_abi_completer): Likewise.
371 * expression.h (parse_expression_for_completion): Change
372 prototype.
373 * f-lang.c (f_make_symbol_completion_list): Make "text" and "word"
374 parameters const.
375 * infcmd.c (_initialize_infcmd): Make "cmd_name" local const.
376 * infrun.c (handle_completer): Make "text" and "word" parameters
377 const.
378 * interps.c (interpreter_completer): Make "text" and "word"
379 parameters const.
380 * language.h (struct language_defn)
381 <la_make_symbol_completion_list>: Make "text" and "word"
382 parameters const.
383 * parse.c (parse_exp_1): Move const hack to parse_exp_in_context.
384 (parse_exp_in_context): Rename to ...
385 (parse_exp_in_context_1): ... this.
386 (parse_exp_in_context): Reimplement, with const hack from
387 parse_exp_1.
388 (parse_expression_for_completion): Make "string" parameter const.
389 * printcmd.c (decode_format): Make "string_ptr" parameter pointer
390 to pointer to const char. Adjust.
391 (print_command_1): Make "exp" parameter const.
392 (output_command): Rename to ...
393 (output_command_const): ... this. Make "exp" parameter const.
394 (output_command): Reimplement.
395 (x_command): Adjust.
396 (display_command): Rename "exp" parameter to "arg". New "exp"
397 local, const version of "arg".
398 * python/py-auto-load.c (gdbpy_initialize_auto_load): Make
399 "cmd_name" local const.
400 * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree
401 call.
402 (cmdpy_completer): Make "text" and "word" parameters const.
403 (gdbpy_parse_command_name): Make "prefix_text2" local const.
404 * python/py-param.c (add_setshow_generic): Make "tmp_name" local
405 const.
406 * remote.c (_initialize_remote): Make "cmd_name" local const.
407 * symtab.c (language_search_unquoted_string): Make "text" and "p"
408 parameters const. Adjust.
409 (completion_list_add_fields): Make "sym_text", "text" and "word"
410 parameters const.
411 (struct add_name_data) <sym_text, text, word>: Make fields const.
412 (default_make_symbol_completion_list_break_on): Make "text" and
413 "word" parameters const. Adjust locals.
414 (default_make_symbol_completion_list)
415 (make_symbol_completion_list, make_symbol_completion_type)
416 (make_symbol_completion_list_fn): Make "text" and "word"
417 parameters const.
418 (make_file_symbol_completion_list): Make "text", "word" and
419 "srcfile" parameters const. Adjust locals.
420 (add_filename_to_list): Make "text" and "word" parameters const.
421 (struct add_partial_filename_data) <text, word>: Make fields
422 const.
423 (make_source_files_completion_list): Make "text" and "word"
424 parameters const.
425 * symtab.h (default_make_symbol_completion_list_break_on)
426 (default_make_symbol_completion_list, make_symbol_completion_list)
427 (make_symbol_completion_type enum type_code)
428 (make_symbol_completion_list_fn make_file_symbol_completion_list)
429 (make_source_files_completion_list): Change prototype.
430 * top.c (execute_command): Adjust to pass pointer to pointer to
431 const char to lookup_cmd, and to deprecated_cmd_warning prototype
432 change.
433 (set_verbose): Make "cmdname" local const.
434 * tracepoint.c (decode_agent_options): Make "exp" parameter const,
435 and adjust.
436 (validate_actionline): Make "line" parameter a pointer to const
437 char, and adjust.
438 (encode_actions_1): Make "action_exp" local const, and adjust.
439 (encode_actions): Adjust.
440 (replace_comma): Delete.
441 (trace_dump_actions): Make "action_exp" and "next_comma" locals
442 const, and adjust. Don't frob the action string while splitting
443 it at commas. Instead, make a copy of each split substring in
444 turn.
445 (trace_dump_command): Adjust to validate_actionline prototype
446 change.
447 * tracepoint.h (decode_agent_options, decode_agent_options)
448 (encode_actions, validate_actionline): Change prototypes.
449 * valprint.h (output_command): Delete declaration.
450 (output_command_const): Declare.
451 * value.c (function_destroyer): Cast const away in xfree call.
452
453 2013-03-13 Pedro Alves <palves@redhat.com>
454
455 * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL
456 rather than casting 'const char * const *' to 'const char **'.
457 * ada-lex.l (processInt): Make "trailer" local const. Remove
458 'const char **' cast.
459 * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *'
460 locals, and use those as strtol output pointer, instead than doing
461 invalid casts to from 'const char **' to 'char **'.
462 (_initialize_demangle): Remove cast.
463 * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *'
464 locals, and use those as strtol output pointer, instead than doing
465 invalid casts to from 'const char **' to 'char **'.
466 * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**'
467 casts.
468 * stap-probe.c (stap_parse_register_operand)
469 (stap_parse_single_operand): Likewise.
470
471 2013-03-13 Yao Qi <yao@codesourcery.com>
472
473 * tracepoint.c (tfile_get_trace_state_variable_value): Look for
474 the last matched 'V' blcok in trace frame.
475
476 2013-03-12 Joel Brobecker <brobecker@adacore.com>
477
478 * NEWS: Create a new section for the next release branch.
479 Rename the section of the current branch, now that it has
480 been cut.
481
482 2013-03-12 Joel Brobecker <brobecker@adacore.com>
483
484 GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
485 * version.in: Bump version to 7.6.50.20130312-cvs.
486
487 2013-03-12 Keith Seitz <keiths@redhat.com>
488
489 * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
490 * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
491 Remove temporary copy of input string.
492 (mi_execute_command_wrapper): Make "cmd" const.
493 * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
494 * mi/mi-parse.c (mi_parse_argv): Make "args" const.
495 Use const strings.
496 (mi_parse): Make "cmd" const.
497 Use const strings.
498 * mi/mi-parse.h (mi_parse): Make "cmd" const.
499
500 2013-03-12 Keith Seitz <keiths@redhat.com>
501
502 * ada-lang.c (ada_read_renaming_var_value): Pass const
503 pointer to expression string to parse_exp_1.
504 (create_excep_cond_exprs): Likewise.
505 * ax-gdb.c (agent_eval_command_one): Likewise.
506 (maint_agent_printf_command): Likewise.
507 Constify much of the string handling/parsing.
508 * breakpoint.c (set_breakpoint_condition): Pass const
509 pointer to expression string to parse_exp_1.
510 (update_watchpoint): Likewise.
511 (parse_cmd_to_aexpr): Constify string handling.
512 Pass const pointer to parse_exp_1.
513 (init_breakpoint_sal): Pass const pointer to parse_exp_1.
514 (find_condition_and_thread): Likewise.
515 Make TOK const.
516 (watch_command_1): Make "arg" const.
517 Constify string handling.
518 Copy the expression string instead of changing the input
519 string.
520 (update_breakpoint_location): Pass const pointer to
521 parse_exp_1.
522 * eval.c (parse_and_eval_address): Make "exp" const.
523 (parse_to_comma_and_eval): Make "expp" const.
524 (parse_and_eval): Make "exp" const.
525 * expression.h (parse_expression): Make argument const.
526 (parse_exp_1): Make first argument const.
527 * findcmd.c (parse_find_args): Treat "args" as const.
528 * linespec.c (parse_linespec): Pass const pointer to
529 linespec_expression_to_pc.
530 (linespec_expression_to_pc): Make "exp_ptr" const.
531 * parse.c (parse_exp_1): Make "stringptr" const.
532 Make a copy of the expression to pass to parse_exp_in_context until
533 this whole interface can be constified.
534 (parse_expression): Make "string" const.
535 * printcmd.c (ui_printf): Treat "arg" as const.
536 Handle const strings.
537 * tracepoint.c (validate_actionline): Pass const pointer to
538 all calls to parse_exp_1.
539 (encode_actions_1): Likewise.
540 * value.h (parse_to_comma_and_eval): Make argument const.
541 (parse_and_eval_address): Likewise.
542 (parse_and_eval): Likewise.
543 * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
544 (varobj_set_value): Likewise.
545 * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
546 constify string handling.
547 Pass const pointers to parse_and_eval_address and
548 parse_to_comman_and_eval.
549 * cli/cli-utils.c (skip_to_space): Rename to ...
550 (skip_to_space_const): ... this. Handle const strings.
551 * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
552 skip_to_space_const.
553 (skip_to_space_const): Declare.
554 * common/format.c (parse_format_string): Make "arg" const.
555 Handle const strings.
556 * common/format.h (parse_format_string): Make "arg" const.
557 * gdbserver/ax.c (ax_printf): Make "format" const.
558 * python/python.c (gdbpy_parse_and_eval): Do not make a copy
559 of the expression string.
560
561 2013-03-12 Hui Zhu <hui@codesourcery.com>
562
563 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
564
565 2013-03-12 Yao Qi <yao@codesourcery.com>
566 Hui Zhu <hui@codesourcery.com>
567
568 * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
569 (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
570 DW_OP_deref_size.
571
572 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
573
574 * ada-lex.l (rules): Only recognize 'thread' as a
575 delimiter when followed by numerals, as for c-exp.y.
576 Use new rewind_to_char function to rewind the input for
577 expression-delimiting tokens.
578 (rewind_to_char): New function.
579
580 2013-03-11 Pedro Alves <palves@redhat.com>
581 Jan Kratochvil <jan.kratochvil@redhat.com>
582
583 * configure: Regenerate.
584 * configure.ac (check dynamic export flag): Link python test with
585 $PYTHON_LIBS.
586
587 2013-03-11 Doug Evans <dje@google.com>
588 Keith Seitz <keiths@redhat.com>
589
590 * linespec.c (find_linespec_symbols): Call find_function_symbols
591 first, and then call lookup_prefix_sym/find_method.
592
593 2013-03-11 Pedro Alves <palves@redhat.com>
594
595 * charset.c (convert_between_encodings): Don't cast between
596 different pointer to pointer types. Instead, make the 'inp' local
597 be of the type iconv expects.
598 (wchar_iterate): Don't cast between different pointer to pointer
599 types. Instead, use new pointer local of the type iconv expects.
600 * target.c (target_read_stralloc, target_fileio_read_stralloc):
601 Add new local of type char pointer, and use it to get a
602 char/string view of the byte buffer, instead of casting between
603 pointer to pointer types.
604
605 2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
606
607 * remote.c (remote_set_trace_buffer_size): Move != operator
608 to the start of next line to fix an ARI warning.
609
610 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
611
612 * NEWS: Add record changes.
613
614 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
615
616 * record-btrace.c (btrace_insn_history): Omit the pc prefix in
617 the instruction history disassembly.
618 * disasm.c (dump_insns): Omit the pc prefix, if requested.
619 * disasm.h (DISASSEMBLY_OMIT_PC): New.
620
621 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
622
623 * Makefile.in (SFILES): Add record-btrace.c
624 (COMMON_OBS): Add record-btrace.o
625 * record-btrace.c: New.
626 * objfiles.c: Include btrace.h.
627 (free_objfile): call btrace_free_objfile.
628
629 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
630
631 * target.c (target_call_history, target_call_history_from,
632 target_call_history_range): New.
633 * target.h (target_ops) <to_call_history, to_call_history_from,
634 to_call_history_range>: New fields.
635 (target_call_history, target_call_history_from,
636 target_call_history_range): New declaration.
637 * record.c (get_call_history_modifiers, cmd_record_call_history,
638 record_call_history_size): New.
639 (_initialize_record): Add the "record function-call-history" command.
640 Add "set/show record function-call-history-size" commands.
641 * record.h (record_print_flag): New.
642
643 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
644
645 * target.h (target_ops) <to_insn_history, to_insn_history_from,
646 to_insn_history_range>: New fields.
647 (target_insn_history): New.
648 (target_insn_history_from): New.
649 (target_insn_history_range): New.
650 * target.c (target_insn_history): New.
651 (target_insn_history_from): New.
652 (target_insn_history_range): New.
653 * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
654 (record_insn_history_size): New.
655 (get_insn_number): New.
656 (get_context_size): New.
657 (no_chunk): New.
658 (get_insn_history_modifiers): New.
659 (cmd_record_insn_history): New.
660 (_initialize_record): Add "set/show record instruction-history-size"
661 command. Add "record instruction-history" command.
662
663 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
664
665 * record.h (record_disconnect): New.
666 (record_detach): New.
667 (record_mourn_inferior): New.
668 (record_kill): New.
669 * record-full.c (record_disconnect, record_detach,
670 record_mourn_inferior, record_kill): Move to...
671 * record.c: ...here.
672 (DEBUG): New.
673 (record_stop): New.
674 (record_unpush): New.
675 (cmd_record_stop): Call record_stop. Replace unpush_target
676 call with record_unpush call.
677 (record_disconnect, record_detach): Assert that the target
678 is of record stratum. Call record_unpush, record_stop, and
679 DEBUG.
680 (record_mourn_inferior, record_kill): Assert that the target
681 is of record stratum. Call record_unpush and DEBUG.
682
683 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
684
685 * record-full.h, record-full.c (record_memory_query): Rename
686 to ...
687 (record_full_memory_query): ...this. Update all users.
688 (record_arch_list_add_reg): Rename to ...
689 (record_full_arch_list_add_reg): ...this. Update all users.
690 (record_arch_list_add_mem): Rename to ...
691 (record_full_arch_list_add_mem): ...this. Update all users.
692 (record_arch_list_add_end): Rename to ...
693 (record_full_arch_list_add_end): ...this. Update all users.
694 (record_gdb_operation_disable_set): Rename to ...
695 (record_full_gdb_operation_disable_set): ...this.
696 Update all users.
697
698 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
699
700 * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
701 (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
702 (RECORD_IS_REPLAY): Renamed to ...
703 (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
704 (RECORD_FILE_MAGIC): Renamed to ...
705 (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
706 (record_mem_entry): Renamed to ...
707 (record_full_mem_entry): ... this. Updated all users.
708 (record_reg_entry): Renamed to ...
709 (record_full_reg_entry): ... this. Updated all users.
710 (record_end_entry): Renamed to ...
711 (record_full_end_entry): ... this. Updated all users.
712 (record_type) <record_end, record_reg, record_mem>: Renamed
713 to ...
714 (record_full_type) <record_full_end, record_full_reg,
715 record_full_mem>: ... this. Updated all users.
716 (record_entry): Renamed to ...
717 (record_full_entry): ... this. Updated all users.
718 (record_core_buf_entry): Renamed to ...
719 (record_full_core_buf_entry): ... this. Updated all users.
720 (record_core_regbuf): Renamed to ...
721 (record_full_core_regbuf): ... this. Updated all users.
722 (record_core_start): Renamed to ...
723 (record_full_core_start): ... this. Updated all users.
724 (record_core_end): Renamed to ...
725 (record_full_core_end): ... this. Updated all users.
726 (record_core_buf_list): Renamed to ...
727 (record_full_core_buf_list): ... this. Updated all users.
728 (record_first): Renamed to ...
729 (record_full_first): ... this. Updated all users.
730 (record_list): Renamed to ...
731 (record_full_list): ... this. Updated all users.
732 (record_arch_list_head): Renamed to ...
733 (record_full_arch_list_head): ... this. Updated all users.
734 (record_arch_list_tail): Renamed to ...
735 (record_full_arch_list_tail): ... this. Updated all users.
736 (record_stop_at_limit): Renamed to ...
737 (record_full_stop_at_limit): ... this. Updated all users.
738 (record_insn_max_num): Renamed to ...
739 (record_full_insn_max_num): ... this. Updated all users.
740 (record_insn_num): Renamed to ...
741 (record_full_insn_num): ... this. Updated all users.
742 (record_insn_count): Renamed to ...
743 (record_full_insn_count): ... this. Updated all users.
744 (record_ops): Renamed to ...
745 (record_full_ops): ... this. Updated all users.
746 (record_core_ops): Renamed to ...
747 (record_full_core_ops): ... this. Updated all users.
748 (set_record_cmdlist): Renamed to ...
749 (set_record_full_cmdlist): ... this. Updated all users.
750 (show_record_cmdlist): Renamed to ...
751 (show_record_full_cmdlist): ... this. Updated all users.
752 (record_cmdlist): Renamed to ...
753 (record_full_cmdlist): ... this. Updated all users.
754 (record_beneath_to_resume_ops): Renamed to ...
755 (record_full_beneath_to_resume_ops): ... this. Updated all users.
756 (record_beneath_to_resume): Renamed to ...
757 (record_full_beneath_to_resume): ... this. Updated all users.
758 (record_beneath_to_wait_ops): Renamed to ...
759 (record_full_beneath_to_wait_ops): ... this. Updated all users.
760 (record_beneath_to_wait): Renamed to ...
761 (record_full_beneath_to_wait): ... this. Updated all users.
762 (record_beneath_to_store_registers_ops): Renamed to ...
763 (record_full_beneath_to_store_registers_ops): ... this.
764 Updated all users.
765 (record_beneath_to_store_registers): Renamed to ...
766 (record_full_beneath_to_store_registers): ... this.
767 Updated all users.
768 (record_beneath_to_xfer_partial_ops): Renamed to ...
769 (record_full_beneath_to_xfer_partial_ops): ... this.
770 Updated all users.
771 (record_beneath_to_xfer_partial): Renamed to ...
772 (record_full_beneath_to_xfer_partial): ... this.
773 Updated all users.
774 (record_beneath_to_insert_breakpoint): Renamed to ...
775 (record_full_beneath_to_insert_breakpoint): ... this.
776 Updated all users.
777 (record_beneath_to_stopped_by_watchpoint): Renamed to ...
778 (record_full_beneath_to_stopped_by_watchpoint): ... this.
779 Updated all users.
780 (record_beneath_to_stopped_data_address): Renamed to ...
781 (record_full_beneath_to_stopped_data_address): ... this.
782 Updated all users.
783 (record_beneath_to_async): Renamed to ...
784 (record_full_beneath_to_async): ... this. Updated all users.
785 (record_goto_insn): Renamed to ...
786 (record_full_goto_insn): ... this. Updated all users.
787 (record_save): Renamed to ...
788 (record_full_save): ... this. Updated all users.
789 (record_reg_alloc): Renamed to ...
790 (record_full_reg_alloc): ... this. Updated all users.
791 (record_reg_release): Renamed to ...
792 (record_full_reg_release): ... this. Updated all users.
793 (record_mem_alloc): Renamed to ...
794 (record_full_mem_alloc): ... this. Updated all users.
795 (record_mem_release): Renamed to ...
796 (record_full_mem_release): ... this. Updated all users.
797 (record_end_alloc): Renamed to ...
798 (record_full_end_alloc): ... this. Updated all users.
799 (record_end_release): Renamed to ...
800 (record_full_end_release): ... this. Updated all users.
801 (record_entry_release): Renamed to ...
802 (record_full_entry_release): ... this. Updated all users.
803 (record_list_release): Renamed to ...
804 (record_full_list_release): ... this. Updated all users.
805 (record_list_release_following): Renamed to ...
806 (record_full_list_release_following): ... this.
807 Updated all users.
808 (record_list_release_first): Renamed to ...
809 (record_full_list_release_first): ... this. Updated all users.
810 (record_arch_list_add): Renamed to ...
811 (record_full_arch_list_add): ... this. Updated all users.
812 (record_get_loc): Renamed to ...
813 (record_full_get_loc): ... this. Updated all users.
814 (record_check_insn_num): Renamed to ...
815 (record_full_check_insn_num): ... this. Updated all users.
816 (record_arch_list_cleanups): Renamed to ...
817 (record_full_arch_list_cleanups): ... this. Updated all users.
818 (record_message): Renamed to ...
819 (record_full_message): ... this. Updated all users.
820 (record_message_wrapper): Renamed to ...
821 (record_full_message_wrapper): ... this. Updated all users.
822 (record_message_wrapper_safe): Renamed to ...
823 (record_full_message_wrapper_safe): ... this. Updated all users.
824 (record_gdb_operation_disable): Renamed to ...
825 (record_full_gdb_operation_disable): ... this. Updated all users.
826 (record_hw_watchpoint): Renamed to ...
827 (record_full_hw_watchpoint): ... this. Updated all users.
828 (record_exec_insn): Renamed to ...
829 (record_full_exec_insn): ... this. Updated all users.
830 (record_restore): Renamed to ...
831 (record_full_restore): ... this. Updated all users.
832 (record_async_inferior_event_token): Renamed to ...
833 (record_full_async_inferior_event_token): ... this.
834 Updated all users.
835 (record_async_inferior_event_handler): Renamed to ...
836 (record_full_async_inferior_event_handler): ... this.
837 Updated all users.
838 (record_core_open_1): Renamed to ...
839 (record_full_core_open_1): ... this. Updated all users.
840 (record_open_1): Renamed to ...
841 (record_full_open_1): ... this. Updated all users.
842 (record_open): Renamed to ...
843 (record_full_open): ... this. Updated all users.
844 (record_close): Renamed to ...
845 (record_full_close): ... this. Updated all users.
846 (record_resume_step): Renamed to ...
847 (record_full_resume_step): ... this. Updated all users.
848 (record_resumed): Renamed to ...
849 (record_full_resumed): ... this. Updated all users.
850 (record_execution_dir): Renamed to ...
851 (record_full_execution_dir): ... this. Updated all users.
852 (record_resume): Renamed to ...
853 (record_full_resume): ... this. Updated all users.
854 (record_get_sig): Renamed to ...
855 (record_full_get_sig): ... this. Updated all users.
856 (record_sig_handler): Renamed to ...
857 (record_full_sig_handler): ... this. Updated all users.
858 (record_wait_cleanups): Renamed to ...
859 (record_full_wait_cleanups): ... this. Updated all users.
860 (record_wait_1): Renamed to ...
861 (record_full_wait_1): ... this. Updated all users.
862 (record_wait): Renamed to ...
863 (record_full_wait): ... this. Updated all users.
864 (record_stopped_by_watchpoint): Renamed to ...
865 (record_full_stopped_by_watchpoint): ... this. Updated all users.
866 (record_disconnect): Renamed to ...
867 (record_full_disconnect): ... this. Updated all users.
868 (record_detach): Renamed to ...
869 (record_full_detach): ... this. Updated all users.
870 (record_mourn_inferior): Renamed to ...
871 (record_full_mourn_inferior): ... this. Updated all users.
872 (record_kill): Renamed to ...
873 (record_full_kill): ... this. Updated all users.
874 (record_stopped_data_address): Renamed to ...
875 (record_full_stopped_data_address): ... this. Updated all users.
876 (record_registers_change): Renamed to ...
877 (record_full_registers_change): ... this. Updated all users.
878 (record_store_registers): Renamed to ...
879 (record_full_store_registers): ... this. Updated all users.
880 (record_xfer_partial): Renamed to ...
881 (record_full_xfer_partial): ... this. Updated all users.
882 (record_breakpoint): Renamed to ...
883 (record_full_breakpoint): ... this. Updated all users.
884 (record_breakpoint_p): Renamed to ...
885 (record_full_breakpoint_p): ... this. Updated all users.
886 (record_breakpoints): Renamed to ...
887 (record_full_breakpoints): ... this. Updated all users.
888 (record_sync_record_breakpoints): Renamed to ...
889 (record_full_sync_record_breakpoints): ... this.
890 Updated all users.
891 (record_init_record_breakpoints): Renamed to ...
892 (record_full_init_record_breakpoints): ... this.
893 Updated all users.
894 (record_insert_breakpoint): Renamed to ...
895 (record_full_insert_breakpoint): ... this. Updated all users.
896 (record_remove_breakpoint): Renamed to ...
897 (record_full_remove_breakpoint): ... this. Updated all users.
898 (record_can_execute_reverse): Renamed to ...
899 (record_full_can_execute_reverse): ... this. Updated all users.
900 (record_get_bookmark): Renamed to ...
901 (record_full_get_bookmark): ... this. Updated all users.
902 (record_goto_bookmark): Renamed to ...
903 (record_full_goto_bookmark): ... this. Updated all users.
904 (record_async): Renamed to ...
905 (record_full_async): ... this. Updated all users.
906 (record_can_async_p): Renamed to ...
907 (record_full_can_async_p): ... this. Updated all users.
908 (record_is_async_p): Renamed to ...
909 (record_full_is_async_p): ... this. Updated all users.
910 (record_execution_direction): Renamed to ...
911 (record_full_execution_direction): ... this. Updated all users.
912 (record_info): Renamed to ...
913 (record_full_info): ... this. Updated all users.
914 (record_delete): Renamed to ...
915 (record_full_delete): ... this. Updated all users.
916 (record_is_replaying): Renamed to ...
917 (record_full_is_replaying): ... this. Updated all users.
918 (record_goto_entry): Renamed to ...
919 (record_full_goto_entry): ... this. Updated all users.
920 (record_goto_begin): Renamed to ...
921 (record_full_goto_begin): ... this. Updated all users.
922 (record_goto_end): Renamed to ...
923 (record_full_goto_end): ... this. Updated all users.
924 (record_goto): Renamed to ...
925 (record_full_goto): ... this. Updated all users.
926 (init_record_ops): Renamed to ...
927 (init_record_full_ops): ... this. Updated all users.
928 (record_core_resume): Renamed to ...
929 (record_full_core_resume): ... this. Updated all users.
930 (record_core_kill): Renamed to ...
931 (record_full_core_kill): ... this. Updated all users.
932 (record_core_fetch_registers): Renamed to ...
933 (record_full_core_fetch_registers): ... this. Updated all users.
934 (record_core_prepare_to_store): Renamed to ...
935 (record_full_core_prepare_to_store): ... this. Updated all users.
936 (record_core_store_registers): Renamed to ...
937 (record_full_core_store_registers): ... this. Updated all users.
938 (record_core_xfer_partial): Renamed to ...
939 (record_full_core_xfer_partial): ... this. Updated all users.
940 (record_core_insert_breakpoint): Renamed to ...
941 (record_full_core_insert_breakpoint): ... this. Updated all users.
942 (record_core_remove_breakpoint): Renamed to ...
943 (record_full_core_remove_breakpoint): ... this. Updated all users.
944 (record_core_has_execution): Renamed to ...
945 (record_full_core_has_execution): ... this. Updated all users.
946 (init_record_core_ops): Renamed to ...
947 (init_record_full_core_ops): ... this. Updated all users.
948 (cmd_record_restore): Renamed to ...
949 (cmd_record_full_restore): ... this. Updated all users.
950 (record_save_cleanups): Renamed to ...
951 (record_full_save_cleanups): ... this. Updated all users.
952 (cmd_record_start): Renamed to ...
953 (cmd_record_full_start): ... this. Updated all users.
954 (set_record_insn_max_num): Renamed to ...
955 (set_record_full_insn_max_num): ... this. Updated all users.
956 (set_record_command): Renamed to ...
957 (set_record_full_command): ... this. Updated all users.
958 (show_record_command): Renamed to ...
959 (show_record_full_command): ... this. Updated all users.
960 (_initialize_record): Renamed to ...
961 (_initialize_record_full): ... this. Updated all users.
962
963 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
964
965 * record.h: Split into this and ...
966 * record-full.h: ... this.
967 * record.c: Split into this and ...
968 * record-full.c: ... this.
969 * target.h (target_ops): Add new fields to_info_record,
970 to_save_record, to_delete_record, to_record_is_replaying,
971 to_goto_record_begin, to_goto_record_end, to_goto_record.
972 (target_info_record): New.
973 (target_save_record): New.
974 (target_supports_delete_record): New.
975 (target_delete_record): New.
976 (target_record_is_replaying): New.
977 (target_goto_record_begin): New.
978 (target_goto_record_end): New.
979 (target_goto_record): New.
980 * target.c (target_info_record): New.
981 (target_save_record): New.
982 (target_supports_delete_record): New.
983 (target_delete_record): New.
984 (target_record_is_replaying): New.
985 (target_goto_record_begin): New.
986 (target_goto_record_end): New.
987 (target_goto_record): New.
988 * record.h: Declare struct cmd_list_element.
989 (record_cmdlist): New declaration.
990 (set_record_cmdlist): New declaration.
991 (show_record_cmdlist): New declaration.
992 (info_record_cmdlist): New declaration.
993 (cmd_record_goto): New declaration.
994 * record.c: Remove unnecessary includes.
995 Include inferior.h.
996 (cmd_record_goto): Remove declaration.
997 (record_cmdlist): Now extern. Initialize.
998 (set_record_cmdlist): Now extern. Initialize.
999 (show_record_cmdlist): Now extern. Initialize.
1000 (info_record_cmdlist): Now extern. Initialize.
1001 (find_record_target): New.
1002 (require_record_target): New.
1003 (cmd_record_start): Update.
1004 (cmd_record_delete): Remove target-specific code.
1005 Call target_delete_record.
1006 (cmd_record_stop): Unpush any record target.
1007 (set_record_insn_max_num): Move to record-full.c
1008 (set_record_command): Add comment.
1009 (show_record_command): Add comment.
1010 (info_record_command): Update comment.
1011 Remove target-specific code.
1012 Call the record target's to_info_record.
1013 (cmd_record_start): New.
1014 (cmd_record_goto): Now extern.
1015 Remove target-specific code.
1016 Call target_goto_begin, target_goto_end, or target_goto.
1017 (_initialize_record): Move record target ops initialization to
1018 record-full.c.
1019 Change "record" command help text.
1020 Move "record restore", "record set", and "record show" commands to
1021 record-full.c.
1022 * Makefile.in (SFILES): Add record-full.c.
1023 (HFILES_NO_SRCDIR): Add record-full.h.
1024 (COMMON_OBS): Add record-full.o.
1025 * amd64-linux-tdep.c: Include record-full.h instead of record.h.
1026 * arm-tdep.c: Include record-full.h.
1027 * i386-linux-tdep.c: Include record-full.h instead of record.h.
1028 * i386-tdep.c: Include record-full.h.
1029 * infrun.c: Include record-full.h.
1030 * linux-record.c: Include record-full.h.
1031 * moxie-tdep.c: Include record-full.h.
1032 * record-full.c: Include record-full.h.
1033 Change module comment.
1034 (set_record_full_cmdlist): New.
1035 (show_record_full_cmdlist): New.
1036 (record_full_cmdlist): New.
1037 (record_goto_insn): New declaration.
1038 (record_save): New declaration.
1039 (record_check_insn_num): Change query string.
1040 (record_info): New.
1041 (record_delete): New.
1042 (record_is_replaying): New.
1043 (record_goto_entry): New.
1044 (record_goto_begin): New.
1045 (record_goto_end): New.
1046 (record_goto): New.
1047 (init_record_ops): Update.
1048 (init_record_core_ops): Update.
1049 (cmd_record_save): Rename to record_save. Remove target and arg checks.
1050 (cmd_record_start): New.
1051 (set_record_insn_max_num): Moved from record.c
1052 (set_record_full_command): New.
1053 (show_record_full_command): New.
1054 (_initialize_record_full): New.
1055
1056 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1057
1058 * target.h (add_deprecated_target_alias): New.
1059 * target.c (add_deprecated_target_alias): New.
1060
1061 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1062
1063 * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
1064 and signal.h.
1065 (linux_supports_btrace): Add kernel and
1066 cpuid check.
1067 (kernel_supports_btrace): New function.
1068 (cpu_supports_btrace): New function.
1069 (intel_supports_btrace): New function.
1070
1071 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1072
1073 * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
1074 * remote.c: Include btrace.h.
1075 (struct btrace_target_info): New struct.
1076 (remote_supports_btrace): New function.
1077 (send_Qbtrace): New function.
1078 (remote_enable_btrace): New function.
1079 (remote_disable_btrace): New function.
1080 (remote_teardown_btrace): New function.
1081 (remote_read_btrace): New function.
1082 (init_remote_ops): Add btrace ops.
1083 (enum <unnamed>): Add btrace packets.
1084 (struct protocol_feature remote_protocol_features[]): Add btrace packets.
1085 (_initialize_remote): Add packet configuration for branch tracing.
1086
1087 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1088
1089 * features/btrace.dtd: New file.
1090 * Makefile.in (XMLFILES): Add btrace.dtd.
1091 * btrace.h (parse_xml_btrace): New declaration.
1092 * btrace.c: Include xml-support.h.
1093 (parse_xml_btrace): New function.
1094 (parse_xml_btrace_block): New function.
1095 (block_attributes): New struct.
1096 (btrace_attributes): New struct.
1097 (btrace_children): New struct.
1098 (btrace_elements): New struct.
1099
1100 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1101
1102 * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
1103 (amd64_linux_enable_btrace): New.
1104 (amd64_linux_disable_btrace): New.
1105 (amd64_linux_teardown_btrace): New.
1106 (_initialize_amd64_linux_nat): Initialize btrace ops.
1107 * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
1108 (i386_linux_enable_btrace): New.
1109 (i386_linux_disable_btrace): New.
1110 (i386_linux_teardown_btrace): New.
1111 (_initialize_i386_linux_nat): Initialize btrace ops.
1112 * config/i386/linux.mh: Add linux-btrace.o.
1113 * config/i386/linux64.mh: Add linux-btrace.o.
1114
1115 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1116
1117 * common/linux_btrace.h: New file.
1118 * common/linux_btrace.c: New file.
1119 * Makefile.in (SFILES): Add btrace.c.
1120 (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
1121 (COMMON_OBS): Add btrace.o.
1122 (linux-btrace.o): New rule.
1123
1124 2013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1125
1126 * target.h: Include btrace.h.
1127 (struct target_ops) <to_supports_btrace, to_enable_btrace,
1128 to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
1129 * target.c (target_supports_btrace): New function.
1130 (target_enable_btrace): New function.
1131 (target_disable_btrace): New function.
1132 (target_teardown_btrace): New function.
1133 (target_read_btrace): New function.
1134 * btrace.h: New file.
1135 * btrace.c: New file.
1136 * Makefile.in: Add btrace.c.
1137 * gdbthread.h: Include btrace.h.
1138 (struct thread_info): Add btrace field.
1139 * thread.c: Include btrace.h.
1140 (clear_thread_inferior_resources): Call target_teardown_btrace.
1141 * common/btrace-common.h: New file.
1142
1143 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
1146 for CHILD, ignore PTRACE_KILL errors, move the inner block variable
1147 kill_status to outer block.
1148
1149 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1150
1151 Fix entry-values if the callee called a noreturn function.
1152 * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
1153 get_frame_address_in_block. Add new comment.
1154
1155 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1156
1157 Fix entry-values in C++ across CUs.
1158 * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
1159 lookup_minimal_symbol. Add a comment.
1160 * dwarf2read.c
1161 (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
1162 DW_AT_linkage_name.
1163
1164 2013-03-08 Yao Qi <yao@codesourcery.com>
1165
1166 * tracepoint.c (_initialize_tracepoint): Indent the code.
1167
1168 2013-03-08 Pedro Alves <palves@redhat.com>
1169
1170 * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
1171 (parse_find_args, find_command): Change type of pattern buffer
1172 locals to 'gdb_byte *'.
1173
1174 2013-03-08 Stan Shebs <stan@codesourcery.com>
1175 Hafiz Abid Qadeer <abidh@codesourcery.com>
1176
1177 * NEWS: Mention set and show trace-buffer-size commands.
1178 Mention new packet.
1179 * target.h (struct target_ops): New method
1180 to_set_trace_buffer_size.
1181 (target_set_trace_buffer_size): New macro.
1182 * target.c (update_current_target): Set up new method.
1183 * tracepoint.c (trace_buffer_size): New global.
1184 (start_tracing): Send it to the target.
1185 (set_trace_buffer_size): New function.
1186 (_initialize_tracepoint): Add new setshow for trace-buffer-size.
1187 * remote.c (remote_set_trace_buffer_size): New function.
1188 (_initialize_remote): Use it.
1189 (QTBuffer:size) New remote command.
1190 (PACKET_QTBuffer_size): New enum.
1191 (remote_protocol_features): Add an entry for
1192 PACKET_QTBuffer_size.
1193
1194 2013-03-08 Tom Tromey <tromey@redhat.com>
1195
1196 * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
1197 variable.
1198
1199 2013-03-07 Pedro Alves <palves@redhat.com>
1200
1201 * target.c (target_read_stralloc, target_fileio_read_alloc):
1202 *Cast pointer to 'gdb_byte *' in target call.
1203
1204 2013-03-07 Pedro Alves <palves@redhat.com>
1205
1206 * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
1207 call.
1208
1209 2013-03-07 Keith Seitz <keiths@redhat.com>
1210
1211 * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
1212 (trace_pass_command): Likewise.
1213 * cli/cli-cmds.c: Include cli/cli-utils.h.
1214 (source_command): Use skip-spaces.
1215 (disassemble_command): Likewise.
1216 * findcmd.c: Include cli/cli-utils.h.
1217 (parse_find_args): Use skip_spaces.
1218 * go32-nat.c: Include cli/cli-utils.h.
1219 (go32_sldt): Use skip_spaces.
1220 (go32_sgdt): Likewise.
1221 (go32_sidt): Likewise.
1222 (go32_pde): Likewise.
1223 (go32_pte): Likewise.
1224 (go32_pte_for_address): Likewise.
1225 * infcmd.c: Include cli/cli-utils.h.
1226 (registers_info): Use skip_spaces.
1227 * linux-tdep.c (read_mapping): Use skip_spaces_const.
1228 (linux_info_proc): Likewise.
1229 * linux-thread-db.c: Include cli/cli-utils.h.
1230 (info_auto_load_libthread_db): Use skip_spaces_const.
1231 * m32r-rom.c: Include cli/cli-utils.h.
1232 (m32r_upload_command): Use skip_spaces.
1233 * maint.c: Include cli/cli-utils.h.
1234 (maintenance_translate_address): Use skip_spaces.
1235 * mi/mi-parse.c: Include cli/cli-utils.h.
1236 (mi_parse_argv): Use skip_spaces.
1237 (mi_parse): Likewise.
1238 * minsyms.c: Include cli/cli-utils.h.
1239 (msymbol_hash_iw): Use skip_spaces_const.
1240 * objc-lang.c: Include cli/cli-utils.h.
1241 (parse_selector): Use skip_spaces.
1242 (parse_method): Likewise.
1243 * python/python.c: Include cli/cli-utils.h.
1244 (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
1245 (python_command)[HAVE_PYTHON]: Likewise.
1246 (python_interactive_command)[!HAVE_PYTHON]: Likewise.
1247 * remote-m32r-sdi.c: Include cli/cli-utils.h.
1248 (m32r_load): Use skip_spaces.
1249 * serial.c: Include cli/cli-utils.h.
1250 (serial_open): Use skip_spaces_const.
1251 * stack.c: Include cli/cli-utils.h.
1252 (parse_frame_specification_1): Use skip_spaces_const.
1253 * symfile.c: Include cli/cli-utils.h.
1254 (set_ext_lang_command): Use skip_spaces.
1255 * symtab.c: Include cli/cli-utils.h.
1256 (rbreak_command): Use skip_spaces.
1257 * thread.c (thread_name_command): Use skip_spaces.
1258 * tracepoint.c (validate_actionline): Use skip_spaces.
1259 (encode_actions_1): Likewise.
1260 (trace_find_range_command): Likewise.
1261 (trace_find_outside_command): Likewise.
1262 (trace_dump_actions): Likewise.
1263
1264 2013-03-07 Pedro Alves <palves@redhat.com>
1265
1266 * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
1267 * expprint.c (print_subexp_standard): Likewise.
1268 * utils.c (host_char_to_target): Likewise.
1269 * valprint.c (generic_emit_char, generic_printstr): Likewise.
1270 * varobj.c (value_get_print_value): Change type of local to char*.
1271 Cast it gdb_byte * in call to language printer.
1272
1273 2013-03-07 Pedro Alves <palves@redhat.com>
1274
1275 * charset.c (struct wchar_iterator) <input>: Change type to 'const
1276 gdb_byte *'.
1277 (make_wchar_iterator): Remove cast to char*.
1278 (wchar_iterate): Change type of local.
1279
1280 2013-03-07 Pedro Alves <palves@redhat.com>
1281
1282 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
1283 for 'regcache->register_status'.
1284
1285 2013-03-07 Pedro Alves <palves@redhat.com>
1286
1287 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
1288 int.
1289
1290 2013-03-07 Pedro Alves <palves@redhat.com>
1291
1292 * stap-probe.c (handle_stap_probe): Add cast to char*.
1293
1294 2013-03-07 Pedro Alves <palves@redhat.com>
1295
1296 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
1297 RECORD_MSGRCV>: Pass a signed variable to
1298 regcache_raw_read_signed, instead of an unsigned one.
1299
1300 2013-03-07 Pedro Alves <palves@redhat.com>
1301
1302 * remote-notif.c (notif_debug): Change type to int.
1303 * remote-notif.h (notif_debug): Likewise.
1304
1305 2013-03-07 Pedro Alves <palves@redhat.com>
1306
1307 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
1308
1309 2013-03-07 Pedro Alves <palves@redhat.com>
1310
1311 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
1312 * remote.h (hex2bin, bin2hex): ... here.
1313 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
1314
1315 2013-03-07 Eli Zaretskii <eliz@gnu.org>
1316
1317 * utils.c (initialize_utils): Improve doc strings of "set/show
1318 width", "set/show height", and "set/show pagination".
1319
1320 2013-03-06 Keith Seitz <keiths@redhat.com>
1321
1322 * ax-gdb.c (gen_printf): Make FORMAT const.
1323 * ax-gdb.h (gen_printf): Likewise.
1324 * ax-general.c (ax_string): Make STR const.
1325 * ax.h (ax_string): Likewise.
1326
1327 2013-03-06 Doug Evans <dje@google.com>
1328
1329 * elfread.c (elf_symfile_read): Move debugging printf to more
1330 logical location.
1331
1332 2013-03-06 Pedro Alves <palves@redhat.com>
1333
1334 * python/py-utils.c (target_string_to_unicode): Delete function.
1335 * python/python-internal.h (target_string_to_unicode): Delete
1336 declaration.
1337
1338 2013-03-06 Pierre Muller <muller@sourceware.org>
1339
1340 * linespec.c (get_current_search_block): ARI fix, use (void)
1341 for empty parameter list.
1342
1343 2013-03-05 Doug Evans <dje@google.com>
1344
1345 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
1346 of old ada_lookup_symbol_list. In !full_search case, don't
1347 search superblocks.
1348 (ada_lookup_symbol_list): Delete arg full_search, all callers
1349 updated. Call ada_lookup_symbol_list_worker.
1350 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
1351 * ada-lang.h (ada_lookup_symbol_list): Update.
1352 * language.h (language_defn): Update comment for
1353 la_iterate_over_symbols.
1354 * linespec.c (iterate_over_file_blocks): New function.
1355 (iterate_over_all_matching_symtabs): Call it.
1356 (lookup_prefix_sym): Ditto.
1357 (get_current_search_block): New function.
1358 (get_search_block): Delete.
1359 (find_label_symbols): Call get_current_search_block.
1360 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
1361 * symtab.c (iterate_over_symbols): Don't search superblocks.
1362
1363 2013-03-05 Yao Qi <yao@codesourcery.com>
1364
1365 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
1366 parameter VAR's type from "unsigned int" to "int".
1367 * command.h (var_zuinteger_unlimited): Update its comments.
1368 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
1369
1370 2013-03-05 Corinna Vinschen <vinschen@redhat.de>
1371
1372 * NEWS: Mention new target x86_64-*-cygwin*.
1373
1374 2013-03-05 Corinna Vinschen <vinschen@redhat.de>
1375
1376 * configure.host: Add x86_64-*-cygwin* as host.
1377 * configure.tgt: Add x86_64-*-cygwin* as target.
1378 * config/i386/cygwin64.mh: New file.
1379
1380 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * linespec.c (decode_line_2): Fix duplicate request off by two message.
1383
1384 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1385
1386 * linespec.c (struct linespec_canonical_name): New.
1387 (struct linespec_state): Change canonical_names type to it.
1388 (add_sal_to_sals): Change variable canonical_name to canonical. Change
1389 xrealloc element size. Initialize the different CANONICAL fields.
1390 (canonical_to_fullform): New.
1391 (filter_results): Use it. Add variables canonical, fullform and
1392 cleanup.
1393 (struct decode_line_2_item, decode_line_2_compare_items): New.
1394 (decode_line_2): Remove variables iter and item_names, add variables
1395 items and items_count. Modify the code for these new variables.
1396
1397 2013-03-04 Corinna Vinschen <vinschen@redhat.com>
1398
1399 * coff-pe-read.c (read_pe_exported_syms): Don't return without
1400 calling do_cleanup.
1401
1402 2013-03-04 Luis Machado <lgustavo@codesourcery.com>
1403
1404 * tracepoint.c (build_traceframe_info): Add code for byte order.
1405
1406 2013-03-02 Kevin Buettner <kevinb@redhat.com>
1407
1408 * v850-tdep.c: (v850e2_register_name): Revise system register
1409 names to match current V850E2M architecture specifications.
1410 Update register number enum comments too.
1411
1412 2013-03-01 Jiong Wang <jiwang@tilera.com>
1413 Pedro Alves <palves@redhat.com>
1414
1415 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
1416 to END_ADDR.
1417 (tilegx_skip_prologue): Limit prologue analysis to section end.
1418
1419 2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1420
1421 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
1422 use it.
1423
1424 2013-03-01 Pedro Alves <palves@redhat.com>
1425
1426 Use gdb_byte for bytes from the program being debugged.
1427
1428 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
1429 Change type of local 'buf' to gdb_byte.
1430 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
1431 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
1432 * cris-tdep.c (cris_sigcontext_addr)
1433 (cris_sigtramp_frame_unwind_cache): Likewise.
1434 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
1435 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
1436 Likewise.
1437 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
1438 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
1439 (hppa32_hpux_search_dummy_call_sequence)
1440 (hppa_hpux_supply_save_state): Likewise.
1441 * hppa-linux-tdep.c (insns_match_pattern)
1442 (hppa_linux_find_global_pointer): Likewise.
1443 * hppa-tdep.c (hppa_in_function_epilogue_p)
1444 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
1445 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
1446 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
1447 (i386fbsd_collect_uthread): Likewise.
1448 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
1449 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
1450 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
1451 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
1452 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
1453 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
1454 (ia64_libunwind_frame_prev_register)
1455 (ia64_libunwind_sigtramp_frame_this_id)
1456 (ia64_find_global_pointer_from_dynamic_section)
1457 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
1458 (ia64_unwind_pc): Likewise.
1459 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
1460 * m68hc11-tdep.c (m68hc11_push_dummy_call)
1461 (m68hc11_extract_return_value): Likewise.
1462 * m68klinux-nat.c (fetch_register, store_register): Likewise.
1463 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
1464 (mep_get_insn, mep_push_dummy_call): Likewise.
1465 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
1466 (mips_linux_in_dynsym_stub): Likewise.
1467 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
1468 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
1469 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
1470 to gdb_byte.
1471 * remote-mips.c (mips_set_register): Likewise.
1472 * remote-sim.c (gdbsim_fetch_register): Likewise.
1473 * score-tdep.c (score7_fetch_inst): Change type of parameter
1474 'memblock' and local 'buf' to gdb_byte.
1475 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
1476 Change type of local 'buf' to gdb_byte. Adjust.
1477 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
1478 to gdb_byte**.
1479 (score7_analyze_prologue): Change type of 'memblock' and
1480 'memblock_ptr' locals to gdb_byte*.
1481 * sh64-tdep.c (sh64_extract_return_value)
1482 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
1483 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
1484 * solib-pa64.c (pa64_solib_create_inferior_hook)
1485 (pa64_open_symbol_file_object): Remove local 'buf'.
1486 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
1487 (som_open_symbol_file_object): Likewise.
1488 * solib-spu.c (spu_current_sos): Likewise.
1489 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
1490 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
1491 (spu_store_registers): Likewise.
1492 * target.c (debug_print_register): Likewise.
1493 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
1494 * xstormy16-tdep.c (xstormy16_store_return_value)
1495 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
1496 (xstormy16_find_jmp_table_entry): Likewise.
1497
1498 2013-03-01 Jiong Wang <jiwang@tilera.com>
1499
1500 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
1501 (tilegx_gdbarch_init): Install it.
1502
1503 2013-02-28 Tom Tromey <tromey@redhat.com>
1504
1505 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
1506 PyLong_Check.
1507
1508 2013-02-28 Doug Evans <dje@google.com>
1509
1510 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
1511 * python/python.c (gdbpy_find_pc_line): Ditto.
1512
1513 2013-02-28 Tom Tromey <tromey@redhat.com>
1514
1515 * contrib/excheck.py: New file.
1516 * contrib/exsummary.py: New file.
1517 * contrib/gcc-with-excheck: New file.
1518
1519 2013-02-28 Tom Tromey <tromey@redhat.com>
1520
1521 * python/python.c (gdbpy_print_stack): Call begin_line and
1522 fprintf_filtered inside TRY_CATCH.
1523
1524 2013-02-28 Tom Tromey <tromey@redhat.com>
1525
1526 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
1527 inside TRY_CATCH.
1528
1529 2013-02-28 Tom Tromey <tromey@redhat.com>
1530
1531 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
1532 frame_object_to_frame_info inside TRY_CATCH.
1533
1534 2013-02-28 Tom Tromey <tromey@redhat.com>
1535
1536 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
1537 TRY_CATCH.
1538
1539 2013-02-28 Tom Tromey <tromey@redhat.com>
1540
1541 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
1542
1543 2013-02-27 Corinna Vinschen <vinschen@redhat.com>
1544
1545 * windows-nat.c: Throughout, fix format strings and casts of
1546 printf-like functions to avoid type related warnings on all
1547 platforms.
1548 (handle_output_debug_string): Fetch context information address
1549 from debug string using string_to_core_addr.
1550
1551 2013-02-27 Jiong Wang <jiwang@tilera.com>
1552
1553 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
1554 * regformats/reg-tilegx32.dat: New.
1555
1556 2013-02-27 Jiong Wang <jiwang@tilera.com>
1557
1558 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
1559
1560 2013-02-27 Jiong Wang <jiwang@tilera.com>
1561
1562 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
1563
1564 2013-02-27 Yao Qi <yao@codesourcery.com>
1565 Pedro Alves <palves@redhat.com>
1566
1567 * tracepoint.c (tfile_trace_find): For tfind
1568 pc/tp/range/outside, look for the next trace frame instead of
1569 always starting from frame 0.
1570
1571 2013-02-26 Anthony Green <green@moxielogic.com>
1572
1573 * configure.tgt: Add support for moxie-*-rtems* target.
1574
1575 2013-02-25 Pedro Alves <palves@redhat.com>
1576
1577 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
1578 warning text.
1579
1580 2013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
1581
1582 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
1583 if $fp is used as the virtual frame pointer.
1584
1585 2013-02-23 Alan Modra <amodra@gmail.com>
1586
1587 * elfread.c (elf_symtab_read): Do not use udata.p here to find
1588 symbol size.
1589 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
1590 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
1591 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
1592 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
1593
1594 2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1595
1596 Code cleanup.
1597 * elfread.c (build_id_bfd_get): Make the return type const.
1598 (build_id_verify): Make the check parameter const.
1599 (build_id_to_debug_filename): Make the build_id parameter and variable
1600 data const.
1601 (find_separate_debug_file_by_buildid): Make the variable build_id const.
1602
1603 2013-02-21 Alan Modra <amodra@gmail.com>
1604
1605 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
1606
1607 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1608
1609 Add a new method 'disassemble' to gdb.Architecture class.
1610 * python/py-arch.c (archpy_disassmble): Implementation of the
1611 new method gdb.Architecture.disassemble.
1612 (arch_object_methods): Add entry for the new method.
1613
1614 2013-02-20 Jiong Wang <jiwang@tilera.com>
1615
1616 * MAINTAINERS (Write After Approval): Add myself to the list.
1617
1618 2013-02-19 Pedro Alves <palves@redhat.com>
1619
1620 Garbage collect 'struct monitor_ops'::load_routine.
1621
1622 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
1623 * monitor.c (monitor_load): No longer call
1624 current_monitor->load_routine.
1625 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
1626 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
1627 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
1628
1629 2013-02-19 Pedro Alves <palves@redhat.com>
1630
1631 PR gdb/15161
1632
1633 Harmonize with generic_load.
1634
1635 * monitor.c: Include "readline/readline.h".
1636 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
1637 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
1638 long/strtol for the 'load_offset' local. Error out if no argument
1639 is given or if too many arguments are given. Tilde expand the
1640 passed in file name.
1641
1642 2013-02-19 Kai Tietz <ktietz@redhat.com>
1643
1644 PR gdb/15161
1645 * symfile.c (load_section_data): Change type of load_offset
1646 to CORE_ADDR.
1647 (generic_load): User strtoulst instead of strtoul for conversion
1648 of load_offset.
1649
1650 2013-02-19 Jiong Wang <jiwang@tilera.com>
1651
1652 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
1653 for return address, "lr" register, saved on stack.
1654 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
1655 after we invoke tilegx_analyze_prologue.
1656
1657 2013-02-19 Jiong Wang <jiwang@tilera.com>
1658
1659 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
1660
1661 2013-02-19 Jiong Wang <jiwang@tilera.com>
1662
1663 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
1664
1665 2013-02-19 Jiong Wang <jiwang@tilera.com>
1666
1667 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
1668 (tilegx_write_pc): New function.
1669 (tilegx_cannot_reference_register): Return zero if REGNO
1670 is TILEGX_FAULTNUM_REGNUM.
1671 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
1672 (tilegx_register_name): Add handling of "faultnum" register.
1673 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
1674 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
1675 handling of TILEGX_FAULTNUM_REGNUM.
1676 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
1677
1678 2013-02-19 Jiong Wang <jiwang@tilera.com>
1679
1680 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
1681 should be aligned to 64bit.
1682
1683 2013-02-19 Kai Tietz <ktietz@redhat.com>
1684
1685 * windows-nat.c (windows_xfer_memory): Fix debug-output
1686 for LLP64.
1687
1688 2013-02-19 Lei Liu <lei.liu2@windriver.com>
1689
1690 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
1691 Don't check DSP register number if HAVE_DSP is not set.
1692
1693 2013-02-19 Alan Modra <amodra@gmail.com>
1694
1695 * elfread.c (struct build_id): Delete. Use struct elf_build_id
1696 throughout file instead.
1697 (build_id_bfd_get): Update to use new elf_tdata build_id field.
1698 Don't xmalloc return value.
1699 (build_id_verify): Similarly. Don't xfree.
1700 (build_id_to_debug_filename): Update.
1701 (find_separate_debug_file_by_buildid): Update, don't xfree.
1702
1703 2013-02-18 Tom Tromey <tromey@redhat.com>
1704
1705 PR gdb/15102:
1706 * dwarf2read.c (read_subrange_type): Use result of
1707 'check_typedef'.
1708
1709 2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com>
1710
1711 * frame.c: Remove one extra white space after #include
1712 directive.
1713
1714 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1715
1716 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
1717
1718 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1719
1720 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
1721 and dir commands into an if block.
1722
1723 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
1724
1725 * python/py-breakpoint (struct pybp_code): Use int instead of
1726 enum type_code.
1727
1728 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1729 Hafiz Abid Qadeer <abidh@codesourcery.com>
1730
1731 * NEWS: Mention new field "trace-file".
1732 * tracepoint.c (trace_status_mi): Output "trace-file" field.
1733 (tfile_open): Record the trace file's filename in the trace
1734 status.
1735 (tfile_files_info): Mention the name of the trace file.
1736 Check the "filename" field explicitely.
1737 (trace_status_command): Explicitely check "filename" field.
1738 (trace_find_command): Ditto.
1739 (trace_find_pc_command): Ditto.
1740 (trace_find_tracepoint_command): Ditto.
1741 (trace_find_line_command): Ditto.
1742 (trace_find_range_command): Ditto.
1743 (trace_find_outside_command): Ditto.
1744 * tracepoint.h (struct trace_status) <from_file>: Rename it
1745 to "filename" and make it hold the trace file's filename
1746 instead of a boolean.
1747 * remote.c (remote_get_trace_status): Initialize "filename"
1748 field with NULL instead of 0.
1749
1750 2013-02-15 Yao Qi <yao@codesourcery.com>
1751
1752 * remote.c: Fix a typo.
1753
1754 2013-02-14 Pierre Muller <muller@sourceware.org>
1755
1756 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
1757
1758 2013-02-14 Pedro Alves <palves@redhat.com>
1759
1760 * utils.c (savestring): Don't #undef it. Move function to
1761 common/common-utils.c.
1762 * common/common-utils.c: Include gdb_string.h.
1763 (savestring): Move here from utils.c.
1764 * common/common-utils.h (savestring): Declare.
1765
1766 2013-02-14 Pedro Alves <palves@redhat.com>
1767
1768 * utils.c (savestring): Rename parameter 'size' to 'len'.
1769
1770 2013-02-14 Pedro Alves <palves@redhat.com>
1771 Yufeng Zhang <yufeng.zhang@arm.com>
1772
1773 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
1774 (aarch64_inferior_data, struct aarch64_inferior_data):
1775 Delete.
1776 (struct aarch64_process_info): New.
1777 (aarch64_process_list): New global.
1778 (aarch64_find_process_pid, aarch64_add_process)
1779 (aarch64_process_info_get): New functions.
1780 (aarch64_inferior_data_get): Delete.
1781 (aarch64_process_info_get): New function.
1782 (aarch64_forget_process): New function.
1783 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
1784 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
1785 aarch64_get_debug_reg_state.
1786 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
1787 instead of linux_nat_iterate_watchpoint_lwps.
1788 (aarch64_linux_new_fork): New function.
1789 (aarch64_linux_child_post_startup_inferior): Use
1790 aarch64_forget_process instead of aarch64_init_debug_reg_state.
1791 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
1792 (aarch64_linux_remove_hw_breakpoint)
1793 (aarch64_handle_aligned_watchpoint)
1794 (aarch64_handle_unaligned_watchpoint)
1795 (aarch64_linux_insert_watchpoint)
1796 (aarch64_linux_remove_watchpoint)
1797 (aarch64_linux_stopped_data_address): Adjust to pass the current
1798 process id to aarch64_debug_reg_state.
1799 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
1800 linux_nat_new_fork hook, and aarch64_forget_process as
1801 linux_nat_forget_process hook; remove the call to
1802 register_inferior_data_with_cleanup.
1803
1804 2013-02-14 Pedro Alves <palves@redhat.com>
1805
1806 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
1807 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
1808 lval_memory.
1809
1810 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1811 Hafiz Abid Qadeer <abidh@codesourcery.com>
1812
1813 * tracepoint.h (validate_trace_state_variable_name): Declare.
1814 * tracepoint.c (validate_trace_state_variable_name): New.
1815 (trace_variable_command): Parse the trace state variable's name
1816 without using parse_expression. Do several validations.
1817 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
1818 trace state variable's name with parse_expression. Validate it.
1819
1820 2013-02-14 Yao Qi <yao@codesourcery.com>
1821
1822 * infcmd.c (breakpoint_proceeded): Remove it.
1823
1824 2013-02-14 Yao Qi <yao@codesourcery.com>
1825
1826 * tracepoint.c (end_actions_pseudocommand): Make it static.
1827 (while_stepping_pseudocommand): Likewise.
1828 * tracepoint.h (end_actions_pseudocommand): Remove the
1829 declaration.
1830 (while_stepping_pseudocommand): Likewise.
1831
1832 2013-02-14 Yao Qi <yao@codesourcery.com>
1833
1834 * cli/cli-decode.c (help_cmd): Remove the declaration of
1835 "cmdlist".
1836 (help_all): Likewise.
1837
1838 2013-02-13 Pedro Alves <palves@redhat.com>
1839
1840 * amd64-linux-nat.c (update_debug_registers_callback):
1841 Update comment.
1842 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
1843 iterate_over_lwps.
1844 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
1845 i386_debug_reg_state.
1846 (amd64_linux_new_fork): New function.
1847 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
1848 linux_nat_new_fork hook, and i386_forget_process as
1849 linux_nat_forget_process hook.
1850 * i386-linux-nat.c (update_debug_registers_callback):
1851 Update comment.
1852 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
1853 iterate_over_lwps.
1854 (i386_linux_prepare_to_resume): Pass the lwp's pid to
1855 i386_debug_reg_state.
1856 (i386_linux_new_fork): New function.
1857 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
1858 linux_nat_new_fork hook, and i386_forget_process as
1859 linux_nat_forget_process hook.
1860 * i386-nat.c (i386_init_dregs): Delete.
1861 (i386_inferior_data, struct i386_inferior_data):
1862 Delete.
1863 (struct i386_process_info): New.
1864 (i386_process_list): New global.
1865 (i386_find_process_pid, i386_add_process, i386_process_info_get):
1866 New functions.
1867 (i386_inferior_data_get): Delete.
1868 (i386_process_info_get): New function.
1869 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
1870 (i386_forget_process): New function.
1871 (i386_cleanup_dregs): Rewrite.
1872 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
1873 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
1874 (i386_stopped_data_address, i386_insert_hw_breakpoint)
1875 (i386_remove_hw_breakpoint): Adjust to pass the current process id
1876 to i386_debug_reg_state.
1877 (i386_use_watchpoints): Don't register inferior data.
1878 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
1879 adjust comment.
1880 (i386_forget_process): Declare.
1881 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
1882 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
1883 New static globals.
1884 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
1885 (add_initial_lwp): New, factored out from ...
1886 (add_lwp): ... this. Don't check the number of lwps before
1887 calling linux_nat_new_thread.
1888 (linux_nat_iterate_watchpoint_lwps): Delete.
1889 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
1890 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
1891 forks and vforks.
1892 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
1893 initial lwp.
1894 (linux_nat_kill, linux_nat_mourn_inferior): Call
1895 linux_nat_forget_process.
1896 (linux_nat_set_new_fork, linux_nat_set_forget_process)
1897 (linux_nat_forget_process): New functions.
1898 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
1899 type.
1900 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
1901 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
1902 types.
1903 (linux_nat_set_new_fork, linux_nat_set_forget_process)
1904 (linux_nat_forget_process): New declarations.
1905
1906 * amd64fbsd-nat.c (super_mourn_inferior): New global.
1907 (amd64fbsd_mourn_inferior): New function.
1908 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
1909 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
1910
1911 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1912
1913 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
1914 Adding _().
1915
1916 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1917
1918 * aarch64-linux-nat.c (debug_reg_change_callback)
1919 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
1920 %s and phex().
1921
1922 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1923
1924 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
1925 with LONGEST.
1926
1927 2013-02-13 Pedro Alves <palves@redhat.com>
1928 Hafiz Abid Qadeer <abidh@codesourcery.com>
1929
1930 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
1931
1932 2013-02-12 Tom Tromey <tromey@redhat.com>
1933
1934 PR symtab/11464:
1935 * c-exp.y (lex_one_token): Initialize other fields of yylval on
1936 NAME return.
1937 (classify_inner_name): Remove 'first_name' argument, add
1938 'context'. Remove unused variable.
1939 (yylex): Explicitly maintain the context type. Exit loop earlier
1940 if NAME result is seen.
1941
1942 2013-02-12 Pedro Alves <palves@redhat.com>
1943
1944 * amd64-darwin-tdep.c: Add (C) after Copyright.
1945 * cli/cli-cmds.h: Ditto.
1946 * cli/cli-decode.c: Ditto.
1947 * cli/cli-decode.h: Ditto.
1948 * cli/cli-dump.c: Ditto.
1949 * cli/cli-dump.h: Ditto.
1950 * cli/cli-interp.c: Ditto.
1951 * cli/cli-logging.c: Ditto.
1952 * cli/cli-script.c: Ditto.
1953 * cli/cli-script.h: Ditto.
1954 * cli/cli-setshow.c: Ditto.
1955 * cli/cli-setshow.h: Ditto.
1956 * cli/cli-utils.c: Ditto.
1957 * cli/cli-utils.h: Ditto.
1958 * config/alpha/nm-osf3.h: Ditto.
1959 * config/djgpp/djconfig.sh: Ditto.
1960 * config/i386/nm-fbsd.h: Ditto.
1961 * config/i386/nm-i386gnu.h: Ditto.
1962 * config/nm-linux.h: Ditto.
1963 * config/nm-nto.h: Ditto.
1964 * config/rs6000/nm-rs6000.h: Ditto.
1965 * config/sparc/nm-sol2.h: Ditto.
1966 * darwin-nat-info.c: Ditto.
1967 * dfp.c: Ditto.
1968 * dfp.h: Ditto.
1969 * gdb-demangle.h: Ditto.
1970 * i386-darwin-nat.c: Ditto.
1971 * i386-darwin-tdep.c: Ditto.
1972 * linux-fork.h: Ditto.
1973 * m32c-tdep.c: Ditto.
1974 * microblaze-linux-tdep.c: Ditto.
1975 * microblaze-rom.c: Ditto.
1976 * microblaze-tdep.c: Ditto.
1977 * microblaze-tdep.h: Ditto.
1978 * mips-linux-tdep.h: Ditto.
1979 * ppc-ravenscar-thread.c: Ditto.
1980 * ppc-ravenscar-thread.h: Ditto.
1981 * prologue-value.c: Ditto.
1982 * prologue-value.h: Ditto.
1983 * ravenscar-thread.c: Ditto.
1984 * ravenscar-thread.h: Ditto.
1985 * sparc-ravenscar-thread.c: Ditto.
1986 * sparc-ravenscar-thread.h: Ditto.
1987 * tilegx-linux-tdep.c: Ditto.
1988 * unwind_stop_reasons.def: Ditto.
1989 * windows-nat.h: Ditto.
1990 * xtensa-linux-tdep.c: Ditto.
1991 * xtensa-xtregs.c: Ditto.
1992 * regformats/regdat.sh: Ditto.
1993 * regformats/regdef.h: Ditto.
1994
1995 2013-02-12 Pedro Alves <palves@redhat.com>
1996
1997 * break-catch-sig.c: Update copyright years.
1998
1999 2013-02-11 Siva Chandra Reddy <sivachandra@google.com>
2000
2001 Add support for a destructor for ui_out data and use it to
2002 provide a ui_out destructor.
2003 * ui-out.h: Declare the new ui_out destructor.
2004 (ui_out_impl): Add a field for data destructor in ui_out_impl.
2005 * ui-out.c (default_data_destroy): Add a default data destructor
2006 which does nothing.
2007 (default_ui_out_impl): Set the new data_destroy field to
2008 default_data_destroy
2009 (uo_data_destroy): Local function which invokes the data
2010 destructor if present.
2011 (clear_table): Local function which clears the table data of a
2012 ui_out object.
2013 (ui_out_destroy): Public function which frees a ui_out object.
2014 (ui_out_table_end): Use the new clear_table function.
2015 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
2016 NULL.
2017 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
2018 to NULL.
2019
2020 2013-02-11 Doug Evans <dje@google.com>
2021
2022 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
2023 (printf_decfloat): New function. Broken out from ui_printf.
2024 Remove unnecessary code to shift the entire format string down.
2025 (printf_pointer): New function.
2026 (ui_printf): Code to print C strings, wide C strings, decfloats,
2027 and pointers moved to separate functions.
2028
2029 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2030
2031 * valops.c (value_assign): Handling bitfield offset in
2032 `lval_internalvar_component' case.
2033
2034 2013-02-08 Doug Evans <dje@google.com>
2035
2036 * common/format.c (parse_format_string): Fix whitespace.
2037
2038 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
2039
2040 * stack.c (return_command): Work around uninitialized variable
2041 warning.
2042
2043 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
2044
2045 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
2046 number of the registers from 36 to 34.
2047
2048 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
2049
2050 * NEWS: Mention new AArch64 native and target support.
2051
2052 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
2053
2054 * MAINTAINERS (Write After Approval): Add myself.
2055
2056 2013-02-08 Jim MacArthur <jim.macarthur@arm.com>
2057 Marcus Shawcroft <marcus.shawcroft@arm.com>
2058 Nigel Stephens <nigel.stephens@arm.com>
2059 Yufeng Zhang <yufeng.zhang@arm.com>
2060
2061 * aarch64-linux-nat.c: New file.
2062 * config/aarch64/linux.mh: New file.
2063 * configure.host: Add AArch64.
2064 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
2065
2066 2013-02-07 Doug Evans <dje@google.com>
2067
2068 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
2069 disassemble command.
2070
2071 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2072
2073 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
2074 set_gdbarch_fetch_tls_load_module_address.
2075
2076 2013-02-06 David S. Miller <davem@davemloft.net>
2077
2078 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
2079 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2080 * value.c (struct_return_convention): New function.
2081 (using_struct_return): Implement in terms of struct_return_convention.
2082 * value.h (struct_return_convention): Declare.
2083 * stack.c (return_command): Allow successful overriding of the return
2084 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2085
2086 2013-02-06 Tom Tromey <tromey@redhat.com>
2087
2088 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
2089 outside of TRY_CATCH.
2090
2091 2013-02-06 Yao Qi <yao@codesourcery.com>
2092
2093 * mi/mi-interp.c: Include "tracepoint.h".
2094 (mi_tsv_modified): Declare.
2095 (mi_tsv_created, mi_tsv_deleted): Update declaration.
2096 (mi_interpreter_init): Call observer_attach_tsv_modified.
2097 (mi_tsv_modified): New.
2098 (mi_tsv_created, mi_tsv_deleted): Update.
2099 * tracepoint.c (trace_variable_command): Call
2100 observer_notify_tsv_modified if the initial value of tsv is
2101 changed.
2102 (delete_trace_state_variable): Call
2103 observer_notify_tsv_deleted earlier.
2104 (trace_variable_command): Caller update.
2105 (create_tsv_from_upload): Likewise.
2106 * observer.sh: Declare "struct trace_state_variable".
2107
2108 * NEWS: Mention the new MI notification "=tsv-modified".
2109
2110 2013-02-05 Doug Evans <dje@google.com>
2111
2112 * completer.c (location_completer): Fix typo in comment.
2113
2114 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 * breakpoint.c (add_location_to_breakpoint): Insert the location with
2117 ADDRESS sorted.
2118
2119 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
2120
2121 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
2122 Refactor if statement to avoid trailing || operator.
2123
2124 2013-02-05 Andreas Tobler <andreast@fgznet.ch>
2125
2126 * NEWS: Add PowerPC FreeBSD as a new native configuration.
2127
2128 2013-02-04 Andreas Tobler <andreast@fgznet.ch>
2129
2130 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
2131 * configure.host: Add powerpc*-*-freebsd* target.
2132 * configure.tgt: Add target info for powerpc*-*-freebsd*.
2133 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
2134 * config/powerpc/fbsd.mh: New file.
2135
2136 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
2137 Denys Vlasenko <dvlasenk@redhat.com>
2138 Pedro Alves <palves@redhat.com>
2139
2140 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
2141 (struct elf_internal_linux_prpsinfo): Forward declare.
2142 * gdbarch.h, gdbarch.c: Regenerate.
2143 * linux-tdep.c: Include `cli/cli-utils.h'.
2144 (linux_fill_prpsinfo): New function.
2145 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
2146 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
2147 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
2148 depending on gdbarch pointer bitness.
2149 * ppc-linux-tdep.c: Include elf-bfd.h.
2150 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
2151 on 32-bit.
2152
2153 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
2154 Marcus Shawcroft <marcus.shawcroft@arm.com>
2155 Nigel Stephens <nigel.stephens@arm.com>
2156 Yufeng Zhang <yufeng.zhang@arm.com>
2157
2158 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
2159
2160 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
2161 Marcus Shawcroft <marcus.shawcroft@arm.com>
2162 Nigel Stephens <nigel.stephens@arm.com>
2163 Yufeng Zhang <yufeng.zhang@arm.com>
2164
2165 * aarch64-newlib-tdep.c: New file.
2166 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
2167 aarch64*-*-elf.
2168 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
2169 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
2170 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
2171 * osabi.c (gdb_osabi_names): Add "Newlib".
2172
2173 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
2174 Marcus Shawcroft <marcus.shawcroft@arm.com>
2175 Nigel Stephens <nigel.stephens@arm.com>
2176 Yufeng Zhang <yufeng.zhang@arm.com>
2177
2178 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
2179 (ALLDEPFILES): Add aarch64-linux-tdep.c.
2180 * aarch64-linux-tdep.c: New file.
2181 * aarch64-linux-tdep.h: New file.
2182 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
2183 * configure.tgt: Add aarch64-none-linux-gnu.
2184
2185 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
2186 Marcus Shawcroft <marcus.shawcroft@arm.com>
2187 Nigel Stephens <nigel.stephens@arm.com>
2188 Yufeng Zhang <yufeng.zhang@arm.com>
2189
2190 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
2191 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
2192 (ALLDEPFILES): Add aarch64-tdep.c.
2193 * aarch64-tdep.c: New file.
2194 * aarch64-tdep.h: New file.
2195 * configure.tgt: Add AArch64.
2196 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
2197 (aarch64-expedite): New definition.
2198 * features/aarch64-core.xml: New file.
2199 * features/aarch64-fpu.xml: New file.
2200 * features/aarch64-without-fpu.c: New file (generated).
2201 * features/aarch64-without-fpu.xml: New file.
2202 * features/aarch64.c: New file (generated).
2203 * features/aarch64.xml: New file.
2204 * regformats/aarch64-without-fpu.dat: New file (generated).
2205 * regformats/aarch64.dat: New file (generated).
2206
2207 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2208
2209 * contrib/expect-read1.c: New file.
2210 * contrib/expect-read1.sh: New file.
2211
2212 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2213
2214 * dwarf2read.c (file_file_name): New function with code from
2215 file_full_name.
2216 (file_full_name): Move most of the code to file_file_name.
2217 (macro_start_file): Rename variable full_name to file_name and use
2218 file_file_name for it. Add comp_dir parameter to new_macro_table.
2219 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
2220 macro_source_file->filename access by macro_source_fullname call.
2221 * macroscope.c (_initialize_macroscope): Update the new_macro_table
2222 caller.
2223 * macrotab.c (struct macro_table): New field comp_dir.
2224 (macro_include): New variables link_fullname and source_fullname.
2225 Replace any macro_source_file->filename access by macro_source_fullname
2226 call.
2227 (macro_lookup_inclusion): Remove the partial filenames checking code.
2228 (check_for_redefinition): New variables source_fullname and
2229 found_key_fullname. Replace any macro_source_file->filename access by
2230 macro_source_fullname call.
2231 (macro_undef): New variables source_fullname and key_fullname. Replace
2232 any macro_source_file->filename access by macro_source_fullname call.
2233 (macro_lookup_definition): New variables retval and source_fullname.
2234 Replace any macro_source_file->filename access by macro_source_fullname
2235 call.
2236 (foreach_macro): New variable key_fullname. Replace any
2237 macro_source_file->filename access by macro_source_fullname call.
2238 (foreach_macro_in_scope): New variable datum_fullname. Replace any
2239 macro_source_file->filename access by macro_source_fullname call.
2240 (new_macro_table): Add parameter comp_dir. Initialize T with it.
2241 (macro_source_fullname): New function.
2242 * macrotab.h (struct macro_source_file): Extent the filename field
2243 comment.
2244 (new_macro_table): New parameter comp_dir, add a comment for it.
2245 (macro_source_fullname): new declaration.
2246
2247 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2248
2249 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
2250 this_real_name to outer block. Use it also for
2251 compare_filenames_for_search.
2252 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
2253 with dw2_get_real_path for file_matcher, considering also
2254 BASENAMES_MAY_DIFFER.
2255 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
2256
2257 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2258
2259 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
2260 to the file_matcher parameter. Pass 0 to it.
2261 (dwarf2_create_include_psymtab): Copy also DIRNAME.
2262 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
2263 NULL psymtab_to_fullname result.
2264 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
2265 an expected filename instead.
2266 (expand_symtabs_matching_via_partial): Add basenames parameter to the
2267 file_matcher parameter. Call also psymtab_to_fullname, after newly
2268 considering BASENAMES_MAY_DIFFER.
2269 * source.c (rewrite_source_path): Remove static.
2270 * source.h (rewrite_source_path): New declaration.
2271 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
2272 the expand_symtabs_matching field. Comment it.
2273 * symtab.c (file_matches): New function comment. Add parameter
2274 basenames, implement it.
2275 (search_symbols_file_matches): Add basenames parameter. Update the
2276 file_matches caller.
2277 (search_symbols): Match FILES also against symtab_to_fullname.
2278 Optimize it for BASENAMES_MAY_DIFFER.
2279
2280 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2281
2282 * source.c (print_source_lines_base): Print for TUI also "fullname".
2283 * tui/tui-data.c (init_content_element): Change tui_locator_element
2284 field to full_name.
2285 * tui/tui-data.h (struct tui_locator_element): Likewise.
2286 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
2287 tui_update_locator_filename calls to tui_update_locator_fullname.
2288 Replace symtab->filename refererence by symtab_to_fullname call.
2289 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
2290 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
2291 field to full_name. Replace symtab->filename refererence by
2292 symtab_to_fullname call.
2293 (tui_show_symtab_source): Rename parameter to fullname. Change
2294 tui_locator_element field to full_name.
2295 * tui/tui-stack.c: Include source.h.
2296 (tui_set_locator_filename): Rename the declaration to ...
2297 (tui_set_locator_fullname): ... here. Rename its parameter to
2298 fullname, updates its comment.
2299 (tui_set_locator_info): Rename its parameter to fullname.
2300 (tui_set_locator_filename): Rename the definition to ...
2301 (tui_set_locator_fullname): ... here. Rename its parameter to
2302 fullname, updates its comment. Change tui_locator_element field to
2303 full_name.
2304 (tui_set_locator_info): Rename its parameter to fullname.
2305 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
2306 (tui_update_locator_filename): Rename to ...
2307 (tui_update_locator_fullname): ... here. Rename callee to
2308 tui_set_locator_fullname.
2309 (tui_show_frame_info): Replace symtab->filename refererence by
2310 symtab_to_fullname call.
2311 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
2312 (tui_update_locator_fullname): ... here.
2313 * tui/tui-winsource.c (tui_display_main): Rename the callee to
2314 tui_update_locator_fullname. Replace symtab->filename refererence by
2315 symtab_to_fullname call.
2316 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
2317 Rename the callee to tui_update_locator_fullname.
2318 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
2319
2320 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2321
2322 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
2323 by symtab_to_filename_for_display calls.
2324 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
2325 (clear_command): New variable sal_fullname, initialize it. Replace
2326 compare_filenames_for_search by filename_cmp with sal_fullname.
2327 (say_where, update_static_tracepoint): Replace symtab->filename
2328 refererences by symtab_to_filename_for_display calls.
2329 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
2330 Likewise.
2331 * dwarf2read.c: Include source.h.
2332 (fixup_go_packaging): Replace symtab->filename refererences by
2333 symtab_to_filename_for_display calls.
2334 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
2335 Replace symtab->filename refererences by symtab_to_filename_for_display
2336 calls.
2337 (create_sals_line_offset, convert_linespec_to_sals): New variable
2338 fullname, initialize it, replace symtab->filename reference by the
2339 variable.
2340 * linux-fork.c: Include source.h.
2341 (info_checkpoints_command): Replace symtab->filename refererences by
2342 symtab_to_filename_for_display calls.
2343 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
2344 by symtab_to_filename_for_display calls.
2345 * mdebugread.c: Include source.h.
2346 (psymtab_to_symtab_1): Replace symtab->filename refererences by
2347 symtab_to_filename_for_display calls.
2348 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
2349 (mi_cmd_file_list_exec_source_files): Likewise.
2350 * printcmd.c: Include source.h.
2351 (build_address_symbolic): Replace symtab->filename refererences by
2352 symtab_to_filename_for_display calls.
2353 * psymtab.c (partial_map_symtabs_matching_filename)
2354 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
2355 with psymtab_to_fullname.
2356 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
2357 by symtab_to_filename_for_display calls.
2358 (stpy_get_filename): New variable filename, initialize it, use instead
2359 of symtab->filename refererences.
2360 (salpy_str): Make variable filename const char *. Replace
2361 symtab->filename refererences by symtab_to_filename_for_display calls.
2362 * skip.c: Include source.h and filenames.h.
2363 (skip_file_command): Remove const from the symtab variable. Replace
2364 symtab->filename refererences by symtab_to_fullname call.
2365 (function_name_is_marked_for_skip): New variables searched_for_fullname
2366 and fullname. Use them to search also with symtab's fullname.
2367 * source.c (find_source_lines): Replace symtab->filename refererences
2368 by symtab_to_filename_for_display calls.
2369 (print_source_lines_base): New variable filename, use it instead of
2370 symtab->filename. Replace symtab->filename refererences by
2371 symtab_to_filename_for_display calls.
2372 (line_info, forward_search_command): Replace symtab->filename
2373 refererences by symtab_to_filename_for_display calls.
2374 (reverse_search_command): Replace symtab->filename refererences by
2375 symtab_to_filename_for_display calls. New variable filename for it.
2376 * stack.c (frame_info): Likewise.
2377 * symmisc.c: Include source.h.
2378 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
2379 (maintenance_info_symtabs): Replace symtab->filename refererences by
2380 symtab_to_filename_for_display calls.
2381 * symtab.c (iterate_over_some_symtabs): Call
2382 compare_filenames_for_search also with symtab_to_fullname.
2383 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
2384 symtab->filename refererences by symtab_to_filename_for_display calls.
2385 (find_line_symtab): Replace symtab->filename refererences by
2386 symtab_to_filename_for_display calls.
2387 (file_matches): Replace filename_cmp by compare_filenames_for_search.
2388 (print_symbol_info): Make the last parameter const char *. New
2389 variable s_filename. Use it in the function.
2390 (symtab_symbol_info): Make the last_filename variable const char *.
2391 Replace symtab->filename refererences by symtab_to_filename_for_display
2392 calls.
2393 (rbreak_command): New variable fullname. Use it. Replace
2394 symtab->filename refererence by symtab_to_filename_for_display call.
2395 * tracepoint.c (set_traceframe_context, trace_find_line_command)
2396 (print_one_static_tracepoint_marker): Replace symtab->filename
2397 refererences by symtab_to_filename_for_display calls.
2398 * tui/tui-source.c (tui_set_source_content): New variables filename and
2399 s_filename. Replace symtab->filename refererences by this variable.
2400 Replace other symtab->filename refererences by
2401 symtab_to_filename_for_display calls.
2402
2403 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
2404 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 Add a new variable that controls a way in which filenames are
2407 displayed.
2408 * NEWS (set filename-display): New entry.
2409 * source.c (filename_display_basename, filename_display_relative)
2410 (filename_display_absolute, filename_display_kind_names)
2411 (filename_display_string, show_filename_display_string)
2412 (symtab_to_filename_for_display): New.
2413 (_initialize_source): Added initialization of 'filename-display'
2414 variable.
2415 * source.h (symtab_to_filename_for_display): Added declaration.
2416 * stack.c (print_frame): Added new variable and calling of a new
2417 function and condition with this variable. Changed third argument of
2418 calling of a function.
2419
2420 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2421
2422 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
2423 Rename field reference filename to fullname.
2424 * tui/tui-data.h (struct tui_source_info): Rename field filename to
2425 fullname. New comment for it.
2426 * tui/tui-source.c (tui_set_source_content): Rename field reference
2427 filename to fullname. Initialize field by symtab_to_fullname now.
2428 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
2429 reference filename to fullname. Use symtab_to_fullname during
2430 comparison.
2431
2432 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2433
2434 Code cleanup.
2435 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
2436 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
2437 filename to fullname. Rename variable this_name to this_fullname.
2438 Lowercase FILENAME_CMP call.
2439 (dw2_find_symbol_file): New comment for the returned string.
2440 (dwarf2_gdb_index_functions): Rename the function to
2441 dw2_expand_symtabs_with_fullname.
2442 * psymtab.c (read_psymtabs_with_filename): Rename to ...
2443 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
2444 fullname.
2445 (psym_functions): Rename the function to read_psymtabs_with_fullname.
2446 * symfile.h (struct quick_symbol_functions): Rename field
2447 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
2448 parameter filename to fullname. Document returned string meaning for
2449 find_symbol_file.
2450 * symtab.c (find_line_symtab): Rename the called function to
2451 expand_symtabs_with_fullname.
2452
2453 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2454
2455 Code cleanup.
2456 * breakpoint.c (clear_command): Remove variable is_abs, unify the
2457 call of filename_cmp with compare_filenames_for_search.
2458 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
2459 is_abs, unify the call of FILENAME_CMP with
2460 compare_filenames_for_search. New gdb_asserts for real_path and name.
2461 Unify the call of compare_filenames_for_search with FILENAME_CMP.
2462 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
2463 * symfile.h (struct quick_symbol_functions): Extend the comment for
2464 map_symtabs_matching_filename.
2465 * symtab.c (compare_filenames_for_search): Remove the function comment
2466 relative path requirement. Handle absolute filenames, with a comment.
2467 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
2468 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
2469 real_path and name. Unify the call of compare_filenames_for_search
2470 with FILENAME_CMP.
2471 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
2472
2473 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2474
2475 Code cleanup.
2476 * breakpoint.c (print_breakpoint_location): Replace bp_location field
2477 source_file references by symtab field references. Remove variables
2478 sal and fullname.
2479 (momentary_breakpoint_from_master, add_location_to_breakpoint):
2480 (clear_command, say_where): Replace bp_location field source_file
2481 references by symtab field references.
2482 (bp_location_dtor): Remove the source_file reference.
2483 (update_static_tracepoint): Replace bp_location field source_file
2484 references by symtab field references.
2485 (breakpoint_free_objfile): New function.
2486 * breakpoint.h (struct bp_location): Extend the comment for line_number.
2487 Replace the field source_file by field symtab, extend its comment.
2488 (breakpoint_free_objfile): New declaration.
2489 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
2490 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
2491 field source_file references by symtab field references.
2492
2493 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2494
2495 Replace xfullpath calls by gdb_realpath calls.
2496 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
2497 function comment.
2498 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
2499 Remove it from the iterate_over_some_symtabs call.
2500 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
2501 Remove it from the dw2_map_expand_apply calls, remove a block handling
2502 it.
2503 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
2504 Remove it from the iterate_over_some_symtabs call.
2505 (partial_map_symtabs_matching_filename): Remove parameter full_path.
2506 Remove it from the partial_map_expand_apply calls, remove a block
2507 handling it. Drop gdb_realpath call and cleanups from the real_path
2508 handling.
2509 * source.c (openp): Drop the comment part about xfullpath. Replace
2510 xfullpath calls by gdb_realpath calls.
2511 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
2512 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
2513 from method map_symtabs_matching_filename and its comment.
2514 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
2515 gdb_realpath call.
2516 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
2517 remove it also from the function comment, remove a block handling it.
2518 Drop gdb_realpath call and cleanups from the real_path handling.
2519 (iterate_over_symtabs): Drop variable full_path and its use.
2520 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
2521 * utils.c (xfullpath): Remove.
2522 * utils.h (xfullpath): Remove.
2523
2524 2013-02-01 Andreas Tobler <andreast@fgznet.ch>
2525
2526 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
2527 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
2528 (ALLDEPFILES): Add ppc64-tdep.c.
2529 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
2530 ppc64-tdep.o to gdb_target_obs.
2531 * ppc64-tdep.h: New file.
2532 * ppc64-tdep.c: New file.
2533 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
2534 ppc-linux-tdep.c to here.
2535 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
2536 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
2537 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
2538 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
2539 from ppc-linux-tdep.c to here.
2540 (ppc64_convert_from_func_ptr_addr): Rename from
2541 ppc64_linux_convert_from_func_ptr_addr to
2542 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
2543 here.
2544 * rs6000-tdep.c:
2545 (read_insn): Move from ppc-linux-tdep.c to here.
2546 (insns_match_pattern, insn_d_field, insn_ds_field): Move
2547 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
2548 * ppc-linux-tdep.c: Include ppc64-tdep.h.
2549 Removed above functions.
2550 (ppc_linux_init_abi): Adjust.
2551
2552 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
2553
2554 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
2555
2556 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
2557
2558 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
2559
2560 2013-02-01 Pedro Alves <palves@redhat.com>
2561
2562 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
2563 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
2564
2565 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 * elfread.c (elf_symfile_read): Limit separate debug info additions to
2568 files with no separate debug info.
2569 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
2570 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
2571 only for files with no separate debug info.
2572
2573 2013-01-31 Tom Tromey <tromey@redhat.com>
2574
2575 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
2576 change type.
2577 (struct jit_program_space_data): Rename from jit_inferior_data.
2578 Update comments.
2579 (get_jit_program_space_data): Rename from get_jit_inferior_data.
2580 Change return type. Attach data to program space.
2581 (jit_program_space_data_cleanup): Rename from
2582 jit_inferior_data_cleanup; change argument type.
2583 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
2584 change type.
2585 (jit_register_code): Update.
2586 (jit_update_inferior_cache): Remove.
2587 (jit_breakpoint_deleted): Get jit data from the location's program
2588 space.
2589 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
2590 'ps_data', change type.
2591 (jit_inferior_init, jit_breakpoint_re_set_internal)
2592 (jit_event_handler): Update.
2593 (free_objfile_data): Get data from objfile's program space.
2594 (_initialize_jit): Update.
2595
2596 2013-01-31 Tom Tromey <tromey@redhat.com>
2597
2598 PR gdb/13987:
2599 * jit.c (struct jit_inferior_data) <cached_code_address,
2600 jit_breakpoint>: New fields.
2601 (jit_breakpoint_re_set_internal): Fix logging. Only create
2602 breakpoint if cached address has changed.
2603 (jit_update_inferior_cache, jit_breakpoint_deleted): New
2604 functions.
2605 (_initialize_jit): Register breakpoint deleted observer.
2606
2607 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2608
2609 * infrun.c (handle_syscall_event): Remove unused gdbarch.
2610 (save_infcall_suspend_state): Ifdef out unused inf.
2611 (restore_infcall_suspend_state): Ifdef out unused inf.
2612 * jit.c (jit_register_code): Remove unused i, b, inf_data.
2613 (jit_frame_sniffer): Remove unused inf_data.
2614
2615 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2616
2617 * c-exp.y (classify_inner_name): Remove unused type.
2618 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
2619 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
2620 need_escape.
2621 (c_get_string): Remove unused kind.
2622 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
2623
2624 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2625
2626 * charset.c (intermediate_encoding): Remove unused i.
2627 * completer.c (signal_completer): Remove unused i.
2628 * continuations.c (discard_my_continuations_1): Remove unused
2629 continuation_ptr.
2630 * corelow.c (core_close): Remove unuseD name.
2631 (get_core_siginfo): Remove unused pid.
2632 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
2633 i, cps.
2634 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
2635 (loclist_describe_location): Remove unused first.
2636 * event-top.c (command_line_handler): Remove unused got_eof.
2637 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
2638 (resize_section_table): Remove unused old_value.
2639 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
2640 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
2641 * i386-tdep.c (i386_process_record): Remove unused rex.
2642 * infcmd.c (get_return_value): Remove unused uiout.
2643 * jv-lang.c (type_from_class): Remove unused is_array.
2644 * jv-valprint.c (java_val_print): Remove unused i.
2645 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
2646 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
2647 * m2-typeprint.c (m2_print_type): Remove unused code.
2648 * macroexp.c (get_character_constant): Remove unused body_start.
2649 (macro_stringify): Remove unused result.
2650 * objc-lang.c (find_methods): Remove unused gdbarch.
2651 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
2652 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
2653 * stack.c (print_frame_args): Remove unused summary.
2654 * thread.c (thread_apply_command): Remove unused p.
2655 * valarith.c (value_x_unop): Remove unused mangle_ptr.
2656 * valops.c (search_struct_method): Remove unused skip.
2657 * valprint.c (generic_val_print): Remove unused byte_order.
2658 * varobj.c (varobj_update): Remove unused changed.
2659 * cli/cli-cmds.c (complete_command): Remove unused next_item.
2660 (alias_command): Remove unused c.
2661 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
2662 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
2663 format.
2664 (mi_cmd_data_write_memory): Remove unused word_format.
2665 (mi_cmd_data_write_memory_bytes): Remove unused r.
2666 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
2667 p_start, p_end.
2668 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
2669 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
2670 line_width.
2671
2672 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2673
2674 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
2675 * symtab.c (iterate_over_symtabs): Remove unused s.
2676 (find_pc_sect_symtab): Remove unused pspAce.
2677 (find_pc_sect_line): Remove unused alt_symtab.
2678 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
2679 (completion_list_add_name): Remove unused newsize.
2680
2681 2013-01-31 Tom Tromey <tromey@redhat.com>
2682
2683 PR c++/14998:
2684 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
2685 TYPE_CODE_FUNC.
2686
2687 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2688
2689 * target.c (target_read_string): Remove unused origlen.
2690
2691 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2692
2693 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
2694 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
2695 * ax-general.c (ax_print): Remove unused is_float.
2696 * blockframe.c (block_innermost_frame): Remove unused start, end.
2697 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
2698
2699 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2700
2701 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
2702 (svr4_read_so_list): Remove unused lmo.
2703 * solib-target.c (solib_target_relocate_section_addresses): Remove
2704 unused flags.
2705
2706 2013-01-30 Tom Tromey <tromey@redhat.com>
2707
2708 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
2709
2710 2013-01-30 Tom Tromey <tromey@redhat.com>
2711
2712 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
2713 * utils.c (gnu_debuglink_crc32): Remove.
2714 * utils.h (gnu_debuglink_crc32): Don't declare.
2715
2716 2013-01-30 Tom Tromey <tromey@redhat.com>
2717
2718 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
2719 (read_structure_type, read_enumeration_type): Remove cast.
2720
2721 2013-01-30 Tom Tromey <tromey@redhat.com>
2722
2723 * dwarf2read.c (read_namespace_type): Remove cast.
2724 (read_typedef): Likewise.
2725
2726 2013-01-29 Tom Tromey <tromey@redhat.com>
2727
2728 * dwarf2read.c (free_dwo_file): Remove assert.
2729
2730 2013-01-29 Tom Tromey <tromey@redhat.com>
2731
2732 * value.c (deprecated_set_value_modifiable): Remove.
2733 * value.h (deprecated_set_value_modifiable): Remove.
2734
2735 2013-01-28 Doug Evans <dje@google.com>
2736
2737 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
2738 to addresses from dwo files.
2739
2740 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
2741
2742 * valops.c (find_overload_match): Remove unused argument 'lax'.
2743 * value.h: Remove unused argument 'lax' from the declaration of
2744 find_overload_match.
2745 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
2746 to find_overload_match.
2747 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
2748 argument to find_overload_match.
2749
2750 2013-01-25 Tom Tromey <tromey@redhat.com>
2751
2752 * dwarf2read.c (processing_has_namespace_info): Remove.
2753 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
2754 (process_die, read_func_scope, dwarf2_start_symtab)
2755 (new_symbol_full): Update.
2756
2757 2013-01-25 Tom Tromey <tromey@redhat.com>
2758
2759 * cp-namespace.c (cp_set_block_scope): Remove.
2760 * cp-support.h (cp_set_block_scope): Remove.
2761 * dbxread.c: Include block.h.
2762 (cp_set_block_scope): New function.
2763 (process_one_symbol): Update.
2764 * dwarf2read.c (read_func_scope): Use block_set_scope.
2765
2766 2013-01-25 Pedro Alves <palves@redhat.com>
2767
2768 * remote.c (add_current_inferior_and_thread): Tweak comment.
2769
2770 2013-01-25 Tom Tromey <tromey@redhat.com>
2771
2772 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
2773 (cp_add_using_directive): Add 'copy_names' argument.
2774 * cp-support.h (cp_add_using_directive): Update.
2775 (struct using_direct) <import_src, import_dest, alias,
2776 declaration>: Now const.
2777 * dwarf2read.c (read_import_statement): Use obconcat.
2778 Don't copy names passed to cp_add_using_directive.
2779
2780 2013-01-25 Tom Tromey <tromey@redhat.com>
2781
2782 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
2783
2784 2013-01-25 Pedro Alves <palves@redhat.com>
2785
2786 * remote.c (stop_reply_extract_thread): New.
2787 (add_current_inferior_and_thread): New parameter 'wait_status'.
2788 Handle it.
2789 (remote_start_remote): Pass wait status to
2790 add_current_inferior_and_thread.
2791 (extended_remote_run): Update comment.
2792 (extended_remote_create_inferior_1): Pass wait status to
2793 add_current_inferior_and_thread.
2794
2795 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
2796 Ulrich Weigand <uweigand@de.ibm.com>
2797
2798 * valarith.c (value_vector_widen): New function for replicating a
2799 scalar into a vector.
2800 (value_binop): Use value_vector_widen to widen scalar to vector
2801 rather than casting, this better matches gcc C behaviour.
2802 * valops.c (value_casst): Update logic for casting between vector
2803 types, and for casting from scalar to vector, try to match gcc C
2804 behaviour.
2805 * value.h (value_vector_widen): Declare.
2806 * opencl-lang.c (opencl_value_cast): New opencl specific casting
2807 function, handle special case for casting scalar to vector.
2808 (opencl_relop): Use opencl_value_cast.
2809 (evaluate_subexp_opencl): Use opencl_value_cast instead of
2810 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
2811 in order to use opencl_value_cast.
2812
2813 2013-01-25 Yao Qi <yao@codesourcery.com>
2814
2815 * event-loop.c: Include "queue.h".
2816 (gdb_event_p): New typedef.
2817 (DECLARE_QUEUE_P): Use.
2818 (DEFINE_QUEUE_P): Use.
2819 (async_queue_event): Remove.
2820 (gdb_event_xfree): New.
2821 (initialize_event_loop): New.
2822 (process_event): Use QUEUE macros.
2823 (event_queue): Remove.
2824 (gdb_wait_for_event): Caller update.
2825 (check_async_event_handlers): Likewise.
2826 (poll_timers): Likewise.
2827 * event-loop.h (initialize_event_loop): Declare.
2828 * event-loop.c (gdb_event_xfree): New.
2829 * top.c (gdb_init): Call initialize_event_loop.
2830
2831 2013-01-25 Yao Qi <yao@codesourcery.com>
2832
2833 * event-loop.c (async_queue_event): Remove one parameter
2834 'position'. Remove code handling 'position' == TAIL.
2835 (gdb_wait_for_event): Caller update.
2836 (check_async_event_handlers): Caller update.
2837 (poll_timers): Caller update.
2838 * event-loop.h (enum queue_position): Remove.
2839
2840 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
2841
2842 * MAINTAINERS: Update my email.
2843
2844 2013-01-25 Yao Qi <yao@codesourcery.com>
2845
2846 * main.c (print_gdb_help): Remove "--epoch" from the help
2847 message.
2848
2849 2013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
2850
2851 * symtab.c (skip_prologue_using_sal): Consider a file
2852 change the same as an increased line number
2853
2854 2013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
2855
2856 * MAINTAINERS (Write After Approval): Add myself to the list.
2857
2858 2013-01-24 Tom Tromey <tromey@redhat.com>
2859
2860 * ada-lang.h (ada_decode_symbol): Make return type const.
2861 * ada-lang.c (ada_decode_symbol): Likewise.
2862
2863 2013-01-23 Doug Evans <dje@google.com>
2864
2865 * linespec.c (find_linespec_symbols): Make static.
2866
2867 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2868
2869 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
2870 type on float conversion for complex type.
2871
2872 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2873
2874 Add a new class gdb.Architecture which exposes GDB's
2875 internal representation of architecture via GDB Python API.
2876 * Makefile.in: Add entries corresponding to the new file
2877 python/py-arch.c.
2878 * NEWS (Python Scripting): Add entries for the new class
2879 gdb.Architecture and the new method gdb.Frame.architecture.
2880 * python/py-arch.c: Implement gdb.Architecture class.
2881 * python/py-frame.c (frapy_arch): Implement the method
2882 gdb.Frame.architecture().
2883 (frame_object_methods): Add 'architecture' to the method table.
2884 * python/python-internal.h: Add declarations of new utility
2885 functions.
2886 * python/python.c (_initialize_python): Initialize
2887 gdb.Architecture class.
2888
2889 2013-01-23 Doug Evans <dje@google.com>
2890
2891 Work around binutils/15021.
2892 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
2893 type_unit_group out of union s. All uses updated.
2894 (read_index_from_section): Watch for index version 8.
2895 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
2896 an imported symtab.
2897 (write_psymtabs_to_index): Increment version number to 8.
2898
2899 2013-01-22 Pedro Alves <palves@redhat.com>
2900
2901 * annotate.c (breakpoint_changed): Skip if breakpoint is not
2902 user-visible.
2903
2904 2013-01-22 Pedro Alves <palves@redhat.com>
2905
2906 * annotate.c (annotate_breakpoints_changed): Rename to ...
2907 (annotate_breakpoints_invalid): ... this. Make static.
2908 (breakpoint_changed): Adjust.
2909 (_initialize_annotate): Always install the observers. Install a
2910 "breakpoint_created" observer.
2911 * annotate.h (annotate_breakpoints_changed): Delete declaration.
2912 * breakpoint.c (set_breakpoint_condition)
2913 (breakpoint_set_commands, do_map_commands_command)
2914 (init_raw_breakpoint, clear_command, set_ignore_count)
2915 (enable_breakpoint_disp): No longer call
2916 annotate_breakpoints_changed.
2917
2918 2013-01-22 Pedro Alves <palves@redhat.com>
2919
2920 * annotate.c: Include "inferior.h".
2921 (frames_invalid_emitted)
2922 (breakpoints_invalid_emitted): New globals.
2923 (async_background_execution_p): New function.
2924 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
2925 emitting the annotation if it has already been emitted.
2926 (annotate_display_prompt): New function.
2927 * annotate.h (annotate_display_prompt): New declaration.
2928 * event-top.c: Include annotate.h.
2929 (display_gdb_prompt): Call annotate_display_prompt.
2930
2931 2013-01-22 Pedro Alves <palves@redhat.com>
2932
2933 * annotate.c (ignore_count_changed): Delete.
2934 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
2935 (annotate_ignore_count_change): Delete.
2936 (annotate_stopped): Don't emit a delayed breakpoints-changed
2937 annotation.
2938 * annotate.h (annotate_ignore_count_change): Delete.
2939 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
2940 annotate_ignore_count_change.
2941
2942 2013-01-22 Tom Tromey <tromey@redhat.com>
2943
2944 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
2945 require_rvalue for a register location.
2946
2947 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2948
2949 * breakpoint.c (print_one_breakpoint_location): Add MI
2950 field 'thread-groups' when printing a breakpoint.
2951 (output_thread_groups): New function.
2952
2953 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2954
2955 * python/lib/gdb/commands/explore.py
2956 (CompoundExplorer.explore_expr): Correct the name of a method
2957 being invoked.
2958 (ExploreTypeCommand.invoke): Add a missing 'return'.
2959
2960 2013-01-21 Tom Tromey <tromey@redhat.com>
2961
2962 * gdb_obstack.h (obconcat): Move declaration here, from...
2963 * symfile.h (obconcat): ... here.
2964 * gdb_obstack.c: New file.
2965 (obconcat): Move from...
2966 * symfile.c (obconcat): ... here.
2967 * Makefile.in (SFILES): Add gdb_obstack.c.
2968 (COMMON_OBS): Add gdb_obstack.o.
2969
2970 2013-01-21 Tom Tromey <tromey@redhat.com>
2971
2972 * symfile.h (obsavestring): Don't declare.
2973 * symfile.c (obsavestring): Remove.
2974 * ada-exp.y: Use obstack_copy0, not obsavestring.
2975 * ada-lang.c: Use obstack_copy0, not obsavestring.
2976 * coffread.c: Use obstack_copy0, not obsavestring.
2977 * cp-namespace.c: Use obstack_copy0, not obsavestring.
2978 * dbxread.c: Use obstack_copy0, not obsavestring.
2979 * dwarf2read.c: Use obstack_copy0, not obsavestring.
2980 * jit.c: Use obstack_copy0, not obsavestring.
2981 * mdebugread.c: Use obstack_copy0, not obsavestring.
2982 * psymtab.c: Use obstack_copy0, not obsavestring.
2983 * stabsread.c: Use obstack_copy0, not obsavestring.
2984 * xcoffread.c: Use obstack_copy0, not obsavestring.
2985
2986 2013-01-21 Tom Tromey <tromey@redhat.com>
2987
2988 * dwarf2read.c (fixup_go_packaging): Save package name
2989 on objfile obstack.
2990 * gdbtypes.c (init_type): Don't copy name.
2991
2992 2013-01-21 Tom Tromey <tromey@redhat.com>
2993
2994 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
2995 const.
2996 (struct attribute) <u.str>: Now const.
2997 (struct fnfieldlist) <name>: Now const.
2998 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
2999 (partial_die_parent_scope): Make return type const.
3000 (partial_die_full_name, add_partial_symbol): Update.
3001 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
3002 'name' const.
3003 (find_file_and_directory): Make 'name' and 'comp_dir' const.
3004 (read_file_scope, read_func_scope, dwarf2_add_field)
3005 (dwarf2_add_member_fn, read_structure_type)
3006 (process_enumeration_scope, read_array_type, read_module_type)
3007 (read_base_type, read_subrange_type): Update.
3008 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
3009 (new_symbol_full, guess_full_die_structure_name): Update.
3010 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
3011 (dwarf2_name): Return const type.
3012 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
3013 const.
3014
3015 2013-01-21 Tom Tromey <tromey@redhat.com>
3016
3017 * gdbtypes.c (init_type): Make 'name' const.
3018 * gdbtypes.h (init_type): Update.
3019
3020 2013-01-21 Tom Tromey <tromey@redhat.com>
3021
3022 * buildsym.c (patch_subfile_names): Use set_last_source_file.
3023 (start_symtab): Make 'name' and 'dirname' const. Use
3024 set_last_source_file.
3025 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
3026 (last_source_file): Define. Now static.
3027 (set_last_source_file, get_last_source_file): New functions.
3028 * buildsym.h (last_source_file): Don't declare.
3029 (start_symtab): Update.
3030 (set_last_source_file, get_last_source_file): Declare.
3031 * coffread.c (complete_symtab): Use set_last_source_file.
3032 (coff_end_symtab): Likewise.
3033 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
3034 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
3035 set_last_source_file.
3036 (process_one_symbol): Use get_last_source_file.
3037 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
3038 (psymtab_to_symtab_1): Use get_last_source_file.
3039 * xcoffread.c (process_linenos): Use get_last_source_file.
3040 (complete_symtab): Use set_last_source_file.
3041 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
3042 (scan_xcoff_symtab): Use set_last_source_file.
3043
3044 2013-01-21 Tom Tromey <tromey@redhat.com>
3045
3046 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
3047 (symbol_set_names): Remove casts. Handle field const-ness.
3048
3049 2013-01-21 Tom Tromey <tromey@redhat.com>
3050
3051 * dwarf2read.c (new_symbol_full): Remove cast.
3052 * symtab.c (symbol_set_demangled_name): Make 'name' const.
3053 * symtab.h (symbol_set_demangled_name): Update.
3054
3055 2013-01-21 Tom Tromey <tromey@redhat.com>
3056
3057 * main.c (captured_main): Call bfd_init.
3058
3059 2013-01-21 Tom Tromey <tromey@redhat.com>
3060
3061 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
3062 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
3063 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
3064 * NEWS: Update.
3065
3066 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
3069
3070 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3071
3072 Fix gdb.fortran/common-block.exp crash in PIE mode.
3073 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
3074 LOC_COMMON_BLOCK.
3075 * f-valprint.c (info_common_command_for_block): Expect
3076 LOC_COMMON_BLOCK in gdb_assert.
3077 * symtab.h (struct general_symbol_info): Update comment for the
3078 common_block member.
3079 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
3080 (enum address_class): New member LOC_COMMON_BLOCK.
3081
3082 2013-01-18 David Blaikie <dblaikie@gmail.com>
3083
3084 * MAINTAINERS (Write After Approval): Add "David Blaikie".
3085
3086 2013-01-18 Tom Tromey <tromey@redhat.com>
3087
3088 PR c++/14999:
3089 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
3090 Call require_rvalue.
3091
3092 2013-01-18 Yao Qi <yao@codesourcery.com>
3093
3094 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
3095 (dbx_read_symtab): New declaration.
3096 (dbx_psymtab_to_symtab): Delete.
3097 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
3098 Rename parameter PST to SELF. Exchanged two parameters.
3099 (start_psymtab): Caller update.
3100 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
3101 (dwarf2_read_symtab): New declaration.
3102 (dwarf2_psymtab_to_symtab): Delete.
3103 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
3104 Rename parameter PST to SELF. Exchanged two parameters.
3105 (create_partial_symtab): Caller update.
3106 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
3107 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
3108 Rename parameter PST to SELF. Exchanged two parameters.
3109 (parse_partial_symbols, new_psymtab): Caller update.
3110 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
3111 two parameters.
3112 * psymtab.c (psymtab_to_symtab): Caller update.
3113 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
3114 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
3115 Rename parameter PST to SELF. Exchanged two parameters.
3116 (xcoff_start_psymtab): Caller update.
3117
3118 2013-01-18 Yao Qi <yao@codesourcery.com>
3119
3120 * infrun.c (proceed): Rename local variable 'oneproc' to
3121 'force_step'.
3122
3123 2013-01-17 Doug Evans <dje@google.com>
3124
3125 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
3126 (dw2_build_type_unit_groups): Delete. All uses updated.
3127
3128 * symtab.h (struct symbol_search): Add comment.
3129
3130 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3131
3132 * symtab.c (compare_filenames_for_search): New comment for
3133 HAS_DRIVE_SPEC.
3134
3135 2013-01-17 Tom Tromey <tromey@redhat.com>
3136
3137 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
3138
3139 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3140
3141 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
3142 initialize it by existing make_cleanup. Call new do_cleanups.
3143
3144 2013-01-17 Tom Tromey <tromey@redhat.com>
3145
3146 * cp-abi.c (cp_abi_completer): New function.
3147 (_initialize_cp_abi): Set completer for "set cp-abi".
3148
3149 2013-01-17 Tom Tromey <tromey@redhat.com>
3150
3151 * mem-break.c: Remove obsolete comment.
3152 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
3153
3154 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3155
3156 * jit.c (jit_reader_load_command): Interpret the jit reader name
3157 as an absolute path if it begins with a forward slash.
3158
3159 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3160
3161 PR gdb/14550
3162
3163 * jit.c (finalize_symtab): Ensure that only the global block has a
3164 NULL superblock.
3165
3166 2013-01-17 Pedro Alves <palves@redhat.com>
3167
3168 * acinclude.m4: Include ../config/plugins.m4,
3169 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
3170 * Makefile.in (aclocal_m4_deps): Update.
3171 * aclocal.m4: Renegerate.
3172
3173 2013-01-16 Doug Evans <dje@google.com>
3174
3175 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
3176
3177 2013-01-16 Pedro Alves <palves@redhat.com>
3178 Tom Tromey <tromey@redhat.com>
3179
3180 PR cli/7221:
3181 * NEWS: Add "catch signal".
3182 * breakpoint.c (base_breakpoint_ops): No longer static.
3183 (bpstat_explains_signal): New function.
3184 (init_catchpoint): No longer static.
3185 (base_breakpoint_explains_signal): New function.
3186 (base_breakpoint_ops): Initialize new field.
3187 * breakpoint.h (enum bpstat_signal_value): New.
3188 (struct breakpoint_ops) <explains_signal>: New field.
3189 (bpstat_explains_signal): Remove macro, declare as function.
3190 (base_breakpoint_ops, init_catchpoint): Declare.
3191 * break-catch-sig.c: New file.
3192 * inferior.h (signal_catch_update): Declare.
3193 * infrun.c (signal_catch): New global.
3194 (handle_syscall_event): Update for change to
3195 bpstat_explains_signal.
3196 (handle_inferior_event): Likewise. Always handle random signals
3197 via bpstats.
3198 (signal_cache_update): Check signal_catch.
3199 (signal_catch_update): New function.
3200 (_initialize_infrun): Initialize signal_catch.
3201 * Makefile.in (SFILES): Add break-catch-sig.c.
3202 (COMMON_OBS): Add break-catch-sig.o.
3203
3204 2013-01-16 Tom Tromey <tromey@redhat.com>
3205
3206 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
3207 (print_one_catch_solib, print_one_catch_syscall)
3208 (print_one_catch_exec, print_one_exception_catchpoint): Emit
3209 "catch-type".
3210
3211 2013-01-16 Yao Qi <yao@codesourcery.com>
3212
3213 * printcmd.c (current_display_number): Make it static.
3214
3215 2013-01-16 Yao Qi <yao@codesourcery.com>
3216
3217 * infcmd.c (step_once): Don't check '!single_inst' as it was
3218 checked before.
3219
3220 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3221
3222 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
3223
3224 2013-01-14 Tom Tromey <tromey@redhat.com>
3225
3226 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
3227 set command.
3228 * command.h (add_setshow_string_noescape_cmd): Update.
3229 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
3230 (complete_set_gnutarget): New function.
3231 (_initialize_core): Set the "set gnutarget" completer.
3232
3233 2013-01-14 Tom Tromey <tromey@redhat.com>
3234
3235 PR symtab/14442:
3236 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
3237 (c_type_print_modifier): Likewise.
3238 * dwarf2read.c (read_tag_restrict_type): New function.
3239 (read_type_die_1): Handle DW_TAG_restrict_type.
3240 * gdbtypes.c (make_restrict_type): New function.
3241 (recursive_dump_type): Handle TYPE_RESTRICT.
3242 * gdbtypes.h (enum type_flag_values): Renumber.
3243 (enum type_instance_flag_value): Add
3244 TYPE_INSTANCE_FLAG_RESTRICT.
3245 (TYPE_RESTRICT): New macro.
3246 (make_restrict_type): Declare.
3247
3248 2013-01-14 Tom Tromey <tromey@redhat.com>
3249
3250 PR symtab/14931:
3251 * psymtab.c (struct psymtab_state): New.
3252 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
3253 functions.
3254 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
3255 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
3256
3257 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
3258 Pedro Alves <palves@redhat.com>
3259
3260 PR remote/14786
3261
3262 * remote.c (remote_threads_info): Make a copy of the reply from
3263 qfThreadInfo and use that instead of rs->buf.
3264
3265 2013-01-14 Yao Qi <yao@codesourcery.com>
3266
3267 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
3268 (dbx_psymtab_to_symtab): Likewise.
3269 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
3270 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
3271 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
3272
3273 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3274
3275 * parse.c (parse_exp_in_context): New variable inner_chain. Call
3276 make_cleanup_restore_current_language. Call set_language. Move
3277 OLD_CHAIN and INNER_CHAIN cleanups.
3278 * utils.c (do_restore_current_language)
3279 (make_cleanup_restore_current_language): New functions.
3280 * utils.h (make_cleanup_restore_current_language): New declaration.
3281
3282 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3283
3284 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
3285 non-existing files.
3286
3287 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
3288 non-existing files if FILENAME is already absolute.
3289
3290 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
3293 fputs_filtered. Append trailing newline.
3294
3295 2013-01-11 Yao Qi <yao@codesourcery.com>
3296 Stan Shebs <stan@codesourcery.com>
3297
3298 * psymtab.c (init_psymbol_list): Clarify the comment.
3299
3300 2013-01-11 Yao Qi <yao@codesourcery.com>
3301
3302 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
3303 (update_dprintf_command_list): Assert that 'printf_line' is
3304 non-null. Remove condition check.
3305
3306 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 Code cleanup.
3309 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
3310 type const char *.
3311 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
3312 const char *.
3313 * tui/tui-source.h (tui_source_is_displayed): Likewise.
3314
3315 2013-01-09 Anthony Green <green@moxielogic.com>
3316
3317 * cp-abi.c (cplus_print_vtable): Don't return value from void
3318 function.
3319 * ada-lang.c (re_set_catch_assert): Ditto.
3320
3321 2013-01-09 Doug Evans <dje@google.com>
3322
3323 * symfile.h (quick_symbol_functions): Delete member
3324 pre_expand_symtabs_matching. All uses removed.
3325 * dwarf2read.c (dw2_lookup_symbol): Implement.
3326 (dw2_do_expand_symtabs_matching): Delete.
3327 (dw2_pre_expand_symtabs_matching): Delete.
3328 (struct dw2_symtab_iterator): New type.
3329 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
3330 (dw2_expand_symtabs_for_function): Rewrite.
3331 (dwarf2_gdb_index_functions): Update.
3332 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
3333 (psym_functions): Update.
3334
3335 2013-01-09 Tom Tromey <tromey@redhat.com>
3336
3337 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
3338 * configure: Rebuild.
3339 * configure.ac: Add somread.o to the build if BFD has SOM
3340 support.
3341 * somread.c: Include som/aout.h, not syms.h.
3342 (som_symtab_read): Use som_external_symbol_dictionary_record.
3343 Unpack records manually.
3344 (_initialize_somread): Declare.
3345
3346 2012-01-08 Mike Frysinger <vapier@gentoo.org>
3347
3348 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
3349 Cast return_address to 64bits.
3350
3351 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
3352
3353 * printcmd.c: Remove define of function output_command.
3354 * tracepoint.c: Remove extern of function output_command.
3355 * valprint.h: (output_command): New extern.
3356
3357 2013-01-07 Tom Tromey <tromey@redhat.com>
3358
3359 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
3360 Remove.
3361 (objc_language_defn): Use c_printchar, c_printstr,
3362 c_emit_char.
3363
3364 2013-01-07 Tom Tromey <tromey@redhat.com>
3365
3366 PR cli/7719:
3367 * NEWS: Update.
3368 * ada-valprint.c (printstr, print_field_values): Remove
3369 "inspect_it" code.
3370 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
3371 code.
3372 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
3373 code.
3374 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
3375 * main.c (captured_main): Remove "epoch" argument.
3376 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
3377 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
3378 * p-valprint.c (pascal_object_print_value_fields): Remove
3379 "inspect_it" code.
3380 * printcmd.c (print_command_1): Remove 'inspect' argument.
3381 (print_command, call_command): Update.
3382 (inspect_command): Remove.
3383 (_initialize_printcmd): Make "inspect" an alias for "print".
3384 * top.c (epoch_interface): Remove.
3385 * top.h (epoch_interface): Remove.
3386 * valprint.c (user_print_options): Update.
3387 (print_converted_chars_to_obstack): Remove "inspect_it" code.
3388 * valprint.h (struct value_print_options) <inspect_it>: Remove
3389 field.
3390
3391 2013-01-04 Tom Tromey <tromey@redhat.com>
3392
3393 * valprint.h (read_string): Add 'extern'.
3394
3395 2013-01-07 Joel Brobecker <brobecker@adacore.com>
3396
3397 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
3398 used to decide whether to define darwin_read_dyld_info or not.
3399
3400 2013-01-03 Pierre Muller <muller@sourceware.org>
3401
3402 * main.c (relocate_gdb_directory): Avoid calling stat function
3403 if DIR is empty.
3404
3405 2013-01-03 Yao Qi <yao@codesourcery.com>
3406
3407 * psymtab.c (fixup_psymbol_section): Update declaration.
3408 (fixup_psymbol_section): Remove code returning value.
3409
3410 2013-01-03 Yao Qi <yao@codesourcery.com>
3411
3412 * symtab.h: Remove some out of date comments.
3413 (enum exception_event_kind): Move it ...
3414 * breakpoint.c: ... here.
3415
3416 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
3417
3418 PR gdb/14405
3419 * darwin-nat.c (darwin_read_dyld_info): Only build if
3420 TASK_DYLD_INFO_COUNT is defined.
3421 (darwin_xfer_partial): Call darwin_read_dyld_info only if
3422 TASK_DYLD_INFO_COUNT is defined.
3423
3424 2013-01-02 Tom Tromey <tromey@redhat.com>
3425
3426 * symfile.h (struct ecoff_debug_hack): Remove.
3427 * objfiles.c: Don't include mdebugread.h.
3428
3429 2013-01-02 Tom Tromey <tromey@redhat.com>
3430
3431 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
3432 * configure.ac: Check for Mach-O support in BFD. Update
3433 CONFIG_OBS.
3434 * configure: Rebuild.
3435
3436 2013-01-02 Tom Tromey <tromey@redhat.com>
3437
3438 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
3439 * configure.ac: Use GDB_AC_CHECK_BFD.
3440 * configure: Rebuild.
3441
3442 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3443
3444 * MAINTAINERS: Update my email.
3445
3446 2013-01-01 Joel Brobecker <brobecker@adacore.com>
3447
3448 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
3449
3450 2013-01-01 Joel Brobecker <brobecker@adacore.com>
3451
3452 * rs6000-nat.c (bss_data_overlap): New function.
3453 (vmap_symtab): Use it to adjust the .bss section's offset.
3454
3455 2013-01-01 Joel Brobecker <brobecker@adacore.com>
3456
3457 Update year range in copyright notice of all files.
3458
3459 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
3460
3461 * top.c (print_gdb_version): Update copyright year.
3462
3463 For older changes see ChangeLog-2012.
3464 \f
3465 Local Variables:
3466 mode: change-log
3467 left-margin: 8
3468 fill-column: 74
3469 version-control: never
3470 coding: utf-8
3471 End:
This page took 0.100947 seconds and 4 git commands to generate.