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