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