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