92d2209a219b3facf2ff754e0bdd05c4dbf5845e
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2013-03-01  Pedro Alves  <palves@redhat.com>
2
3         Use gdb_byte for bytes from the program being debugged.
4
5         * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
6         Change type of local 'buf' to gdb_byte.
7         * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
8         * bfin-tdep.c (bfin_push_dummy_call): Likewise.
9         * cris-tdep.c (cris_sigcontext_addr)
10         (cris_sigtramp_frame_unwind_cache): Likewise.
11         * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
12         (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
13         Likewise.
14         * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
15         * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
16         (hppa32_hpux_search_dummy_call_sequence)
17         (hppa_hpux_supply_save_state): Likewise.
18         * hppa-linux-tdep.c (insns_match_pattern)
19         (hppa_linux_find_global_pointer): Likewise.
20         * hppa-tdep.c (hppa_in_function_epilogue_p)
21         (skip_prologue_hard_way, hppa_frame_cache): Likewise.
22         * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
23         * i386fbsd-tdep.c (i386fbsd_supply_uthread)
24         (i386fbsd_collect_uthread): Likewise.
25         * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
26         * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
27         * ia64-tdep.c (examine_prologue, ia64_frame_cache)
28         (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
29         (ia64_sigtramp_frame_prev_register, ia64_access_reg)
30         (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
31         (ia64_libunwind_frame_prev_register)
32         (ia64_libunwind_sigtramp_frame_this_id)
33         (ia64_find_global_pointer_from_dynamic_section)
34         (find_extant_func_descr, find_func_descr, ia64_dummy_id)
35         (ia64_unwind_pc): Likewise.
36         * iq2000-tdep.c (iq2000_store_return_value): Likewise.
37         * m68hc11-tdep.c (m68hc11_push_dummy_call)
38         (m68hc11_extract_return_value): Likewise.
39         * m68klinux-nat.c (fetch_register, store_register): Likewise.
40         * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
41         (mep_get_insn, mep_push_dummy_call): Likewise.
42         * mips-linux-tdep.c (mips_linux_get_longjmp_target)
43         (mips_linux_in_dynsym_stub): Likewise.
44         * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
45         * ppc-linux-nat.c (fetch_register, store_register): Likewise.
46         * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
47         to gdb_byte.
48         * remote-mips.c (mips_set_register): Likewise.
49         * remote-sim.c (gdbsim_fetch_register): Likewise.
50         * score-tdep.c (score7_fetch_inst): Change type of parameter
51         'memblock' and local 'buf' to gdb_byte.
52         (score7_malloc_and_get_memblock): Change return type to gdb_byte.
53         Change type of local 'buf' to gdb_byte.  Adjust.
54         (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
55         to gdb_byte**.
56         (score7_analyze_prologue): Change type of 'memblock' and
57         'memblock_ptr' locals to gdb_byte*.
58         * sh64-tdep.c (sh64_extract_return_value)
59         (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
60         * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
61         * solib-pa64.c (pa64_solib_create_inferior_hook)
62         (pa64_open_symbol_file_object): Remove local 'buf'.
63         * solib-som.c (som_solib_create_inferior_hook, link_map_start)
64         (som_open_symbol_file_object): Likewise.
65         * solib-spu.c (spu_current_sos): Likewise.
66         * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
67         * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
68         (spu_store_registers): Likewise.
69         * target.c (debug_print_register): Likewise.
70         * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
71         * xstormy16-tdep.c (xstormy16_store_return_value)
72         (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
73         (xstormy16_find_jmp_table_entry): Likewise.
74
75 2013-03-01  Jiong Wang  <jiwang@tilera.com>
76
77         * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
78         (tilegx_gdbarch_init): Install it.
79
80 2013-02-28  Tom Tromey  <tromey@redhat.com>
81
82         * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
83         PyLong_Check.
84
85 2013-02-28  Doug Evans  <dje@google.com>
86
87         * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
88         * python/python.c (gdbpy_find_pc_line): Ditto.
89
90 2013-02-28  Tom Tromey  <tromey@redhat.com>
91
92         * contrib/excheck.py: New file.
93         * contrib/exsummary.py: New file.
94         * contrib/gcc-with-excheck: New file.
95
96 2013-02-28  Tom Tromey  <tromey@redhat.com>
97
98         * python/python.c (gdbpy_print_stack): Call begin_line and
99         fprintf_filtered inside TRY_CATCH.
100
101 2013-02-28  Tom Tromey  <tromey@redhat.com>
102
103         * python/python.c (gdbpy_find_pc_line): Call find_pc_line
104         inside TRY_CATCH.
105
106 2013-02-28  Tom Tromey  <tromey@redhat.com>
107
108         * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
109         frame_object_to_frame_info inside TRY_CATCH.
110
111 2013-02-28  Tom Tromey  <tromey@redhat.com>
112
113         * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
114         TRY_CATCH.
115
116 2013-02-28  Tom Tromey  <tromey@redhat.com>
117
118         * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
119
120 2013-02-27  Corinna Vinschen  <vinschen@redhat.com>
121
122         * windows-nat.c: Throughout, fix format strings and casts of
123         printf-like functions to avoid type related warnings on all
124         platforms.
125         (handle_output_debug_string): Fetch context information address
126         from debug string using string_to_core_addr.
127
128 2013-02-27  Jiong Wang  <jiwang@tilera.com>
129
130         * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
131         * regformats/reg-tilegx32.dat: New.
132
133 2013-02-27  Jiong Wang  <jiwang@tilera.com>
134
135         * configure.tgt (tilegx-*-linux*): Enable gdbserver.
136
137 2013-02-27  Jiong Wang  <jiwang@tilera.com>
138
139         * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
140
141 2013-02-27  Yao Qi  <yao@codesourcery.com>
142             Pedro Alves  <palves@redhat.com>
143
144         * tracepoint.c (tfile_trace_find): For tfind
145         pc/tp/range/outside, look for the next trace frame instead of
146         always starting from frame 0.
147
148 2013-02-26  Anthony Green  <green@moxielogic.com>
149
150         * configure.tgt: Add support for moxie-*-rtems* target.
151
152 2013-02-25  Pedro Alves  <palves@redhat.com>
153
154         * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
155         warning text.
156
157 2013-02-24  Maciej W. Rozycki  <macro@codesourcery.com>
158
159         * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
160         if $fp is used as the virtual frame pointer.
161
162 2013-02-23  Alan Modra  <amodra@gmail.com>
163
164         * elfread.c (elf_symtab_read): Do not use udata.p here to find
165         symbol size.
166         * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
167         * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
168         * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
169         * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
170
171 2013-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
172
173         Code cleanup.
174         * elfread.c (build_id_bfd_get): Make the return type const.
175         (build_id_verify): Make the check parameter const.
176         (build_id_to_debug_filename): Make the build_id parameter and variable
177         data const.
178         (find_separate_debug_file_by_buildid): Make the variable build_id const.
179
180 2013-02-21  Alan Modra  <amodra@gmail.com>
181
182         * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
183
184 2013-02-20  Siva Chandra Reddy  <sivachandra@google.com>
185
186         Add a new method 'disassemble' to gdb.Architecture class.
187         * python/py-arch.c (archpy_disassmble): Implementation of the
188         new method gdb.Architecture.disassemble.
189         (arch_object_methods): Add entry for the new method.
190
191 2013-02-20  Jiong Wang  <jiwang@tilera.com>
192
193         * MAINTAINERS (Write After Approval): Add myself to the list.
194
195 2013-02-19  Pedro Alves  <palves@redhat.com>
196
197         Garbage collect 'struct monitor_ops'::load_routine.
198
199         * monitor.h (struct monitor_ops) <load_routine>: Remove field.
200         * monitor.c (monitor_load): No longer call
201         current_monitor->load_routine.
202         * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
203         * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
204         * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
205
206 2013-02-19  Pedro Alves  <palves@redhat.com>
207
208         PR gdb/15161
209
210         Harmonize with generic_load.
211
212         * monitor.c: Include "readline/readline.h".
213         (monitor_load): Rename parameter 'file' to 'args'.  Use build_argv
214         instead of sscanf.  Use CORE_ADDR/strtoulst instead of unsigned
215         long/strtol for the 'load_offset' local.  Error out if no argument
216         is given or if too many arguments are given.  Tilde expand the
217         passed in file name.
218
219 2013-02-19  Kai Tietz  <ktietz@redhat.com>
220
221         PR gdb/15161
222         * symfile.c (load_section_data): Change type of load_offset
223         to CORE_ADDR.
224         (generic_load): User strtoulst instead of strtoul for conversion
225         of load_offset.
226
227 2013-02-19  Jiong Wang  <jiwang@tilera.com>
228
229         * tilegx-tdep.c (tilegx_analyze_prologue): add check for
230          for return address, "lr" register, saved on stack.
231         * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
232         after we invoke tilegx_analyze_prologue.
233
234 2013-02-19  Jiong Wang  <jiwang@tilera.com>
235
236         * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
237
238 2013-02-19  Jiong Wang  <jiwang@tilera.com>
239
240         * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
241
242 2013-02-19  Jiong Wang  <jiwang@tilera.com>
243
244         * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
245         (tilegx_write_pc): New function.
246         (tilegx_cannot_reference_register): Return zero if REGNO
247         is TILEGX_FAULTNUM_REGNUM.
248         (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
249         (tilegx_register_name): Add handling of "faultnum" register.
250         * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
251         * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
252         handling of TILEGX_FAULTNUM_REGNUM.
253         * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
254
255 2013-02-19  Jiong Wang  <jiwang@tilera.com>
256
257         * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
258         should be aligned to 64bit.
259
260 2013-02-19  Kai Tietz  <ktietz@redhat.com>
261
262         * windows-nat.c (windows_xfer_memory): Fix debug-output
263         for LLP64.
264
265 2013-02-19  Lei Liu  <lei.liu2@windriver.com>
266
267         * mips-linux-nat.c (mips64_linux_regsets_store_registers):
268         Don't check DSP register number if HAVE_DSP is not set.
269
270 2013-02-19  Alan Modra  <amodra@gmail.com>
271
272         * elfread.c (struct build_id): Delete.  Use struct elf_build_id
273         throughout file instead.
274         (build_id_bfd_get): Update to use new elf_tdata build_id field.
275         Don't xmalloc return value.
276         (build_id_verify): Similarly.  Don't xfree.
277         (build_id_to_debug_filename): Update.
278         (find_separate_debug_file_by_buildid): Update, don't xfree.
279
280 2013-02-18  Tom Tromey  <tromey@redhat.com>
281
282         PR gdb/15102:
283         * dwarf2read.c (read_subrange_type): Use result of
284         'check_typedef'.
285
286 2013-02-16  Yuanhui Zhang  <asmwarrior@gmail.com>
287
288         * frame.c: Remove one extra white space after #include
289         directive.
290
291 2013-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
292
293         * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
294
295 2013-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
296
297         * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
298         and dir commands into an if block.
299
300 2013-02-15  Sanimir Agovic  <sanimir.agovic@intel.com>
301
302         * python/py-breakpoint (struct pybp_code):  Use int instead of
303         enum type_code.
304
305 2013-02-15  Pedro Alves  <pedro@codesourcery.com>
306             Hafiz Abid Qadeer  <abidh@codesourcery.com>
307
308         * NEWS: Mention new field "trace-file".
309         * tracepoint.c (trace_status_mi): Output "trace-file" field.
310         (tfile_open): Record the trace file's filename in the trace
311         status.
312         (tfile_files_info): Mention the name of the trace file.
313         Check the "filename" field explicitely.
314         (trace_status_command): Explicitely check "filename" field.
315         (trace_find_command): Ditto.
316         (trace_find_pc_command): Ditto.
317         (trace_find_tracepoint_command): Ditto.
318         (trace_find_line_command): Ditto.
319         (trace_find_range_command): Ditto.
320         (trace_find_outside_command): Ditto.
321         * tracepoint.h (struct trace_status) <from_file>: Rename it
322         to "filename" and make it hold the trace file's filename
323         instead of a boolean.
324         * remote.c (remote_get_trace_status): Initialize "filename"
325         field with NULL instead of 0.
326
327 2013-02-15  Yao Qi  <yao@codesourcery.com>
328
329         * remote.c: Fix a typo.
330
331 2013-02-14  Pierre Muller  <muller@sourceware.org>
332
333         * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
334
335 2013-02-14  Pedro Alves  <palves@redhat.com>
336
337         * utils.c (savestring): Don't #undef it.  Move function to
338         common/common-utils.c.
339         * common/common-utils.c: Include gdb_string.h.
340         (savestring): Move here from utils.c.
341         * common/common-utils.h (savestring): Declare.
342
343 2013-02-14  Pedro Alves  <palves@redhat.com>
344
345         * utils.c (savestring): Rename parameter 'size' to 'len'.
346
347 2013-02-14  Pedro Alves  <palves@redhat.com>
348             Yufeng Zhang  <yufeng.zhang@arm.com>
349
350         * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
351         (aarch64_inferior_data, struct aarch64_inferior_data):
352         Delete.
353         (struct aarch64_process_info): New.
354         (aarch64_process_list): New global.
355         (aarch64_find_process_pid, aarch64_add_process)
356         (aarch64_process_info_get): New functions.
357         (aarch64_inferior_data_get): Delete.
358         (aarch64_process_info_get): New function.
359         (aarch64_forget_process): New function.
360         (aarch64_get_debug_reg_state): New parameter 'pid'.  Reimplement.
361         (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
362         aarch64_get_debug_reg_state.
363         (aarch64_notify_debug_reg_change): Use iterate_over_lwps
364         instead of linux_nat_iterate_watchpoint_lwps.
365         (aarch64_linux_new_fork): New function.
366         (aarch64_linux_child_post_startup_inferior): Use
367         aarch64_forget_process instead of aarch64_init_debug_reg_state.
368         (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
369         (aarch64_linux_remove_hw_breakpoint)
370         (aarch64_handle_aligned_watchpoint)
371         (aarch64_handle_unaligned_watchpoint)
372         (aarch64_linux_insert_watchpoint)
373         (aarch64_linux_remove_watchpoint)
374         (aarch64_linux_stopped_data_address): Adjust to pass the current
375         process id to aarch64_debug_reg_state.
376         (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
377         linux_nat_new_fork hook, and aarch64_forget_process as
378         linux_nat_forget_process hook; remove the call to
379         register_inferior_data_with_cleanup.
380
381 2013-02-14  Pedro Alves  <palves@redhat.com>
382
383         * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
384         EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
385         lval_memory.
386
387 2013-02-14  Pedro Alves  <pedro@codesourcery.com>
388             Hafiz Abid Qadeer  <abidh@codesourcery.com>
389
390         * tracepoint.h (validate_trace_state_variable_name): Declare.
391         * tracepoint.c (validate_trace_state_variable_name): New.
392         (trace_variable_command): Parse the trace state variable's name
393         without using parse_expression.  Do several validations.
394         * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
395         trace state variable's name with parse_expression.  Validate it.
396
397 2013-02-14  Yao Qi  <yao@codesourcery.com>
398
399         * infcmd.c (breakpoint_proceeded): Remove it.
400
401 2013-02-14  Yao Qi  <yao@codesourcery.com>
402
403         * tracepoint.c (end_actions_pseudocommand): Make it static.
404         (while_stepping_pseudocommand): Likewise.
405         * tracepoint.h (end_actions_pseudocommand): Remove the
406         declaration.
407         (while_stepping_pseudocommand): Likewise.
408
409 2013-02-14  Yao Qi  <yao@codesourcery.com>
410
411         * cli/cli-decode.c (help_cmd): Remove the declaration of
412         "cmdlist".
413         (help_all): Likewise.
414
415 2013-02-13  Pedro Alves  <palves@redhat.com>
416
417         * amd64-linux-nat.c (update_debug_registers_callback):
418         Update comment.
419         (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
420         iterate_over_lwps.
421         (amd64_linux_prepare_to_resume): Pass the lwp's pid to
422         i386_debug_reg_state.
423         (amd64_linux_new_fork): New function.
424         (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
425         linux_nat_new_fork hook, and i386_forget_process as
426         linux_nat_forget_process hook.
427         * i386-linux-nat.c (update_debug_registers_callback):
428         Update comment.
429         (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
430         iterate_over_lwps.
431         (i386_linux_prepare_to_resume): Pass the lwp's pid to
432         i386_debug_reg_state.
433         (i386_linux_new_fork): New function.
434         (_initialize_i386_linux_nat): Install i386_linux_new_fork as
435         linux_nat_new_fork hook, and i386_forget_process as
436         linux_nat_forget_process hook.
437         * i386-nat.c (i386_init_dregs): Delete.
438         (i386_inferior_data, struct i386_inferior_data):
439         Delete.
440         (struct i386_process_info): New.
441         (i386_process_list): New global.
442         (i386_find_process_pid, i386_add_process, i386_process_info_get):
443         New functions.
444         (i386_inferior_data_get): Delete.
445         (i386_process_info_get): New function.
446         (i386_debug_reg_state): New parameter 'pid'.  Reimplement.
447         (i386_forget_process): New function.
448         (i386_cleanup_dregs): Rewrite.
449         (i386_update_inferior_debug_regs, i386_insert_watchpoint)
450         (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
451         (i386_stopped_data_address, i386_insert_hw_breakpoint)
452         (i386_remove_hw_breakpoint): Adjust to pass the current process id
453         to i386_debug_reg_state.
454         (i386_use_watchpoints): Don't register inferior data.
455         * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
456         adjust comment.
457         (i386_forget_process): Declare.
458         * linux-fork.c (delete_fork): Call linux_nat_forget_process.
459         * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
460         New static globals.
461         (linux_child_follow_fork): Don't call linux_nat_new_thread here.
462         (add_initial_lwp): New, factored out from ...
463         (add_lwp): ... this.  Don't check the number of lwps before
464         calling linux_nat_new_thread.
465         (linux_nat_iterate_watchpoint_lwps): Delete.
466         (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
467         (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
468         forks and vforks.
469         (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
470         initial lwp.
471         (linux_nat_kill, linux_nat_mourn_inferior): Call
472         linux_nat_forget_process.
473         (linux_nat_set_new_fork, linux_nat_set_forget_process)
474         (linux_nat_forget_process): New functions.
475         * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
476         type.
477         (linux_nat_iterate_watchpoint_lwps): Delete declaration.
478         (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
479         types.
480         (linux_nat_set_new_fork, linux_nat_set_forget_process)
481         (linux_nat_forget_process): New declarations.
482
483         * amd64fbsd-nat.c (super_mourn_inferior): New global.
484         (amd64fbsd_mourn_inferior): New function.
485         (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
486         * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
487
488 2013-02-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
489
490         * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
491         Adding _().
492
493 2013-02-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
494
495         * aarch64-linux-nat.c (debug_reg_change_callback)
496         (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
497         %s and phex().
498
499 2013-02-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
500
501         * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
502         with LONGEST.
503
504 2013-02-13  Pedro Alves  <palves@redhat.com>
505             Hafiz Abid Qadeer  <abidh@codesourcery.com>
506
507         * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
508
509 2013-02-12  Tom Tromey  <tromey@redhat.com>
510
511         PR symtab/11464:
512         * c-exp.y (lex_one_token): Initialize other fields of yylval on
513         NAME return.
514         (classify_inner_name): Remove 'first_name' argument, add
515         'context'.  Remove unused variable.
516         (yylex): Explicitly maintain the context type.  Exit loop earlier
517         if NAME result is seen.
518
519 2013-02-12  Pedro Alves  <palves@redhat.com>
520
521         * amd64-darwin-tdep.c: Add (C) after Copyright.
522         * cli/cli-cmds.h: Ditto.
523         * cli/cli-decode.c: Ditto.
524         * cli/cli-decode.h: Ditto.
525         * cli/cli-dump.c: Ditto.
526         * cli/cli-dump.h: Ditto.
527         * cli/cli-interp.c: Ditto.
528         * cli/cli-logging.c: Ditto.
529         * cli/cli-script.c: Ditto.
530         * cli/cli-script.h: Ditto.
531         * cli/cli-setshow.c: Ditto.
532         * cli/cli-setshow.h: Ditto.
533         * cli/cli-utils.c: Ditto.
534         * cli/cli-utils.h: Ditto.
535         * config/alpha/nm-osf3.h: Ditto.
536         * config/djgpp/djconfig.sh: Ditto.
537         * config/i386/nm-fbsd.h: Ditto.
538         * config/i386/nm-i386gnu.h: Ditto.
539         * config/nm-linux.h: Ditto.
540         * config/nm-nto.h: Ditto.
541         * config/rs6000/nm-rs6000.h: Ditto.
542         * config/sparc/nm-sol2.h: Ditto.
543         * darwin-nat-info.c: Ditto.
544         * dfp.c: Ditto.
545         * dfp.h: Ditto.
546         * gdb-demangle.h: Ditto.
547         * i386-darwin-nat.c: Ditto.
548         * i386-darwin-tdep.c: Ditto.
549         * linux-fork.h: Ditto.
550         * m32c-tdep.c: Ditto.
551         * microblaze-linux-tdep.c: Ditto.
552         * microblaze-rom.c: Ditto.
553         * microblaze-tdep.c: Ditto.
554         * microblaze-tdep.h: Ditto.
555         * mips-linux-tdep.h: Ditto.
556         * ppc-ravenscar-thread.c: Ditto.
557         * ppc-ravenscar-thread.h: Ditto.
558         * prologue-value.c: Ditto.
559         * prologue-value.h: Ditto.
560         * ravenscar-thread.c: Ditto.
561         * ravenscar-thread.h: Ditto.
562         * sparc-ravenscar-thread.c: Ditto.
563         * sparc-ravenscar-thread.h: Ditto.
564         * tilegx-linux-tdep.c: Ditto.
565         * unwind_stop_reasons.def: Ditto.
566         * windows-nat.h: Ditto.
567         * xtensa-linux-tdep.c: Ditto.
568         * xtensa-xtregs.c: Ditto.
569         * regformats/regdat.sh: Ditto.
570         * regformats/regdef.h: Ditto.
571
572 2013-02-12  Pedro Alves  <palves@redhat.com>
573
574         * break-catch-sig.c: Update copyright years.
575
576 2013-02-11  Siva Chandra Reddy  <sivachandra@google.com>
577
578         Add support for a destructor for ui_out data and use it to
579         provide a ui_out destructor.
580         * ui-out.h: Declare the new ui_out destructor.
581         (ui_out_impl): Add a field for data destructor in ui_out_impl.
582         * ui-out.c (default_data_destroy): Add a default data destructor
583         which does nothing.
584         (default_ui_out_impl): Set the new data_destroy field to
585         default_data_destroy
586         (uo_data_destroy): Local function which invokes the data
587         destructor if present.
588         (clear_table): Local function which clears the table data of a
589         ui_out object.
590         (ui_out_destroy): Public function which frees a ui_out object.
591         (ui_out_table_end): Use the new clear_table function.
592         * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
593         NULL.
594         * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
595         to NULL.
596
597 2013-02-11  Doug Evans  <dje@google.com>
598
599         * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
600         (printf_decfloat): New function.  Broken out from ui_printf.
601         Remove unnecessary code to shift the entire format string down.
602         (printf_pointer): New function.
603         (ui_printf): Code to print C strings, wide C strings, decfloats,
604         and pointers moved to separate functions.
605
606 2013-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
607
608         * valops.c (value_assign): Handling bitfield offset in
609         `lval_internalvar_component' case.
610
611 2013-02-08  Doug Evans  <dje@google.com>
612
613         * common/format.c (parse_format_string): Fix whitespace.
614
615 2013-02-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
616
617         * stack.c (return_command): Work around uninitialized variable
618         warning.
619
620 2013-02-08  Yufeng Zhang  <yufeng.zhang@arm.com>
621
622         * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
623         number of the registers from 36 to 34.
624
625 2013-02-08  Marcus Shawcroft  <marcus.shawcroft@arm.com>
626
627         * NEWS: Mention new AArch64 native and target support.
628
629 2013-02-08  Marcus Shawcroft  <marcus.shawcroft@arm.com>
630
631         * MAINTAINERS (Write After Approval): Add myself.
632
633 2013-02-08  Jim MacArthur  <jim.macarthur@arm.com>
634             Marcus Shawcroft  <marcus.shawcroft@arm.com>
635             Nigel Stephens  <nigel.stephens@arm.com>
636             Yufeng Zhang  <yufeng.zhang@arm.com>
637
638         * aarch64-linux-nat.c: New file.
639         * config/aarch64/linux.mh: New file.
640         * configure.host: Add AArch64.
641         * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
642
643 2013-02-07  Doug Evans  <dje@google.com>
644
645         * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
646         disassemble command.
647
648 2013-02-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
649
650         * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
651         set_gdbarch_fetch_tls_load_module_address.
652
653 2013-02-06  David S. Miller  <davem@davemloft.net>
654
655         * sparc-tdep.c (sparc32_return_value): Handle writing return value when
656         using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
657         * value.c (struct_return_convention): New function.
658         (using_struct_return): Implement in terms of struct_return_convention.
659         * value.h (struct_return_convention): Declare.
660         * stack.c (return_command): Allow successful overriding of the return
661         value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
662
663 2013-02-06  Tom Tromey  <tromey@redhat.com>
664
665         * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
666         outside of TRY_CATCH.
667
668 2013-02-06  Yao Qi  <yao@codesourcery.com>
669
670         * mi/mi-interp.c: Include "tracepoint.h".
671         (mi_tsv_modified): Declare.
672         (mi_tsv_created, mi_tsv_deleted): Update declaration.
673         (mi_interpreter_init): Call observer_attach_tsv_modified.
674         (mi_tsv_modified): New.
675         (mi_tsv_created, mi_tsv_deleted): Update.
676         * tracepoint.c (trace_variable_command): Call
677         observer_notify_tsv_modified if the initial value of tsv is
678         changed.
679         (delete_trace_state_variable): Call
680         observer_notify_tsv_deleted earlier.
681         (trace_variable_command): Caller update.
682         (create_tsv_from_upload): Likewise.
683         * observer.sh: Declare "struct trace_state_variable".
684
685         * NEWS: Mention the new MI notification "=tsv-modified".
686
687 2013-02-05  Doug Evans  <dje@google.com>
688
689         * completer.c (location_completer): Fix typo in comment.
690
691 2013-02-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
692
693         * breakpoint.c (add_location_to_breakpoint): Insert the location with
694         ADDRESS sorted.
695
696 2013-02-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
697
698         * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
699         Refactor if statement to avoid trailing || operator.
700
701 2013-02-05  Andreas Tobler  <andreast@fgznet.ch>
702
703         * NEWS: Add PowerPC FreeBSD as a new native configuration.
704
705 2013-02-04  Andreas Tobler  <andreast@fgznet.ch>
706
707         * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
708         * configure.host: Add powerpc*-*-freebsd* target.
709         * configure.tgt: Add target info for powerpc*-*-freebsd*.
710         * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
711         * config/powerpc/fbsd.mh: New file.
712
713 2013-02-04  Sergio Durigan Junior  <sergiodj@redhat.com>
714             Denys Vlasenko  <dvlasenk@redhat.com>
715             Pedro Alves  <palves@redhat.com>
716
717         * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
718         (struct elf_internal_linux_prpsinfo): Forward declare.
719         * gdbarch.h, gdbarch.c: Regenerate.
720         * linux-tdep.c: Include `cli/cli-utils.h'.
721         (linux_fill_prpsinfo): New function.
722         (linux_make_corefile_notes): Use linux_fill_prpsinfo.  If there's
723         an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
724         elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
725         depending on gdbarch pointer bitness.
726         * ppc-linux-tdep.c: Include elf-bfd.h.
727         (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
728         on 32-bit.
729
730 2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
731             Marcus Shawcroft  <marcus.shawcroft@arm.com>
732             Nigel Stephens  <nigel.stephens@arm.com>
733             Yufeng Zhang  <yufeng.zhang@arm.com>
734
735         * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
736
737 2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
738             Marcus Shawcroft  <marcus.shawcroft@arm.com>
739             Nigel Stephens  <nigel.stephens@arm.com>
740             Yufeng Zhang  <yufeng.zhang@arm.com>
741
742         * aarch64-newlib-tdep.c: New file.
743         * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
744         aarch64*-*-elf.
745         * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
746         * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
747         (ALLDEPFILES): Add aarch64-newlib-tdep.c.
748         * osabi.c (gdb_osabi_names): Add "Newlib".
749
750 2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
751             Marcus Shawcroft  <marcus.shawcroft@arm.com>
752             Nigel Stephens  <nigel.stephens@arm.com>
753             Yufeng Zhang  <yufeng.zhang@arm.com>
754
755         * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
756         (ALLDEPFILES): Add aarch64-linux-tdep.c.
757         * aarch64-linux-tdep.c: New file.
758         * aarch64-linux-tdep.h: New file.
759         * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
760         * configure.tgt: Add aarch64-none-linux-gnu.
761
762 2013-02-04  Jim MacArthur  <jim.macarthur@arm.com>
763             Marcus Shawcroft  <marcus.shawcroft@arm.com>
764             Nigel Stephens  <nigel.stephens@arm.com>
765             Yufeng Zhang  <yufeng.zhang@arm.com>
766
767         * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
768         (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
769         (ALLDEPFILES): Add aarch64-tdep.c.
770         * aarch64-tdep.c: New file.
771         * aarch64-tdep.h: New file.
772         * configure.tgt: Add AArch64.
773         * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
774         (aarch64-expedite): New definition.
775         * features/aarch64-core.xml: New file.
776         * features/aarch64-fpu.xml: New file.
777         * features/aarch64-without-fpu.c: New file (generated).
778         * features/aarch64-without-fpu.xml: New file.
779         * features/aarch64.c: New file (generated).
780         * features/aarch64.xml: New file.
781         * regformats/aarch64-without-fpu.dat: New file (generated).
782         * regformats/aarch64.dat: New file (generated).
783
784 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
785
786         * contrib/expect-read1.c: New file.
787         * contrib/expect-read1.sh: New file.
788
789 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
790
791         * dwarf2read.c (file_file_name): New function with code from
792         file_full_name.
793         (file_full_name): Move most of the code to file_file_name.
794         (macro_start_file): Rename variable full_name to file_name and use
795         file_file_name for it.  Add comp_dir parameter to new_macro_table.
796         * macrocmd.c (show_pp_source_pos): New variable fullname.  Replace any
797         macro_source_file->filename access by macro_source_fullname call.
798         * macroscope.c (_initialize_macroscope): Update the new_macro_table
799         caller.
800         * macrotab.c (struct macro_table): New field comp_dir.
801         (macro_include): New variables link_fullname and source_fullname.
802         Replace any macro_source_file->filename access by macro_source_fullname
803         call.
804         (macro_lookup_inclusion): Remove the partial filenames checking code.
805         (check_for_redefinition): New variables source_fullname and
806         found_key_fullname.  Replace any macro_source_file->filename access by
807         macro_source_fullname call.
808         (macro_undef): New variables source_fullname and key_fullname.  Replace
809         any macro_source_file->filename access by macro_source_fullname call.
810         (macro_lookup_definition): New variables retval and source_fullname.
811         Replace any macro_source_file->filename access by macro_source_fullname
812         call.
813         (foreach_macro): New variable key_fullname.  Replace any
814         macro_source_file->filename access by macro_source_fullname call.
815         (foreach_macro_in_scope): New variable datum_fullname.  Replace any
816         macro_source_file->filename access by macro_source_fullname call.
817         (new_macro_table): Add parameter comp_dir.  Initialize T with it.
818         (macro_source_fullname): New function.
819         * macrotab.h (struct macro_source_file): Extent the filename field
820         comment.
821         (new_macro_table): New parameter comp_dir, add a comment for it.
822         (macro_source_fullname): new declaration.
823
824 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
825
826         * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
827         this_real_name to outer block.  Use it also for
828         compare_filenames_for_search.
829         (dw2_expand_symtabs_matching): New variable this_real_name.  Use it
830         with dw2_get_real_path for file_matcher, considering also
831         BASENAMES_MAY_DIFFER.
832         (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
833
834 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
835
836         * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
837         to the file_matcher parameter.  Pass 0 to it.
838         (dwarf2_create_include_psymtab): Copy also DIRNAME.
839         * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
840         NULL psymtab_to_fullname result.
841         (psymtab_to_fullname): Remove variable r.  Never return NULL, assemble
842         an expected filename instead.
843         (expand_symtabs_matching_via_partial): Add basenames parameter to the
844         file_matcher parameter.  Call also psymtab_to_fullname, after newly
845         considering BASENAMES_MAY_DIFFER.
846         * source.c (rewrite_source_path): Remove static.
847         * source.h (rewrite_source_path): New declaration.
848         * symfile.h (struct quick_symbol_functions): Add basenames parameter to
849         the expand_symtabs_matching field.  Comment it.
850         * symtab.c (file_matches): New function comment.  Add parameter
851         basenames, implement it.
852         (search_symbols_file_matches): Add basenames parameter.  Update the
853         file_matches caller.
854         (search_symbols): Match FILES also against symtab_to_fullname.
855         Optimize it for BASENAMES_MAY_DIFFER.
856
857 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
858
859         * source.c (print_source_lines_base): Print for TUI also "fullname".
860         * tui/tui-data.c (init_content_element): Change tui_locator_element
861         field to full_name.
862         * tui/tui-data.h (struct tui_locator_element): Likewise.
863         * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
864         tui_update_locator_filename calls to tui_update_locator_fullname.
865         Replace symtab->filename refererence by symtab_to_fullname call.
866         * tui/tui-out.c (tui_field_string): Check for "fullname" now.
867         * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
868         field to full_name.  Replace symtab->filename refererence by
869         symtab_to_fullname call.
870         (tui_show_symtab_source): Rename parameter to fullname.  Change
871         tui_locator_element field to full_name.
872         * tui/tui-stack.c: Include source.h.
873         (tui_set_locator_filename): Rename the declaration to ...
874         (tui_set_locator_fullname): ... here.  Rename its parameter to
875         fullname, updates its comment.
876         (tui_set_locator_info): Rename its parameter to fullname.
877         (tui_set_locator_filename): Rename the definition to ...
878         (tui_set_locator_fullname): ... here.  Rename its parameter to
879         fullname, updates its comment.  Change tui_locator_element field to
880         full_name.
881         (tui_set_locator_info): Rename its parameter to fullname.
882         (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
883         (tui_update_locator_filename): Rename to ...
884         (tui_update_locator_fullname): ... here. Rename callee to
885         tui_set_locator_fullname.
886         (tui_show_frame_info): Replace symtab->filename refererence by
887         symtab_to_fullname call.
888         * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
889         (tui_update_locator_fullname): ... here.
890         * tui/tui-winsource.c (tui_display_main): Rename the callee to
891         tui_update_locator_fullname.  Replace symtab->filename refererence by
892         symtab_to_fullname call.
893         * tui/tui.c (tui_show_source): Rename its parameter to fullname.
894         Rename the callee to tui_update_locator_fullname.
895         * tui/tui.h (tui_show_source): Rename its parameter to fullname.
896
897 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
898
899         * ada-lang.c (user_select_syms): Replace symtab->filename refererences
900         by symtab_to_filename_for_display calls.
901         * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
902         (clear_command): New variable sal_fullname, initialize it.  Replace
903         compare_filenames_for_search by filename_cmp with sal_fullname.
904         (say_where, update_static_tracepoint): Replace symtab->filename
905         refererences by symtab_to_filename_for_display calls.
906         * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
907         Likewise.
908         * dwarf2read.c: Include source.h.
909         (fixup_go_packaging): Replace symtab->filename refererences by
910         symtab_to_filename_for_display calls.
911         * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
912         Replace symtab->filename refererences by symtab_to_filename_for_display
913         calls.
914         (create_sals_line_offset, convert_linespec_to_sals): New variable
915         fullname, initialize it, replace symtab->filename reference by the
916         variable.
917         * linux-fork.c: Include source.h.
918         (info_checkpoints_command): Replace symtab->filename refererences by
919         symtab_to_filename_for_display calls.
920         * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
921         by symtab_to_filename_for_display calls.
922         * mdebugread.c: Include source.h.
923         (psymtab_to_symtab_1): Replace symtab->filename refererences by
924         symtab_to_filename_for_display calls.
925         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
926         (mi_cmd_file_list_exec_source_files): Likewise.
927         * printcmd.c: Include source.h.
928         (build_address_symbolic): Replace symtab->filename refererences by
929         symtab_to_filename_for_display calls.
930         * psymtab.c (partial_map_symtabs_matching_filename)
931         (read_psymtabs_with_fullname): Call compare_filenames_for_search also
932         with psymtab_to_fullname.
933         * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
934         by symtab_to_filename_for_display calls.
935         (stpy_get_filename): New variable filename, initialize it, use instead
936         of symtab->filename refererences.
937         (salpy_str): Make variable filename const char *.  Replace
938         symtab->filename refererences by symtab_to_filename_for_display calls.
939         * skip.c: Include source.h and filenames.h.
940         (skip_file_command): Remove const from the symtab variable.  Replace
941         symtab->filename refererences by symtab_to_fullname call.
942         (function_name_is_marked_for_skip): New variables searched_for_fullname
943         and fullname.  Use them to search also with symtab's fullname.
944         * source.c (find_source_lines): Replace symtab->filename refererences
945         by symtab_to_filename_for_display calls.
946         (print_source_lines_base): New variable filename, use it instead of
947         symtab->filename.  Replace symtab->filename refererences by
948         symtab_to_filename_for_display calls.
949         (line_info, forward_search_command): Replace symtab->filename
950         refererences by symtab_to_filename_for_display calls.
951         (reverse_search_command): Replace symtab->filename refererences by
952         symtab_to_filename_for_display calls.  New variable filename for it.
953         * stack.c (frame_info): Likewise.
954         * symmisc.c: Include source.h.
955         (dump_objfile, dump_symtab_1, maintenance_print_symbols)
956         (maintenance_info_symtabs): Replace symtab->filename refererences by
957         symtab_to_filename_for_display calls.
958         * symtab.c (iterate_over_some_symtabs): Call
959         compare_filenames_for_search also with symtab_to_fullname.
960         (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
961         symtab->filename refererences by symtab_to_filename_for_display calls.
962         (find_line_symtab): Replace symtab->filename refererences by
963         symtab_to_filename_for_display calls.
964         (file_matches): Replace filename_cmp by compare_filenames_for_search.
965         (print_symbol_info): Make the last parameter const char *.  New
966         variable s_filename.  Use it in the function.
967         (symtab_symbol_info): Make the last_filename variable const char *.
968         Replace symtab->filename refererences by symtab_to_filename_for_display
969         calls.
970         (rbreak_command): New variable fullname.  Use it.  Replace
971         symtab->filename refererence by symtab_to_filename_for_display call.
972         * tracepoint.c (set_traceframe_context, trace_find_line_command)
973         (print_one_static_tracepoint_marker): Replace symtab->filename
974         refererences by symtab_to_filename_for_display calls.
975         * tui/tui-source.c (tui_set_source_content): New variables filename and
976         s_filename.  Replace symtab->filename refererences by this variable.
977         Replace other symtab->filename refererences by
978         symtab_to_filename_for_display calls.
979
980 2013-02-03  Eldar Gaynetdinov <hal9000ed2k@gmail.com>
981             Jan Kratochvil  <jan.kratochvil@redhat.com>
982
983         Add a new variable that controls a way in which filenames are
984         displayed.
985         * NEWS (set filename-display): New entry.
986         * source.c (filename_display_basename, filename_display_relative)
987         (filename_display_absolute, filename_display_kind_names)
988         (filename_display_string, show_filename_display_string)
989         (symtab_to_filename_for_display): New.
990         (_initialize_source): Added initialization of 'filename-display'
991         variable.
992         * source.h (symtab_to_filename_for_display): Added declaration.
993         * stack.c (print_frame): Added new variable and calling of a new
994         function and condition with this variable. Changed third argument of
995         calling of a function.
996
997 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
998
999         * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
1000         Rename field reference filename to fullname.
1001         * tui/tui-data.h (struct tui_source_info): Rename field filename to
1002         fullname.  New comment for it.
1003         * tui/tui-source.c (tui_set_source_content): Rename field reference
1004         filename to fullname.  Initialize field by symtab_to_fullname now.
1005         * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
1006         reference filename to fullname.  Use symtab_to_fullname during
1007         comparison.
1008
1009 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1010
1011         Code cleanup.
1012         * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
1013         (dw2_expand_symtabs_with_fullname): ... here.  Rename parameter
1014         filename to fullname.  Rename variable this_name to this_fullname.
1015         Lowercase FILENAME_CMP call.
1016         (dw2_find_symbol_file): New comment for the returned string.
1017         (dwarf2_gdb_index_functions): Rename the function to
1018         dw2_expand_symtabs_with_fullname.
1019         * psymtab.c (read_psymtabs_with_filename): Rename to ...
1020         (read_psymtabs_with_fullname): ... here.  Rename parameter filename to
1021         fullname.
1022         (psym_functions): Rename the function to read_psymtabs_with_fullname.
1023         * symfile.h (struct quick_symbol_functions): Rename field
1024         expand_symtabs_with_filename to expand_symtabs_with_fullname and its
1025         parameter filename to fullname.  Document returned string meaning for
1026         find_symbol_file.
1027         * symtab.c (find_line_symtab): Rename the called function to
1028         expand_symtabs_with_fullname.
1029
1030 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1031
1032         Code cleanup.
1033         * breakpoint.c (clear_command): Remove variable is_abs, unify the
1034         call of filename_cmp with compare_filenames_for_search.
1035         * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
1036         is_abs, unify the call of FILENAME_CMP with
1037         compare_filenames_for_search.  New gdb_asserts for real_path and name.
1038         Unify the call of compare_filenames_for_search with FILENAME_CMP.
1039         * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
1040         * symfile.h (struct quick_symbol_functions): Extend the comment for
1041         map_symtabs_matching_filename.
1042         * symtab.c (compare_filenames_for_search): Remove the function comment
1043         relative path requirement.  Handle absolute filenames, with a comment.
1044         (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
1045         FILENAME_CMP with compare_filenames_for_search.  New gdb_asserts for
1046         real_path and name.  Unify the call of compare_filenames_for_search
1047         with FILENAME_CMP.
1048         (iterate_over_symtabs): New gdb_assert on REAL_PATH.
1049
1050 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1051
1052         Code cleanup.
1053         * breakpoint.c (print_breakpoint_location): Replace bp_location field
1054         source_file references by symtab field references.  Remove variables
1055         sal and fullname.
1056         (momentary_breakpoint_from_master, add_location_to_breakpoint):
1057         (clear_command, say_where): Replace bp_location field source_file
1058         references by symtab field references.
1059         (bp_location_dtor): Remove the source_file reference.
1060         (update_static_tracepoint): Replace bp_location field source_file
1061         references by symtab field references.
1062         (breakpoint_free_objfile): New function.
1063         * breakpoint.h (struct bp_location): Extend the comment for line_number.
1064         Replace the field source_file by field symtab, extend its comment.
1065         (breakpoint_free_objfile): New declaration.
1066         * objfiles.c (free_objfile): Call breakpoint_free_objfile.
1067         * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
1068         field source_file references by symtab field references.
1069
1070 2013-02-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
1071
1072         Replace xfullpath calls by gdb_realpath calls.
1073         * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
1074         function comment.
1075         * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
1076         Remove it from the iterate_over_some_symtabs call.
1077         (dw2_map_symtabs_matching_filename): Remove parameter full_path.
1078         Remove it from the dw2_map_expand_apply calls, remove a block handling
1079         it.
1080         * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
1081         Remove it from the iterate_over_some_symtabs call.
1082         (partial_map_symtabs_matching_filename): Remove parameter full_path.
1083         Remove it from the partial_map_expand_apply calls, remove a block
1084         handling it.  Drop gdb_realpath call and cleanups from the real_path
1085         handling.
1086         * source.c (openp): Drop the comment part about xfullpath.  Replace
1087         xfullpath calls by gdb_realpath calls.
1088         (find_and_open_source): Replace xfullpath call by gdb_realpath call.
1089         * symfile.h (struct quick_symbol_functions): Remove parameter full_path
1090         from method map_symtabs_matching_filename and its comment.
1091         * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
1092         gdb_realpath call.
1093         * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
1094         remove it also from the function comment, remove a block handling it.
1095         Drop gdb_realpath call and cleanups from the real_path handling.
1096         (iterate_over_symtabs): Drop variable full_path and its use.
1097         * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
1098         * utils.c (xfullpath): Remove.
1099         * utils.h (xfullpath): Remove.
1100
1101 2013-02-01  Andreas Tobler  <andreast@fgznet.ch>
1102
1103         * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
1104         (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
1105         (ALLDEPFILES): Add ppc64-tdep.c.
1106         * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
1107         ppc64-tdep.o to gdb_target_obs.
1108         * ppc64-tdep.h: New file.
1109         * ppc64-tdep.c: New file.
1110         (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
1111         ppc-linux-tdep.c to here.
1112         (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
1113         (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
1114         (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
1115         (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
1116         from ppc-linux-tdep.c to here.
1117         (ppc64_convert_from_func_ptr_addr): Rename from
1118         ppc64_linux_convert_from_func_ptr_addr to
1119         ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
1120         here.
1121         * rs6000-tdep.c:
1122         (read_insn): Move from ppc-linux-tdep.c to here.
1123         (insns_match_pattern, insn_d_field, insn_ds_field): Move
1124         from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
1125         * ppc-linux-tdep.c: Include ppc64-tdep.h.
1126         Removed above functions.
1127         (ppc_linux_init_abi): Adjust.
1128
1129 2013-02-01  Aleksandar Ristovski  <aristovski@qnx.com>
1130
1131         * ada-valprint.c (ada_print_floating): Remove unused 'len'.
1132
1133 2013-02-01  Aleksandar Ristovski  <aristovski@qnx.com>
1134
1135         * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
1136
1137 2013-02-01  Pedro Alves  <palves@redhat.com>
1138
1139         * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
1140         * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
1141
1142 2013-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1143
1144         * elfread.c (elf_symfile_read): Limit separate debug info additions to
1145         files with no separate debug info.
1146         * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
1147         * symfile.c (read_symbols): Call find_separate_debug_file_in_section
1148         only for files with no separate debug info.
1149
1150 2013-01-31  Tom Tromey  <tromey@redhat.com>
1151
1152         * jit.c (jit_program_space_data): Rename from jit_inferior_data;
1153         change type.
1154         (struct jit_program_space_data): Rename from jit_inferior_data.
1155         Update comments.
1156         (get_jit_program_space_data): Rename from get_jit_inferior_data.
1157         Change return type.  Attach data to program space.
1158         (jit_program_space_data_cleanup): Rename from
1159         jit_inferior_data_cleanup; change argument type.
1160         (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
1161         change type.
1162         (jit_register_code): Update.
1163         (jit_update_inferior_cache): Remove.
1164         (jit_breakpoint_deleted): Get jit data from the location's program
1165         space.
1166         (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
1167         'ps_data', change type.
1168         (jit_inferior_init, jit_breakpoint_re_set_internal)
1169         (jit_event_handler): Update.
1170         (free_objfile_data): Get data from objfile's program space.
1171         (_initialize_jit): Update.
1172
1173 2013-01-31  Tom Tromey  <tromey@redhat.com>
1174
1175         PR gdb/13987:
1176         * jit.c (struct jit_inferior_data) <cached_code_address,
1177         jit_breakpoint>: New fields.
1178         (jit_breakpoint_re_set_internal): Fix logging.  Only create
1179         breakpoint if cached address has changed.
1180         (jit_update_inferior_cache, jit_breakpoint_deleted): New
1181         functions.
1182         (_initialize_jit): Register breakpoint deleted observer.
1183
1184 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1185
1186         * infrun.c (handle_syscall_event): Remove unused gdbarch.
1187         (save_infcall_suspend_state): Ifdef out unused inf.
1188         (restore_infcall_suspend_state): Ifdef out unused inf.
1189         * jit.c (jit_register_code): Remove unused i, b, inf_data.
1190         (jit_frame_sniffer): Remove unused inf_data.
1191
1192 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1193
1194         * c-exp.y (classify_inner_name): Remove unused type.
1195         * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
1196         in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
1197         need_escape.
1198         (c_get_string): Remove unused kind.
1199         * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
1200
1201 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1202
1203         * charset.c (intermediate_encoding): Remove unused i.
1204         * completer.c (signal_completer): Remove unused i.
1205         * continuations.c (discard_my_continuations_1): Remove unused
1206         continuation_ptr.
1207         * corelow.c (core_close): Remove unuseD name.
1208         (get_core_siginfo): Remove unused pid.
1209         * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
1210         i, cps.
1211         * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
1212         (loclist_describe_location): Remove unused first.
1213         * event-top.c (command_line_handler): Remove unused got_eof.
1214         * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
1215         (resize_section_table): Remove unused old_value.
1216         * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
1217         * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
1218         * i386-tdep.c (i386_process_record): Remove unused rex.
1219         * infcmd.c (get_return_value): Remove unused uiout.
1220         * jv-lang.c (type_from_class): Remove unused is_array.
1221         * jv-valprint.c (java_val_print): Remove unused i.
1222         * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
1223         * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
1224         * m2-typeprint.c (m2_print_type): Remove unused code.
1225         * macroexp.c (get_character_constant): Remove unused body_start.
1226         (macro_stringify): Remove unused result.
1227         * objc-lang.c (find_methods): Remove unused gdbarch.
1228         * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
1229         * regcache.c (regcache_cooked_read): Remove unused gdbarch.
1230         * stack.c (print_frame_args): Remove unused summary.
1231         * thread.c (thread_apply_command): Remove unused p.
1232         * valarith.c (value_x_unop): Remove unused mangle_ptr.
1233         * valops.c (search_struct_method): Remove unused skip.
1234         * valprint.c (generic_val_print): Remove unused byte_order.
1235         * varobj.c (varobj_update): Remove unused changed.
1236         * cli/cli-cmds.c (complete_command): Remove unused next_item.
1237         (alias_command): Remove unused c.
1238         * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
1239         * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
1240         format.
1241         (mi_cmd_data_write_memory): Remove unused word_format.
1242         (mi_cmd_data_write_memory_bytes): Remove unused r.
1243         * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
1244         p_start, p_end.
1245         * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
1246         * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
1247         line_width.
1248
1249 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1250
1251         * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
1252         * symtab.c (iterate_over_symtabs): Remove unused s.
1253         (find_pc_sect_symtab): Remove unused pspAce.
1254         (find_pc_sect_line): Remove unused alt_symtab.
1255         (find_pcs_for_symtab_line): Remove unused ix, previous_function.
1256         (completion_list_add_name): Remove unused newsize.
1257
1258 2013-01-31  Tom Tromey  <tromey@redhat.com>
1259
1260         PR c++/14998:
1261         * dwarf2read.c (read_tag_ptr_to_member_type): Handle
1262         TYPE_CODE_FUNC.
1263
1264 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1265
1266         * target.c (target_read_string): Remove unused origlen.
1267
1268 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1269
1270         * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
1271         * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
1272         * ax-general.c (ax_print): Remove unused is_float.
1273         * blockframe.c (block_innermost_frame): Remove unused start, end.
1274         * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
1275
1276 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
1277
1278         * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
1279         (svr4_read_so_list): Remove unused lmo.
1280         * solib-target.c (solib_target_relocate_section_addresses): Remove
1281         unused flags.
1282
1283 2013-01-30  Tom Tromey  <tromey@redhat.com>
1284
1285         * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
1286
1287 2013-01-30  Tom Tromey  <tromey@redhat.com>
1288
1289         * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
1290         * utils.c (gnu_debuglink_crc32): Remove.
1291         * utils.h (gnu_debuglink_crc32): Don't declare.
1292
1293 2013-01-30  Tom Tromey  <tromey@redhat.com>
1294
1295         * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
1296         (read_structure_type, read_enumeration_type): Remove cast.
1297
1298 2013-01-30  Tom Tromey  <tromey@redhat.com>
1299
1300         * dwarf2read.c (read_namespace_type): Remove cast.
1301         (read_typedef): Likewise.
1302
1303 2013-01-29  Tom Tromey  <tromey@redhat.com>
1304
1305         * dwarf2read.c (free_dwo_file): Remove assert.
1306
1307 2013-01-29  Tom Tromey  <tromey@redhat.com>
1308
1309         * value.c (deprecated_set_value_modifiable): Remove.
1310         * value.h (deprecated_set_value_modifiable): Remove.
1311
1312 2013-01-28  Doug Evans  <dje@google.com>
1313
1314         * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
1315         to addresses from dwo files.
1316
1317 2013-01-25  Siva Chandra Reddy  <sivachandra@google.com>
1318
1319         * valops.c (find_overload_match): Remove unused argument 'lax'.
1320         * value.h: Remove unused argument 'lax' from the declaration of
1321         find_overload_match.
1322         * eval.c (value_subexp_standard): Do not pass a 'lax' argument
1323         to find_overload_match.
1324         * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
1325         argument to find_overload_match.
1326
1327 2013-01-25  Tom Tromey  <tromey@redhat.com>
1328
1329         * dwarf2read.c (processing_has_namespace_info): Remove.
1330         (struct dwarf2_cu) <processing_has_namespace_info>: New field.
1331         (process_die, read_func_scope, dwarf2_start_symtab)
1332         (new_symbol_full): Update.
1333
1334 2013-01-25  Tom Tromey  <tromey@redhat.com>
1335
1336         * cp-namespace.c (cp_set_block_scope): Remove.
1337         * cp-support.h (cp_set_block_scope): Remove.
1338         * dbxread.c: Include block.h.
1339         (cp_set_block_scope): New function.
1340         (process_one_symbol): Update.
1341         * dwarf2read.c (read_func_scope): Use block_set_scope.
1342
1343 2013-01-25  Pedro Alves  <palves@redhat.com>
1344
1345         * remote.c (add_current_inferior_and_thread): Tweak comment.
1346
1347 2013-01-25  Tom Tromey  <tromey@redhat.com>
1348
1349         * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
1350         (cp_add_using_directive): Add 'copy_names' argument.
1351         * cp-support.h (cp_add_using_directive): Update.
1352         (struct using_direct) <import_src, import_dest, alias,
1353         declaration>: Now const.
1354         * dwarf2read.c (read_import_statement): Use obconcat.
1355         Don't copy names passed to cp_add_using_directive.
1356
1357 2013-01-25  Tom Tromey  <tromey@redhat.com>
1358
1359         * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
1360
1361 2013-01-25  Pedro Alves  <palves@redhat.com>
1362
1363         * remote.c (stop_reply_extract_thread): New.
1364         (add_current_inferior_and_thread): New parameter 'wait_status'.
1365         Handle it.
1366         (remote_start_remote): Pass wait status to
1367         add_current_inferior_and_thread.
1368         (extended_remote_run): Update comment.
1369         (extended_remote_create_inferior_1): Pass wait status to
1370         add_current_inferior_and_thread.
1371
1372 2013-01-25  Andrew Burgess  <aburgess@broadcom.com>
1373             Ulrich Weigand  <uweigand@de.ibm.com>
1374
1375         * valarith.c (value_vector_widen): New function for replicating a
1376         scalar into a vector.
1377         (value_binop): Use value_vector_widen to widen scalar to vector
1378         rather than casting, this better matches gcc C behaviour.
1379         * valops.c (value_casst): Update logic for casting between vector
1380         types, and for casting from scalar to vector, try to match gcc C
1381         behaviour.
1382         * value.h (value_vector_widen): Declare.
1383         * opencl-lang.c (opencl_value_cast): New opencl specific casting
1384         function, handle special case for casting scalar to vector.
1385         (opencl_relop): Use opencl_value_cast.
1386         (evaluate_subexp_opencl): Use opencl_value_cast instead of
1387         value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
1388         in order to use opencl_value_cast.
1389
1390 2013-01-25  Yao Qi  <yao@codesourcery.com>
1391
1392         * event-loop.c: Include "queue.h".
1393         (gdb_event_p): New typedef.
1394         (DECLARE_QUEUE_P): Use.
1395         (DEFINE_QUEUE_P): Use.
1396         (async_queue_event): Remove.
1397         (gdb_event_xfree): New.
1398         (initialize_event_loop): New.
1399         (process_event): Use QUEUE macros.
1400         (event_queue): Remove.
1401         (gdb_wait_for_event): Caller update.
1402         (check_async_event_handlers): Likewise.
1403         (poll_timers): Likewise.
1404         * event-loop.h (initialize_event_loop): Declare.
1405         * event-loop.c (gdb_event_xfree): New.
1406         * top.c (gdb_init): Call initialize_event_loop.
1407
1408 2013-01-25  Yao Qi  <yao@codesourcery.com>
1409
1410         * event-loop.c (async_queue_event): Remove one parameter
1411         'position'.  Remove code handling 'position' == TAIL.
1412         (gdb_wait_for_event): Caller update.
1413         (check_async_event_handlers): Caller update.
1414         (poll_timers): Caller update.
1415         * event-loop.h (enum queue_position): Remove.
1416
1417 2013-01-25  Maxim Kuvyrkov  <maxim@kugelworks.com>
1418
1419         * MAINTAINERS: Update my email.
1420
1421 2013-01-25  Yao Qi  <yao@codesourcery.com>
1422
1423         * main.c (print_gdb_help): Remove "--epoch" from the help
1424         message.
1425
1426 2013-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
1427
1428         * symtab.c (skip_prologue_using_sal): Consider a file
1429         change the same as an increased line number
1430
1431 2013-01-24  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1432
1433         * MAINTAINERS (Write After Approval): Add myself to the list.
1434
1435 2013-01-24  Tom Tromey  <tromey@redhat.com>
1436
1437         * ada-lang.h (ada_decode_symbol): Make return type const.
1438         * ada-lang.c (ada_decode_symbol): Likewise.
1439
1440 2013-01-23  Doug Evans  <dje@google.com>
1441
1442         * linespec.c (find_linespec_symbols): Make static.
1443
1444 2013-01-23  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1445
1446         * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
1447         type on float conversion for complex type.
1448
1449 2013-01-23  Siva Chandra Reddy  <sivachandra@google.com>
1450
1451         Add a new class gdb.Architecture which exposes GDB's
1452         internal representation of architecture via GDB Python API.
1453         * Makefile.in: Add entries corresponding to the new file
1454         python/py-arch.c.
1455         * NEWS (Python Scripting): Add entries for the new class
1456         gdb.Architecture and the new method gdb.Frame.architecture.
1457         * python/py-arch.c: Implement gdb.Architecture class.
1458         * python/py-frame.c (frapy_arch): Implement the method
1459         gdb.Frame.architecture().
1460         (frame_object_methods): Add 'architecture' to the method table.
1461         * python/python-internal.h: Add declarations of new utility
1462         functions.
1463         * python/python.c (_initialize_python): Initialize
1464         gdb.Architecture class.
1465
1466 2013-01-23  Doug Evans  <dje@google.com>
1467
1468         Work around binutils/15021.
1469         * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
1470         type_unit_group out of union s.  All uses updated.
1471         (read_index_from_section): Watch for index version 8.
1472         (follow_die_sig): If using .gdb_index version <= 7, record the TU as
1473         an imported symtab.
1474         (write_psymtabs_to_index): Increment version number to 8.
1475
1476 2013-01-22  Pedro Alves  <palves@redhat.com>
1477
1478         * annotate.c (breakpoint_changed): Skip if breakpoint is not
1479         user-visible.
1480
1481 2013-01-22  Pedro Alves  <palves@redhat.com>
1482
1483         * annotate.c (annotate_breakpoints_changed): Rename to ...
1484         (annotate_breakpoints_invalid): ... this.  Make static.
1485         (breakpoint_changed): Adjust.
1486         (_initialize_annotate): Always install the observers.  Install a
1487         "breakpoint_created" observer.
1488         * annotate.h (annotate_breakpoints_changed): Delete declaration.
1489         * breakpoint.c (set_breakpoint_condition)
1490         (breakpoint_set_commands, do_map_commands_command)
1491         (init_raw_breakpoint, clear_command, set_ignore_count)
1492         (enable_breakpoint_disp): No longer call
1493         annotate_breakpoints_changed.
1494
1495 2013-01-22  Pedro Alves  <palves@redhat.com>
1496
1497         * annotate.c: Include "inferior.h".
1498         (frames_invalid_emitted)
1499         (breakpoints_invalid_emitted): New globals.
1500         (async_background_execution_p): New function.
1501         (annotate_breakpoints_changed, annotate_frames_invalid): Skip
1502         emitting the annotation if it has already been emitted.
1503         (annotate_display_prompt): New function.
1504         * annotate.h (annotate_display_prompt): New declaration.
1505         * event-top.c: Include annotate.h.
1506         (display_gdb_prompt): Call annotate_display_prompt.
1507
1508 2013-01-22  Pedro Alves  <palves@redhat.com>
1509
1510         * annotate.c (ignore_count_changed): Delete.
1511         (annotate_breakpoints_changed): Don't clear ignore_count_changed.
1512         (annotate_ignore_count_change): Delete.
1513         (annotate_stopped): Don't emit a delayed breakpoints-changed
1514         annotation.
1515         * annotate.h (annotate_ignore_count_change): Delete.
1516         * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
1517         annotate_ignore_count_change.
1518
1519 2013-01-22  Tom Tromey  <tromey@redhat.com>
1520
1521         * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
1522         require_rvalue for a register location.
1523
1524 2013-01-21  Marc Khouzam  <marc.khouzam@ericsson.com>
1525
1526         * breakpoint.c (print_one_breakpoint_location): Add MI
1527         field 'thread-groups' when printing a breakpoint.
1528         (output_thread_groups): New function.
1529
1530 2013-01-21  Siva Chandra Reddy  <sivachandra@google.com>
1531
1532         * python/lib/gdb/commands/explore.py
1533         (CompoundExplorer.explore_expr): Correct the name of a method
1534         being invoked.
1535         (ExploreTypeCommand.invoke): Add a missing 'return'.
1536
1537 2013-01-21  Tom Tromey  <tromey@redhat.com>
1538
1539         * gdb_obstack.h (obconcat): Move declaration here, from...
1540         * symfile.h (obconcat): ... here.
1541         * gdb_obstack.c: New file.
1542         (obconcat): Move from...
1543         * symfile.c (obconcat): ... here.
1544         * Makefile.in (SFILES): Add gdb_obstack.c.
1545         (COMMON_OBS): Add gdb_obstack.o.
1546
1547 2013-01-21  Tom Tromey  <tromey@redhat.com>
1548
1549         * symfile.h (obsavestring): Don't declare.
1550         * symfile.c (obsavestring): Remove.
1551         * ada-exp.y: Use obstack_copy0, not obsavestring.
1552         * ada-lang.c: Use obstack_copy0, not obsavestring.
1553         * coffread.c: Use obstack_copy0, not obsavestring.
1554         * cp-namespace.c: Use obstack_copy0, not obsavestring.
1555         * dbxread.c: Use obstack_copy0, not obsavestring.
1556         * dwarf2read.c: Use obstack_copy0, not obsavestring.
1557         * jit.c: Use obstack_copy0, not obsavestring.
1558         * mdebugread.c: Use obstack_copy0, not obsavestring.
1559         * psymtab.c: Use obstack_copy0, not obsavestring.
1560         * stabsread.c: Use obstack_copy0, not obsavestring.
1561         * xcoffread.c: Use obstack_copy0, not obsavestring.
1562
1563 2013-01-21  Tom Tromey  <tromey@redhat.com>
1564
1565         * dwarf2read.c (fixup_go_packaging): Save package name
1566         on objfile obstack.
1567         * gdbtypes.c (init_type): Don't copy name.
1568
1569 2013-01-21  Tom Tromey  <tromey@redhat.com>
1570
1571         * dwarf2read.c (struct partial_die_info) <name, scope>: Now
1572         const.
1573         (struct attribute) <u.str>: Now const.
1574         (struct fnfieldlist) <name>: Now const.
1575         (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
1576         (partial_die_parent_scope): Make return type const.
1577         (partial_die_full_name, add_partial_symbol): Update.
1578         (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
1579         'name' const.
1580         (find_file_and_directory): Make 'name' and 'comp_dir' const.
1581         (read_file_scope, read_func_scope, dwarf2_add_field)
1582         (dwarf2_add_member_fn, read_structure_type)
1583         (process_enumeration_scope, read_array_type, read_module_type)
1584         (read_base_type, read_subrange_type): Update.
1585         (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
1586         (new_symbol_full, guess_full_die_structure_name): Update.
1587         (dwarf2_canonicalize_name): Return const type.  Make 'name' const.
1588         (dwarf2_name): Return const type.
1589         (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
1590         const.
1591
1592 2013-01-21  Tom Tromey  <tromey@redhat.com>
1593
1594         * gdbtypes.c (init_type): Make 'name' const.
1595         * gdbtypes.h (init_type): Update.
1596
1597 2013-01-21  Tom Tromey  <tromey@redhat.com>
1598
1599         * buildsym.c (patch_subfile_names): Use set_last_source_file.
1600         (start_symtab): Make 'name' and 'dirname' const.  Use
1601         set_last_source_file.
1602         (restart_symtab, reset_symtab_globals): Use set_last_source_file.
1603         (last_source_file): Define.  Now static.
1604         (set_last_source_file, get_last_source_file): New functions.
1605         * buildsym.h (last_source_file): Don't declare.
1606         (start_symtab): Update.
1607         (set_last_source_file, get_last_source_file): Declare.
1608         * coffread.c (complete_symtab): Use set_last_source_file.
1609         (coff_end_symtab): Likewise.
1610         (coff_symtab_read): Use set_last_source_file, get_last_source_file.
1611         * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
1612         set_last_source_file.
1613         (process_one_symbol): Use get_last_source_file.
1614         * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
1615         (psymtab_to_symtab_1): Use get_last_source_file.
1616         * xcoffread.c (process_linenos): Use get_last_source_file.
1617         (complete_symtab): Use set_last_source_file.
1618         (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
1619         (scan_xcoff_symtab): Use set_last_source_file.
1620
1621 2013-01-21  Tom Tromey  <tromey@redhat.com>
1622
1623         * symtab.c (struct demangled_name_entry) <mangled>: Now const.
1624         (symbol_set_names): Remove casts.  Handle field const-ness.
1625
1626 2013-01-21  Tom Tromey  <tromey@redhat.com>
1627
1628         * dwarf2read.c (new_symbol_full): Remove cast.
1629         * symtab.c (symbol_set_demangled_name): Make 'name' const.
1630         * symtab.h (symbol_set_demangled_name): Update.
1631
1632 2013-01-21  Tom Tromey  <tromey@redhat.com>
1633
1634         * main.c (captured_main): Call bfd_init.
1635
1636 2013-01-21  Tom Tromey  <tromey@redhat.com>
1637
1638         * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
1639         * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
1640         * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
1641         * NEWS: Update.
1642
1643 2013-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
1644
1645         * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
1646
1647 2013-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
1648
1649         Fix gdb.fortran/common-block.exp crash in PIE mode.
1650         * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
1651         LOC_COMMON_BLOCK.
1652         * f-valprint.c (info_common_command_for_block): Expect
1653         LOC_COMMON_BLOCK in gdb_assert.
1654         * symtab.h (struct general_symbol_info): Update comment for the
1655         common_block member.
1656         (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
1657         (enum address_class): New member LOC_COMMON_BLOCK.
1658
1659 2013-01-18  David Blaikie  <dblaikie@gmail.com>
1660
1661         * MAINTAINERS (Write After Approval): Add "David Blaikie".
1662
1663 2013-01-18  Tom Tromey  <tromey@redhat.com>
1664
1665         PR c++/14999:
1666         * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
1667         Call require_rvalue.
1668
1669 2013-01-18  Yao Qi  <yao@codesourcery.com>
1670
1671         * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
1672         (dbx_read_symtab): New declaration.
1673         (dbx_psymtab_to_symtab): Delete.
1674         (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
1675         Rename parameter PST to SELF.  Exchanged two parameters.
1676         (start_psymtab): Caller update.
1677         * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
1678         (dwarf2_read_symtab): New declaration.
1679         (dwarf2_psymtab_to_symtab): Delete.
1680         (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
1681         Rename parameter PST to SELF.  Exchanged two parameters.
1682         (create_partial_symtab): Caller update.
1683         * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
1684         (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
1685         Rename parameter PST to SELF.  Exchanged two parameters.
1686         (parse_partial_symbols, new_psymtab): Caller update.
1687         * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
1688         two parameters.
1689         * psymtab.c (psymtab_to_symtab): Caller update.
1690         * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
1691         (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
1692         Rename parameter PST to SELF.  Exchanged two parameters.
1693         (xcoff_start_psymtab): Caller update.
1694
1695 2013-01-18  Yao Qi  <yao@codesourcery.com>
1696
1697         * infrun.c (proceed): Rename local variable 'oneproc' to
1698         'force_step'.
1699
1700 2013-01-17  Doug Evans  <dje@google.com>
1701
1702         * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1703         (dw2_build_type_unit_groups): Delete.  All uses updated.
1704
1705         * symtab.h (struct symbol_search): Add comment.
1706
1707 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1708
1709         * symtab.c (compare_filenames_for_search): New comment for
1710         HAS_DRIVE_SPEC.
1711
1712 2013-01-17  Tom Tromey  <tromey@redhat.com>
1713
1714         * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1715
1716 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1717
1718         * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1719         initialize it by existing make_cleanup.  Call new do_cleanups.
1720
1721 2013-01-17  Tom Tromey  <tromey@redhat.com>
1722
1723         * cp-abi.c (cp_abi_completer): New function.
1724         (_initialize_cp_abi): Set completer for "set cp-abi".
1725
1726 2013-01-17  Tom Tromey  <tromey@redhat.com>
1727
1728         * mem-break.c: Remove obsolete comment.
1729         * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1730
1731 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
1732
1733         * jit.c (jit_reader_load_command): Interpret the jit reader name
1734         as an absolute path if it begins with a forward slash.
1735
1736 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
1737
1738         PR gdb/14550
1739
1740         * jit.c (finalize_symtab): Ensure that only the global block has a
1741         NULL superblock.
1742
1743 2013-01-17  Pedro Alves  <palves@redhat.com>
1744
1745         * acinclude.m4: Include ../config/plugins.m4,
1746         ../config/largefile.m4 and ../config/lead-dot.m4.  Add comments.
1747         * Makefile.in (aclocal_m4_deps): Update.
1748         * aclocal.m4: Renegerate.
1749
1750 2013-01-16  Doug Evans  <dje@google.com>
1751
1752         * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1753
1754 2013-01-16  Pedro Alves  <palves@redhat.com>
1755             Tom Tromey  <tromey@redhat.com>
1756
1757         PR cli/7221:
1758         * NEWS: Add "catch signal".
1759         * breakpoint.c (base_breakpoint_ops): No longer static.
1760         (bpstat_explains_signal): New function.
1761         (init_catchpoint): No longer static.
1762         (base_breakpoint_explains_signal): New function.
1763         (base_breakpoint_ops): Initialize new field.
1764         * breakpoint.h (enum bpstat_signal_value): New.
1765         (struct breakpoint_ops) <explains_signal>: New field.
1766         (bpstat_explains_signal): Remove macro, declare as function.
1767         (base_breakpoint_ops, init_catchpoint): Declare.
1768         * break-catch-sig.c: New file.
1769         * inferior.h (signal_catch_update): Declare.
1770         * infrun.c (signal_catch): New global.
1771         (handle_syscall_event): Update for change to
1772         bpstat_explains_signal.
1773         (handle_inferior_event): Likewise.  Always handle random signals
1774         via bpstats.
1775         (signal_cache_update): Check signal_catch.
1776         (signal_catch_update): New function.
1777         (_initialize_infrun): Initialize signal_catch.
1778         * Makefile.in (SFILES): Add break-catch-sig.c.
1779         (COMMON_OBS): Add break-catch-sig.o.
1780
1781 2013-01-16  Tom Tromey  <tromey@redhat.com>
1782
1783         * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1784         (print_one_catch_solib, print_one_catch_syscall)
1785         (print_one_catch_exec, print_one_exception_catchpoint): Emit
1786         "catch-type".
1787
1788 2013-01-16  Yao Qi  <yao@codesourcery.com>
1789
1790         * printcmd.c (current_display_number): Make it static.
1791
1792 2013-01-16  Yao Qi  <yao@codesourcery.com>
1793
1794         * infcmd.c (step_once): Don't check '!single_inst' as it was
1795         checked before.
1796
1797 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
1798
1799         * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1800
1801 2013-01-14  Tom Tromey  <tromey@redhat.com>
1802
1803         * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1804         set command.
1805         * command.h (add_setshow_string_noescape_cmd): Update.
1806         * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1807         (complete_set_gnutarget): New function.
1808         (_initialize_core): Set the "set gnutarget" completer.
1809
1810 2013-01-14  Tom Tromey  <tromey@redhat.com>
1811
1812         PR symtab/14442:
1813         * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1814         (c_type_print_modifier): Likewise.
1815         * dwarf2read.c (read_tag_restrict_type): New function.
1816         (read_type_die_1): Handle DW_TAG_restrict_type.
1817         * gdbtypes.c (make_restrict_type): New function.
1818         (recursive_dump_type): Handle TYPE_RESTRICT.
1819         * gdbtypes.h (enum type_flag_values): Renumber.
1820         (enum type_instance_flag_value): Add
1821         TYPE_INSTANCE_FLAG_RESTRICT.
1822         (TYPE_RESTRICT): New macro.
1823         (make_restrict_type): Declare.
1824
1825 2013-01-14  Tom Tromey  <tromey@redhat.com>
1826
1827         PR symtab/14931:
1828         * psymtab.c (struct psymtab_state): New.
1829         (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1830         functions.
1831         * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1832         * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1833
1834 2013-01-14  Richard Sharman  <richard_sharman@mitel.com>
1835             Pedro Alves  <palves@redhat.com>
1836
1837         PR remote/14786
1838
1839         * remote.c (remote_threads_info): Make a copy of the reply from
1840         qfThreadInfo and use that instead of rs->buf.
1841
1842 2013-01-14  Yao Qi  <yao@codesourcery.com>
1843
1844         * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1845         (dbx_psymtab_to_symtab): Likewise.
1846         * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1847         * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1848         * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1849
1850 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1851
1852         * parse.c (parse_exp_in_context): New variable inner_chain.  Call
1853         make_cleanup_restore_current_language.  Call set_language.  Move
1854         OLD_CHAIN and INNER_CHAIN cleanups.
1855         * utils.c (do_restore_current_language)
1856         (make_cleanup_restore_current_language): New functions.
1857         * utils.h (make_cleanup_restore_current_language): New declaration.
1858
1859 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
1860
1861         * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1862         non-existing files.
1863
1864         * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1865         non-existing files if FILENAME is already absolute.
1866
1867 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
1868
1869         * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1870         fputs_filtered.  Append trailing newline.
1871
1872 2013-01-11  Yao Qi  <yao@codesourcery.com>
1873             Stan Shebs  <stan@codesourcery.com>
1874
1875         * psymtab.c (init_psymbol_list): Clarify the comment.
1876
1877 2013-01-11  Yao Qi  <yao@codesourcery.com>
1878
1879         * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1880         (update_dprintf_command_list): Assert that 'printf_line' is
1881         non-null.  Remove condition check.
1882
1883 2013-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
1884
1885         Code cleanup.
1886         * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1887         type const char *.
1888         * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1889         const char *.
1890         * tui/tui-source.h (tui_source_is_displayed): Likewise.
1891
1892 2013-01-09  Anthony Green  <green@moxielogic.com>
1893
1894         * cp-abi.c (cplus_print_vtable): Don't return value from void
1895         function.
1896         * ada-lang.c (re_set_catch_assert): Ditto.
1897
1898 2013-01-09  Doug Evans  <dje@google.com>
1899
1900         * symfile.h (quick_symbol_functions): Delete member
1901         pre_expand_symtabs_matching.  All uses removed.
1902         * dwarf2read.c (dw2_lookup_symbol): Implement.
1903         (dw2_do_expand_symtabs_matching): Delete.
1904         (dw2_pre_expand_symtabs_matching): Delete.
1905         (struct dw2_symtab_iterator): New type.
1906         (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1907         (dw2_expand_symtabs_for_function): Rewrite.
1908         (dwarf2_gdb_index_functions): Update.
1909         * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1910         (psym_functions): Update.
1911
1912 2013-01-09  Tom Tromey  <tromey@redhat.com>
1913
1914         * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1915         * configure: Rebuild.
1916         * configure.ac: Add somread.o to the build if BFD has SOM
1917         support.
1918         * somread.c: Include som/aout.h, not syms.h.
1919         (som_symtab_read): Use som_external_symbol_dictionary_record.
1920         Unpack records manually.
1921         (_initialize_somread): Declare.
1922
1923 2012-01-08  Mike Frysinger  <vapier@gentoo.org>
1924
1925         * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1926         Cast return_address to 64bits.
1927
1928 2013-01-08  Hui Zhu  <hui_zhu@mentor.com>
1929
1930         * printcmd.c: Remove define of function output_command.
1931         * tracepoint.c: Remove extern of function output_command.
1932         * valprint.h: (output_command): New extern.
1933
1934 2013-01-07  Tom Tromey  <tromey@redhat.com>
1935
1936         * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1937         Remove.
1938         (objc_language_defn): Use c_printchar, c_printstr,
1939         c_emit_char.
1940
1941 2013-01-07  Tom Tromey  <tromey@redhat.com>
1942
1943         PR cli/7719:
1944         * NEWS: Update.
1945         * ada-valprint.c (printstr, print_field_values): Remove
1946         "inspect_it" code.
1947         * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1948         code.
1949         * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1950         code.
1951         * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1952         * main.c (captured_main): Remove "epoch" argument.
1953         * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1954         * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1955         * p-valprint.c (pascal_object_print_value_fields): Remove
1956         "inspect_it" code.
1957         * printcmd.c (print_command_1): Remove 'inspect' argument.
1958         (print_command, call_command): Update.
1959         (inspect_command): Remove.
1960         (_initialize_printcmd): Make "inspect" an alias for "print".
1961         * top.c (epoch_interface): Remove.
1962         * top.h (epoch_interface): Remove.
1963         * valprint.c (user_print_options): Update.
1964         (print_converted_chars_to_obstack): Remove "inspect_it" code.
1965         * valprint.h (struct value_print_options) <inspect_it>: Remove
1966         field.
1967
1968 2013-01-04  Tom Tromey  <tromey@redhat.com>
1969
1970         * valprint.h (read_string): Add 'extern'.
1971
1972 2013-01-07  Joel Brobecker  <brobecker@adacore.com>
1973
1974         * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1975         used to decide whether to define darwin_read_dyld_info or not.
1976
1977 2013-01-03  Pierre Muller  <muller@sourceware.org>
1978
1979         * main.c (relocate_gdb_directory): Avoid calling stat function
1980         if DIR is empty.
1981
1982 2013-01-03  Yao Qi  <yao@codesourcery.com>
1983
1984         * psymtab.c (fixup_psymbol_section): Update declaration.
1985         (fixup_psymbol_section): Remove code returning value.
1986
1987 2013-01-03  Yao Qi  <yao@codesourcery.com>
1988
1989         * symtab.h: Remove some out of date comments.
1990          (enum exception_event_kind): Move it ...
1991         * breakpoint.c: ... here.
1992
1993 2013-01-02  Iain Sandoe  <developer@sandoe-acoustics.co.uk>
1994
1995         PR gdb/14405
1996         * darwin-nat.c (darwin_read_dyld_info): Only build if
1997         TASK_DYLD_INFO_COUNT is defined.
1998         (darwin_xfer_partial): Call darwin_read_dyld_info only if
1999         TASK_DYLD_INFO_COUNT is defined.
2000
2001 2013-01-02  Tom Tromey  <tromey@redhat.com>
2002
2003         * symfile.h (struct ecoff_debug_hack): Remove.
2004         * objfiles.c: Don't include mdebugread.h.
2005
2006 2013-01-02  Tom Tromey  <tromey@redhat.com>
2007
2008         * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
2009         * configure.ac: Check for Mach-O support in BFD.  Update
2010         CONFIG_OBS.
2011         * configure: Rebuild.
2012
2013 2013-01-02  Tom Tromey  <tromey@redhat.com>
2014
2015         * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
2016         * configure.ac: Use GDB_AC_CHECK_BFD.
2017         * configure: Rebuild.
2018
2019 2013-01-01  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2020
2021         * MAINTAINERS: Update my email.
2022
2023 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
2024
2025         * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
2026
2027 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
2028
2029         * rs6000-nat.c (bss_data_overlap): New function.
2030         (vmap_symtab): Use it to adjust the .bss section's offset.
2031
2032 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
2033
2034         Update year range in copyright notice of all files.
2035
2036 2013-01-01, 13  Joel Brobecker  <brobecker@adacore.com>
2037
2038         * top.c (print_gdb_version): Update copyright year.
2039
2040 For older changes see ChangeLog-2012.
2041 \f
2042 Local Variables:
2043 mode: change-log
2044 left-margin: 8
2045 fill-column: 74
2046 version-control: never
2047 coding: utf-8
2048 End: