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