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