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