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