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