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