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