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