]> Git Repo - binutils.git/blame - gdb/ChangeLog
daily update
[binutils.git] / gdb / ChangeLog
CommitLineData
086850b2
UW
12013-09-18 Raunaq Bathija <[email protected]>
2 Ulrich Weigand <[email protected]>
3
4 * xcoffread.c (struct coff_symbol): Use CORE_ADDR as type
5 of c_value member.
6 (read_xcoff_symtab): Use CORE_ADDR as type of fcn_start_addr.
7
ca08a94c 82013-09-18 Pedro Alves <[email protected]>
d255f61f 9 Yue Lu <[email protected]>
ca08a94c
PA
10
11 * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
12 (gnu_create_inferior)
13 (gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
14 (set_sig_thread_cmd): Use the lwpid field of ptids to
15 store/extract thread ids instead of the tid field.
16 * i386gnu-nat.c (gnu_fetch_registers): Adjust.
17
e4c6a2c4
AB
182013-09-18 Andrew Burgess <[email protected]>
19
20 * infcmd.c (default_print_one_register_info): Add detection of
21 optimized out values.
22 (default_print_registers_info): Switch to using
23 get_frame_register_value.
24
58c48e72
MM
252013-09-18 Markus Metzger <[email protected]>
26
27 * infrun.c (handle_inferior_event): Check if we know the
28 function start address before setting a resume breakpoint.
29
c8d37639
PA
302013-09-18 Pedro Alves <[email protected]>
31
32 * gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to
33 minus_one_ptid instead of looking at the ptid's tid field and
34 comparing that to -1.
35
71926e28
AB
362013-09-18 Andrew Burgess <[email protected]>
37
38 * main.h (get_gdb_program_name): Remove extra whitespace.
39
c88a1531
AB
402013-09-18 Andrew Burgess <[email protected]>
41
42 * main.h (get_gdb_program_name): Add declaration.
43 * main.c (get_gdb_program_name): Add definition.
44
4390d890
DE
452013-09-17 Doug Evans <[email protected]>
46
47 * dwarf2read.c: Move definitions of complaint functions to after
48 forward declarations of local functions.
49
49fa26b0
PA
502013-09-17 Muhammad Waqas <[email protected]>
51 Pedro Alves <[email protected]>
52
53 PR gdb/11568
54 * breakpoint.c (remove_threaded_breakpoints): New function.
55 (_initialize_breakpoint): Attach remove_threaded_breakpoints
56 as thread_exit observer.
57
08d72866
PA
582013-09-17 Pedro Alves <[email protected]>
59
60 PR gdb/15911
61 * ada-tasks.c (task_command_1): Adjust call to print_stack_frame.
62 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
63 * corelow.c (core_open):
64 * frame.h (print_stack_frame, print_frame_info): New
65 'set_current_sal' parameter.
66 * infcmd.c (finish_command, kill_command): Adjust call to
67 print_stack_frame.
68 * inferior.c (inferior_command): Likewise.
69 * infrun.c (normal_stop): Likewise.
70 * linux-fork.c (linux_fork_context): Likewise.
71 * record-full.c (record_full_goto_entry, record_full_restore):
72 Likewise.
73 * remote-mips.c (common_open): Likewise.
74 * stack.c (print_stack_frame): New 'set_current_sal' parameter.
75 Use it.
76 (print_frame_info): New 'set_current_sal' parameter. Set the last
77 displayed sal depending on the new paremeter instead of looking at
78 print_what.
79 (backtrace_command_1, select_and_print_frame, frame_command)
80 (current_frame_command, up_command, down_command): Adjust call to
81 print_stack_frame.
82 * thread.c (print_thread_info, restore_selected_frame)
83 (do_captured_thread_select): Adjust call to print_stack_frame.
84 * tracepoint.c (tfind_1): Likewise.
85 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
86 (mi_cmd_stack_info_frame): Likewise.
87 * mi/mi-interp.c (mi_on_normal_stop): Likewise.
88 * mi/mi-main.c (mi_cmd_exec_return, mi_cmd_trace_find): Likewise.
89
6bc305f5
SDJ
902013-09-16 Sergio Durigan Junior <[email protected]>
91
92 * value.c (isvoid_internal_fn): Replace "parameter" with
93 "argument".
94
0a7cfe2c
SS
952013-09-16 Stan Shebs <[email protected]>
96
97 * README: Update references to writing code for GDB.
98 * configure.ac (build_warnings): Remove obsolete comment.
99 * configure: Regenerate.
100 * gdbarch.sh: Remove references to gdbint.texinfo.
101 * gdbarch.h: Regenerate.
102 * gdbtypes.c (objfile_type): Remove comments referencing internals
103 manual and D10V.
104
a280dbd1
SDJ
1052013-09-16 Sergio Durigan Junior <[email protected]>
106
107 * NEWS: Mention new convenience function $_isvoid.
108 * value.c (isvoid_internal_fn): New function.
109 (_initialize_values): Add new convenience function $_isvoid.
110
04a83fee
PM
1112013-09-16 Pierre Muller <[email protected]>
112
113 * arm-linux-tdep.c: Add "elf/common.h" header.
114 Remove AT_HWCAP macro definintion as it is provided in
115 added include file.
116 * s390-tdep.c: Remove system header <elf.h>
117 Add "elf/common.h" header for AT_HWCAP definition.
118 (s390_core_read_description): Use correct CORE_ADDR
119 for hwcap local variable used as third parameter
120 of function target_auxv_search.
121
88505fac
PM
1222013-09-14 Pierre Muller <[email protected]>
123 Tom Tromey <[email protected]>
124 Pedro Alves <[email protected]>
125
126 * common/filestuff.c (gdb_fopen_cloexec): Do not try to use "e"
127 mode if operating system doesn't know O_CLOEXEC.
128
d3846e71
JK
1292013-09-13 Jan Kratochvil <[email protected]>
130
131 Code cleanup.
132 * symfile.c (reread_symbols): Move variable obfd_filename to a more
133 inner block.
134
4ac33720
UW
1352013-09-13 Andreas Arnez <[email protected]>
136
137 * NEWS: Mention TDB support.
138 * features/s390-tdb.xml: New file.
139 * features/s390-te-linux64.xml: New file.
140 * features/s390x-te-linux64.xml: New file.
141 * features/Makefile (WHICH): Add new tdescs above.
142 (s390-te-linux64-expedite): Set.
143 (s390x-te-linux64-expedite): Set.
144 * features/s390-te-linux64.c: New file (generated).
145 * features/s390x-te-linux64.c: New file (generated).
146 * regformats/s390-te-linux64.dat: New file (generated).
147 * regformats/s390x-te-linux64.dat: New file (generated).
148 * s390-tdep.h (HWCAP_S390_HIGH_GPRS): Define.
149 (HWCAP_S390_TE): Likewise.
150 (S390_TDB_DWORD0_REGNUM): Likewise.
151 (S390_TDB_DWORD0_REGNUM): Likewise.
152 (S390_TDB_ABORT_CODE_REGNUM): Likewise.
153 (S390_TDB_CONFLICT_TOKEN_REGNUM): Likewise.
154 (S390_TDB_ATIA_REGNUM): Likewise.
155 (S390_TDB_R0_REGNUM): Likewise.
156 (S390_TDB_R1_REGNUM): Likewise.
157 (S390_TDB_R2_REGNUM): Likewise.
158 (S390_TDB_R3_REGNUM): Likewise.
159 (S390_TDB_R4_REGNUM): Likewise.
160 (S390_TDB_R5_REGNUM): Likewise.
161 (S390_TDB_R6_REGNUM): Likewise.
162 (S390_TDB_R7_REGNUM): Likewise.
163 (S390_TDB_R8_REGNUM): Likewise.
164 (S390_TDB_R9_REGNUM): Likewise.
165 (S390_TDB_R10_REGNUM): Likewise.
166 (S390_TDB_R11_REGNUM): Likewise.
167 (S390_TDB_R12_REGNUM): Likewise.
168 (S390_TDB_R13_REGNUM): Likewise.
169 (S390_TDB_R14_REGNUM): Likewise.
170 (S390_TDB_R15_REGNUM): Likewise.
171 (S390_NUM_REGS): Increase.
172 (S390_IS_TDBREGSET_REGNUM): New macro.
173 (s390_regmap_tdb): Declare.
174 (s390_sizeof_tdbregset): Define.
175 (tdesc_s390_te_linux64): Declare.
176 (tdesc_s390x_te_linux64): Likewise.
177 * s390-tdep.c: Add includes for "auxv.h", <elf.h>,
178 "features/s390-te-linux64.c", and "features/s390x-te-linux64.c".
179 (s390_regmap_tdb): New regmap.
180 (s390_supply_tdb_regset): New function.
181 (s390_tdb_regset): New regset.
182 (s390_linux64v2_regset_sections): Add TDB regset to list.
183 (s390x_linux64v2_regset_sections): Likewise.
184 (s390_regset_from_core_section): Recognize TDB core note section.
185 (s390_core_read_description): If HWCAP indicates TE support,
186 select tdesc_s390_te_linux64 or tdesc_s390_s390x_te_linux64.
187 (s390_gdbarch_init): Handle TDB regset.
188 (_initialize_s390_tdep): Initialize new tdescs.
189 * s390-nat.c (HWCAP_S390_HIGH_GPRS): Remove define.
190 (have_regset_tdb): New variable.
191 (s390_native_supply): Support register invalidation.
192 (fetch_regset): Invalidate registers if ptrace yields ENODATA.
193 (check_regset): Treat ENODATA as "regset exists".
194 (s390_linux_fetch_inferior_registers): Add TDB.
195 (s390_read_description): Check for TDB existence and select
196 appropriate tdesc.
197 * gdbserver/Makefile.in (clean): Add removal of new makefile
198 targets.
199 (s390-te-linux64.c): New makefile target.
200 (s390x-te-linux64.c): Likewise.
201 * gdbserver/configure.srv (srv_regobj): Append new objects
202 s390-te-linux64.o and s390x-te-linux64.o.
203 (srv_xmlfiles): Append new files s390-te-linux64.xml,
204 s390x-te-linux64.xml, and s390-tdb.xml.
205 * gdbserver/linux-s390-low.c (init_registers_s390_te_linux64): New
206 declaration.
207 (tdesc_s390_te_linux64): Likewise.
208 (init_registers_s390x_te_linux64): Likewise.
209 (tdesc_s390x_te_linux64): Likewise.
210 (s390_check_regset): Treat ENODATA as "regset exists".
211 (s390_arch_setup): Add TDB regset support.
212 (initialize_low_arch): Initialize registers for new tdescs.
213
2ccd1468
UW
2142013-09-13 Andreas Arnez <[email protected]>
215
216 * s390-tdep.h (S390_IS_GREGSET_REGNUM): New macro.
217 (S390_IS_FPREGSET_REGNUM): New macro.
218 * s390-tdep.c (s390_dwarf_regmap): Make const.
219 (regnum_is_gpr_full): New function for replacing repeated code.
220 (s390_pseudo_register_name): Use it.
221 (s390_pseudo_register_type): Likewise.
222 (s390_pseudo_register_read): Likewise.
223 (s390_pseudo_register_write): Likewise.
224 (s390_unwind_pseudo_register): Likewise.
225 (s390_regmap_gregset): New format for regmap.
226 (s390x_regmap_gregset): Likewise.
227 (s390_regmap_fpregset): Likewise.
228 (s390_regmap_upper): Likewise.
229 (s390_regmap_last_break): Likewise.
230 (s390_regmap_system_call): Likewise.
231 (s390_supply_regset): Adjust to new regmap format.
232 (s390_collect_regset): Likewise.
233 * s390-nat.c (s390_native_supply): Adjust to new regmap format.
234 (s390_native_collect): Likewise.
235 (supply_gregset): Likewise.
236 (fill_gregset): Likewise.
237 (supply_fpregset): Likewise.
238 (fill_fpregset): Likewise.
239 (fetch_regset): Likewise.
240 (store_regset): Likewise.
241 (s390_linux_fetch_inferior_registers): Likewise.
242 (s390_linux_fetch_inferior_registers): Likewise.
243
1aa4cd77
AP
2442013-09-12 Andrew Pinski <[email protected]>
245
246 * aarch64-linux-nat.c (aarch64_linux_set_debug_regs): Zero out regs.
247
d91fab15
UW
2482013-09-10 Andreas Arnez <[email protected]>
249
250 * config/s390/s390.mh (NATDEPFILES): Add linux-waitpid.o.
251
5a5d8ead
AB
2522013-09-09 Andrew Burgess <[email protected]>
253
254 * top.c (quit_confirm): Remove use of deprecated_init_ui_hook.
255
1385f66c
PA
2562013-09-06 Pedro Alves <[email protected]>
257
258 * remote-sim.c (dump_mem, gdbsim_fetch_register)
259 (gdbsim_store_register, gdbsim_kill, gdbsim_load)
260 (gdbsim_create_inferior, gdbsim_open, gdbsim_close)
261 (gdbsim_detach, gdbsim_resume_inferior, gdbsim_wait)
262 (gdbsim_files_info, gdbsim_mourn_inferior): Send debug output to
263 gdb_stdlog.
264
146ec4db
PA
2652013-09-06 Pedro Alves <[email protected]>
266
267 * remote-sim.c (dump_mem): Constify buf parameter.
268 gdbsim_xfer_inferior_memory): Rename to ...
269 (gdbsim_xfer_memory): ... this. Adjust interface as
270 target_xfer_partial helper.
271 (gdbsim_xfer_partial): New function.
272 (init_gdbsim_ops): Don't install a deprecated_xfer_memory hook.
273 Install a to_xfer_partial hook. Send output to gdb_stdlog.
274
fcde0081
PA
2752013-09-06 Pedro Alves <[email protected]>
276
277 * remote-sim.c (gdbsim_xfer_inferior_memory): Use
278 host_address_to_string, and send debug output to gdb_stdlog.
279
749c8b38
RW
2802013-09-06 Ricard Wanderlof <[email protected]>
281
282 * Makefile.in (ALL_TARGET_OBS): Add cris-linux-tdep.o.
283 * configure.tgt: Add cris-linux-tdep.o and linux-tdep.o to
284 gdb_target_obs for cris target.
285 * cris-tdep.c (struct gdbarch_tdep): Move to cris-tdep.h.
286 (cris_gdbarch_init): Move calls to
287 set_gdbarch_fetch_tls_load_module_address and
288 set_solib_svr4_fetch_link_map_offsets to cris-linux-tdep.c.
289 Add call to gdbarch_init_osabi.
290 * cris-linux-tdep.c: New file.
291 * cris-tdep.h: New file.
292
43df09d9
AB
2932013-09-06 Andrew Burgess <[email protected]>
294
295 * tui/tui-io.c (tui_initialize_io): Remove legacy comment referring
296 to deprecated_init_ui_hook.
297
4d09c5b4
AB
2982013-09-06 Andrew Burgess <[email protected]>
299
300 * cli/cli-interp.c (_initialize_cli_interp): Add a
301 command_loop_proc to interp_procs.
302 * event-top.c (cli_command_loop): Change signature to match
303 interp_command_loop_ftype.
304 * event-top.h (cli_command_loop): Same.
305 * interps.c (interp_new): Require every interpreter to have a
306 command_loop_proc.
307 (current_interp_command_loop): Just call the command_loop_proc on
308 the current interpreter.
309 * tui/tui-interp.c (_initialize_tui_interp): Add a
310 command_loop_proc to interp_procs.
311
8eb3d7b6
RW
3122013-09-06 Ricard Wanderlof <[email protected]>
313
314 * cris-tdep.c (cris_gdbarch_init): Add call to
315 get_gdbarch_fetch_tls_load_module_address.
316
18b3c2f5
RW
3172013-09-06 Ricard Wanderlof <[email protected]>
318
319 * cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
320 (cris_elf_gregset_t): Rename from elf_gregset_t.
321 (crisv32_elf_gregset_t): Adjust.
322 (cris_supply_gregset, fetch_core_registers): Adjust.
323
dc8636ef
RW
3242013-09-06 Ricard Wanderlof <[email protected]>
325
326 * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
327
257e6d53
AB
3282013-09-05 Andrew Burgess <[email protected]>
329
1581d8a7 330 * defs.h (deprecated_command_loop_hook): Remove, including
257e6d53 331 references in comments.
1581d8a7 332 * interps.c (current_interp_command_loop): No longer use
257e6d53
AB
333 deprecated_command_loop_hook.
334 (clear_interpreter_hooks): Remove deprecated_command_loop_hook
335 setup.
1581d8a7 336 * top.c (deprecated_command_loop_hook): Remove.
257e6d53 337
7c33b57c
PA
3382013-09-05 Pedro Alves <[email protected]>
339
340 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
341 local is now int instead of ULONGEST. Print it with %d
342 instead of paddress.
343
9f8edbd5
TG
3442013-09-05 Tristan Gingold <[email protected]>
345
346 * MAINTAINERS: Remove avr maintainership.
347
d5b495b4
PA
3482013-09-05 Pedro Alves <[email protected]>
349
350 * findvar.c (value_of_register): Rework in terms of
351 value_of_register_lazy.
352
40b91786
MB
3532013-09-05 Muhammad Bilal <[email protected]>
354
355 * symfile.c (add_symbol_file_command): Remove trailing
356 whitespaces and blank line after comment.
357
6eed1678
PA
3582013-09-05 Pedro Alves <[email protected]>
359
360 * tui/tui-regs.c (tui_register_format): Don't look at the
361 register's name here. Return string representing register
362 value instead of storing it in the data element.
363 (tui_get_register): Compare register string representations
364 instead of register value states and contents.
365
8eb6bda2
PA
3662013-09-05 Pedro Alves <[email protected]>
367
368 PR tui/15933
369 * tui/tui-regs.c (tui_show_registers): Show registers of the
370 selected frame, not the current frame.
371
48b1f08c
RW
3722013-09-05 Ricard Wanderlof <[email protected]>
373
374 * MAINTAINERS (Write After Approval): Add myself to the list.
375
89e63ee4
DE
3762013-09-04 Doug Evans <[email protected]>
377
378 * dwarf2read.c (queue_and_load_all_dwo_tus): New function.
379 (queue_and_load_dwo_tu): New function.
380 (lookup_dwo_signatured_type): Set per_cu.tu_read.
381 (maybe_queue_comp_unit): Rename this_cu argument to dependent_cu.
382 Make dependent_cu optional.
383 (dw2_do_instantiate_symtab): If we just loaded a CU from a DWO,
384 and an older .gdb_index is in use, queue and load all its TUs too.
385
492c0ab7
JK
3862013-09-04 Jan Kratochvil <[email protected]>
387
388 Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH.
389 * cli/cli-cmds.c (find_and_open_script): Add OPF_RETURN_REALPATH to
390 variable search_flags.
391 * defs.h (OPF_DISABLE_REALPATH): Rename to ...
392 (OPF_RETURN_REALPATH): ... here.
393 * dwarf2read.c (try_open_dwop_file): Set OPF_RETURN_REALPATH for flags.
394 * exec.c (exec_file_attach): Remove OPF_DISABLE_REALPATH from openp
395 call. Twice.
396 * nto-tdep.c (nto_find_and_open_solib): Add OPF_RETURN_REALPATH for
397 openp call.
398 * solib.c (solib_find): Likewise. Four times.
399 * source.c (openp): Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH
400 in the function comment and for the realpath_fptr variable.
401 (source_full_path_of): Add OPF_RETURN_REALPATH for openp call.
402 (find_and_open_source): Likewise. Twice.
403 * symfile.c (symfile_bfd_open): Likewise, also twice.
404
23a44de8
DE
4052013-09-04 Doug Evans <[email protected]>
406
407 * progspace.c (save_current_space_and_thread): Remove unnecessary
408 call to save_current_inferior.
409
47061676
AB
4102013-09-04 Andrew Burgess <[email protected]>
411
412 * sh64-tdep.c (sh64_do_register): Return after printing message
413 about unavailable register contents.
414
41dc8db8
MB
4152013-09-04 Muhammad Bilal <[email protected]>
416 Pedro Alves <[email protected]>
417
418 * symfile.c (add_symbol_file_command): Error out on unknown
419 option. Handle EXPECTING_SEC_ADDR/EXPECTING_SEC_NAME before '-'
420 options and collapse into single conditional branch.
421
07107ca6
LM
4222013-09-03 Luis Machado <[email protected]>
423
a7ea61cf 424 * inf-child.c (inf_child_follow_fork): New parameter
07107ca6
LM
425 detach_fork.
426 * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
427 * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
428 * inferior.h (detach_fork): Remove.
429 * infrun.c (detach_fork): Adjust comment and make it
430 static.
431 (follow_fork): Pass detach_fork parameter to
432 target_follow_fork.
433 * linux-nat.c (linux_child_follow_fork): New parameter
434 detach_fork.
435 * target.c (target_follow_fork): New parameter detach_fork.
436 Pass detach_fork as parameter and print its value.
437 * target.h (struct target_ops) <to_follow_fork>: New int
438 parameter.
439 (target_follow_fork): New parameter detach_fork.
440
3bec2768
JB
4412013-09-03 Joel Brobecker <[email protected]>
442
443 * solib-ia64-hpux.c (ia64_hpux_relocate_section_addresses):
444 Replace sec->bfd by sec->the_bfd_section->owner.
445
c01cbb3d
YQ
4462013-09-03 Yao Qi <[email protected]>
447
448 * linux-tdep.c (linux_is_uclinux): New function. Code moved
449 from linux_has_shared_address_space.
450 (linux_has_shared_address_space): Call linux_is_uclinux.
451 * linux-tdep.h (linux_is_uclinux): Declare.
452 * m68klinux-tdep.c (m68k_linux_get_sigtramp_info): Call
453 linux_is_uclinux.
454
7b00db47
YQ
4552013-09-03 Yao Qi <[email protected]>
456
457 * config/djgpp/fnchange.lst: Remove entry of
458 i386-interix-nat.c and i386-interix-tdep.c.
459 * configure.ac: Remove '*-*-interix*'.
460 * configure: Re-generated.
461 * defs.h (enum gdb_osabi): Remove GDB_OSABI_INTERIX.
462 * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Remove
463 obsolete comments.
464 * osabi.c (gdb_osabi_names): Remove "Interix".
465
0f9741f2
YQ
4662013-09-03 Yao Qi <[email protected]>
467
468 * arch-utils.c: Fix typo in the comment to gdbarch_update_p.
469
1e038f67
MM
4702013-09-02 Markus Metzger <[email protected]>
471
472 * record.h (record_print_flag) <record_print_src_line,
473 record_print_insn_range>: Rename into ...
474 (record_print_flag) <record_print_src_line,
475 record_print_insn_range>: ... this. Update all users.
476
9e52adf9
PM
4772013-09-02 Pierre Muller <[email protected]>
478
479 * windows-nat.c (windows_xfer_memory): Handle ERROR_PARTIAL_COPY
480 error code.
481
a2388568
PM
4822013-09-02 Pierre Muller <[email protected]>
483
484 * windows-nat.c (windows_xfer_memory): Fix compilation failure
485 by use of plongest function.
486
9058cc3a
TG
4872013-09-02 Tristan Gingold <[email protected]>
488
489 * NEWS: Add entry mentioning support for native Windows x64
490 SEH data.
491
492 * amd64-windows-tdep.c: #include "objfiles.h", "frame-unwind.h",
493 "coff/internal.h", "coff/i386.h", "coff/pe.h" and "libcoff.h".
494 (struct amd64_windows_frame_cache): New struct.
495 (amd64_windows_w2gdb_regnum): New global.
496 (pc_in_range, amd64_windows_frame_decode_epilogue)
497 (amd64_windows_frame_decode_insns, amd64_windows_find_unwind_info)
498 (amd64_windows_frame_cache, amd64_windows_frame_prev_register)
499 (amd64_windows_frame_this_id): New functions.
500 (amd64_windows_frame_unwind): New static global.
501 (amd64_windows_skip_prologue): New function.
502 (amd64_windows_init_abi): Call frame_unwind_prepend_unwinder
503 with amd64_windows_frame_unwind. Call set_gdbarch_skip_prologue
504 with amd64_windows_skip_prologue.
505
3161820b 5062013-08-30 Joel Brobecker <[email protected]>
507
508 GDB 7.6.1 released.
509
02457c76
PA
5102013-08-30 Pedro Alves <[email protected]>
511
512 * mi/mi-main.c (mi_cmd_trace_find): Use LOC_AND_ADDRESS instead of
513 SRC_AND_LOC.
514
e0162910
PA
5152013-08-30 Pedro Alves <[email protected]>
516
517 * thread.c (restore_selected_frame): Use SRC_AND_LOC, and change
518 warning text.
519
6391ce51
PA
5202013-08-30 Pedro Alves <[email protected]>
521
522 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
523 Adjust arguments to print_stack_frame.
524
d1da0587
PA
5252013-08-30 Pedro Alves <[email protected]>
526
527 * ada-tasks.c (task_command_1): Write SRC_AND_LOC instead '1'.
528
adfd8245
PA
5292013-08-30 Pedro Alves <[email protected]>
530
531 * frame.h (show_and_print_stack_frame): Delete declaration.
532
96d9056e
PM
5332013-08-30 Phil Muldoon <[email protected]>
534
535 PR python/15461
536
537 * python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro.
538 (archpy_name): Check for valid architecture.
539 (archpy_disassemble): Ditto.
540
11cb8762
JB
5412013-08-29 Joel Brobecker <[email protected]>
542
543 * rs6000-nat.c (rs6000_ptrace32): Cast "addr" to "uintptr_t"
544 instead of "long long" in call to ptrace64.
545
1af12a7d
AB
5462013-08-29 Andrew Burgess <[email protected]>
547
548 * mi/mi-interp.c (mi_command_loop): Change signature to match
549 interp_command_loop_ftype.
550 (mi1_command_loop): Remove.
551 (mi2_command_loop): Remove.
552 (mi3_command_loop): Remove.
553 (mi_interpreter_resume): Remove setting of
554 deprecated_command_loop_hook.
555 (_initialize_mi_interp): Set mi_command_loop as the command loop
556 callback.
557
acc900c2
SA
5582013-08-29 Sanimir Agovic <[email protected]>
559
560 * valops.c (do_search_struct_field): Pass v2 instead of base_type to
561 value_type.
562
548b762d
SA
5632013-08-29 Sanimir Agovic <[email protected]>
564
565 * value.c (allocate_value_contents): Make static.
566 * value.h (allocate_value_contents): Remove prototype.
567
08039c9e
SA
5682013-08-29 Sanimir Agovic <[email protected]>
569
570 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use value_at_lazy instead
571 of assembling value via allocate_value_lazy and attribute setter.
572 * findvar.c (default_read_var_value): Use value_at_lazy instead of
573 assembling value via allocate_value_lazy and attribute setter.
574 * valops.c (do_search_struct_field): Use value_at_lazy instead of
575 assembling value via allocate_value_lazy and attribute setter.
576
314c7de9
SA
5772013-08-29 Sanimir Agovic <[email protected]>
578
579 * value.c (value_from_contents_and_address): Replace allocate_value and
580 memcpy with value_from_contents.
581
8f28f522
PM
5822013-08-29 Phil Muldoon <[email protected]>
583
584 * python/py-framefilter.c (py_print_frame): Remove usage of
585 PyString_AsString. Use python_string_to_host_string instead.
586 Refactor function to work with a string as a new allocation
587 instead of a pointer.
588 (py_print_frame): Ditto.
589 * python/lib/gdb/frames.py (return_list): Cain iterators together
590 instead of adding them as a list.
591 (_sort_list): Call return_list, and remove duplicate code.
592 (execute_frame_filters): Convert iterator to a list with list().
593 * python/lib/gdb/command/frame_filters.py
594 (SetFrameFilterPriority._set_filter_priority): Convert priority
595 attribute to an integer.
596 * python/lib/gdb/FrameIterator.py (FrameIterator.next): Define
597 wrapper function __next__.
598 * python/lib/gdb/FrameDecorator.py: If basestring not defined,
599 define as "str".
600
8ee002df
PM
6012013-08-29 Phil Muldoon <[email protected]>
602
603 PR python/15752
8ee002df
PM
604 * python/py-framefilter.c (apply_frame_filter): Check
605 gdb_python_initialized. Exit if the Python frame-filter code
606 cannot be initialized.
607
af4c453a
PM
6082013-08-29 Phil Muldoon <[email protected]>
609
610 PR cli/15842
af4c453a
PM
611 * top.c (print_gdb_version): Remove erroneous newline after help
612 text.
613
bf8793bb
YQ
6142013-08-29 Yao Qi <[email protected]>
615
616 * varobj.c (install_dynamic_child): Remove trailing space.
617 Add one blank line after variable declaration.
618
1f0c4988
JK
6192013-08-28 Jan Kratochvil <[email protected]>
620
621 PR gdb/15415
622 * corefile.c (get_exec_file): Use exec_filename.
623 * defs.h (OPF_DISABLE_REALPATH): New definition. Add new comment.
624 * exec.c (exec_close): Free EXEC_FILENAME.
625 (exec_file_attach): New variable canonical_pathname. Use
626 OPF_DISABLE_REALPATH. Call gdb_realpath explicitly. Set
627 EXEC_FILENAME.
628 * exec.h (exec_filename): New.
629 * inferior.c (print_inferior, inferior_command): Use
630 PSPACE_EXEC_FILENAME.
631 * mi/mi-main.c (print_one_inferior): Likewise.
632 * progspace.c (clone_program_space, print_program_space): Likewise.
633 * progspace.h (struct program_space): New field pspace_exec_filename.
634 * source.c (openp): Describe OPF_DISABLE_REALPATH. New variable
635 realpath_fptr, initialize it from OPF_DISABLE_REALPATH, use it.
636
59ee9f94
WN
6372013-08-28 Will Newton <[email protected]>
638
639 * common/linux-ptrace.c: Include stdint.h unconditionally.
640
c8a2a419
JK
6412013-08-28 Jan Kratochvil <[email protected]>
642
643 Code cleanup.
644 * nto-tdep.c (nto_find_and_open_solib): Use OPF_TRY_CWD_FIRST.
645
ffa4ac95
YQ
6462013-08-28 Yao Qi <[email protected]>
647 Pedro Alves <[email protected]>
648
649 * event-top.c (gdb_setup_readline): Call stderr_fileopen
650 instead of stdio_fileopen.
651 * main.c (captured_main) [__MINGW32__]: Set stderr unbuffered.
652 .Call stderr_fileopen instead of stdio_fileopen.
653 * ui-file.c [__MINGW32__] (stderr_file_write): New function.
654 [__MINGW32__] (stderr_file_fputs): New function.
655 (stderr_fileopen): New function.
656 * ui-file.h (stderr_fileopen): Declare.
657
69d751e3
DE
6582013-08-27 Doug Evans <[email protected]>
659
660 * dwarf2read.c (struct dwarf2_cu): Tweak comment.
661 (struct dwarf2_per_cu_data): Ditto.
662 (maybe_queue_comp_unit): Delete forward decl. Add comment.
663 (process_imported_unit_die): Ditto.
664 (follow_die_sig_1): Simplify assert.
665
44f38867
PA
6662013-08-27 Pedro Alves <[email protected]>
667
668 * windows-nat.c (windows_xfer_memory): Adjust prototype to follow
669 xfer_partial's interface. Return TARGET_XFER_E_IO on error.
670 (windows_xfer_partial): Defer TARGET_OBJECT_MEMORY handling to
671 windows_xfer_memory directly.
672 (init_windows_ops): Don't install a deprecated_xfer_memory method.
673
d28d46b5
PA
6742013-08-27 Pedro Alves <[email protected]>
675
676 * darwin-nat.c (darwin_xfer_memory): Delete.
677 (_initialize_darwin_inferior): Don't install a
678 deprecated_xfer_memory method.
679
6211c335
YQ
6802013-08-27 Pedro Alves <[email protected]>
681 Yao Qi <[email protected]>
682
683 * mi/mi-cmd-stack.c (list_args_or_locals): Adjust prototype.
684 (parse_no_frames_option): Remove.
685 (mi_cmd_stack_list_locals): Handle --skip-unavailable.
686 (mi_cmd_stack_list_args): Adjust.
687 (mi_cmd_stack_list_variables): Handle --skip-unavailable.
688 (list_arg_or_local): Add new parameter 'skip_unavailable'. Return
689 early if SKIP_UNAVAILABLE is true and ARG->val is unavailable.
690 Caller update.
691 (list_args_or_locals): New parameter 'skip_unavailable'.
692 Handle it.
693 * valprint.c (scalar_type_p): Rename to ...
694 (val_print_scalar_type_p): ... this. Make extern.
695 (val_print, value_check_printable): Adjust.
696 * valprint.h (val_print_scalar_type_p): Declare.
697 * value.c (value_entirely_unavailable): New function.
698 * value.h (value_entirely_unavailable): Declare.
699
700 * NEWS: Mention the new option "--skip-unavailable" to MI
701 commands '-stack-list-locals', '-stack-list-arguments' and
702 '-stack-list-variables'.
703
242f1fd7
YQ
7042013-08-27 Yao Qi <[email protected]>
705
706 * mi/mi-cmd-stack.c (parse_no_frames_option): Remove.
707 (mi_cmd_stack_list_args): Use mi_getopt_silent to handle
708 options.
709 * mi/mi-getopt.c (mi_getopt): Remove.
710 (mi_getopt_1): Renamed from mi_getopt. Add one parameter
711 'error_on_unknown'.
712 (mi_getopt): Call mi_getopt_1.
713 (mi_getopt_silent): New.
714 * mi/mi-getopt.h (mi_getopt_silent): Declare.
715
260b681b
DE
7162013-08-26 Doug Evans <[email protected]>
717
779bd270
DE
718 PR symtab/15885
719 * dwarf2read.c (dw2_dump): Print some minimal information indicating
720 .gdb_index is in use.
721 * symfile.c (reread_symbols): Reset objfile->sf.
722
52e260a3
DE
723 * NEWS: Document "mt print objfiles" now takes optional regexp.
724 * symmisc.c (maintenance_print_objfiles): Argument is now an optional
725 regexp of objfiles to print.
726 (_initialize_symmisc): Update doc string for "mt print objfiles".
727
260b681b
DE
728 * dwarf2read.c (write_psymtabs_to_index): Move error checks ahead of
729 missing debug info checks.
730
a85c52f2
UW
7312013-08-26 Raunaq Bathija <[email protected]>
732 Ulrich Weigand <[email protected]>
733
734 * xcoffread.c (arrange_linetable): Add fix to correctly handle
735 line tables generated by XLC compiled binaries.
736
4f00dda3
DE
7372013-08-23 Doug Evans <[email protected]>
738
db68bbae
DE
739 * symmisc.c (dump_symtab): Delete prototype.
740 (dump_msymbols, dump_objfile): Ditto.
741 (maintenance_info_symtabs): Mark as dont_repeat.
742 (_initialize_symmisc): Improve doc string for "mt info symtabs".
743
4f00dda3
DE
744 * elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
745 debugging printf to better location.
746
23d577b0
PA
7472013-08-23 Pedro Alves <[email protected]>
748
749 * target.c (target_read_live_memory): Change type of 'ret' local
750 to LONGEST.
751
00d84524
PA
7522013-08-23 Pedro Alves <[email protected]>
753
754 * remote.c (remote_write_bytes_aux, remote_write_bytes)
755 (remote_read_bytes): Change return type to LONGEST, and adjust to
756 return a target_xfer_error on error.
757 (remote_xfer_memory): Delete.
758 (remote_flash_write): Change type of 'ret' local to LONGEST.
759 (remote_xfer_partial, remote_xfer_partial): Adjust.
760 (init_remote_ops): Don't install a deprecated_xfer_memory hook.
761
1ed3ee94
PM
7622013-08-23 Pierre Muller <[email protected]>
763
764 ARI fix: Push # directives to start of line.
765 * rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied.
766
9eaabc75
MW
7672013-08-12 Muhammad Waqas <[email protected]>
768
769 PR gdb/15501
770 * breakpoint.c (enable_command, disable_command): Iterate over
771 all specified breakpoint locations.
772
101158d9
LM
7732013-08-22 Luis Machado <[email protected]>
774
775 * common/linux-ptrace.c (linux_fork_to_function): Push #
776 directives to the start of the line.
777 (linux_check_ptrace_features): Fix warning message to use
778 the "_" markup.
779
96d7229d
LM
7802013-08-22 Luis Machado <[email protected]>
781
782 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-nat.h and
783 nat/linux-waitpid.h.
784 (linux-waitpid.o): New object file rule.
785 * common/linux-ptrace.c: Include nat/linux-waitpid.h.
786 (current_ptrace_options): Moved from linux-nat.c.
787 (linux_ptrace_test_ret_to_nx): Use type casts for ptrace
788 parameters.
789 (linux_fork_to_function): New function.
790 (linux_grandchild_function): Likewise.
791 (linux_child_function): Likewise.
792 (linux_check_ptrace_features): New function, heavily
793 based on linux-nat.c:linux_test_for_tracefork.
794 (linux_enable_event_reporting): New function.
795 (ptrace_supports_feature): Likewise.
796 (linux_supports_tracefork): Likewise.
797 (linux_supports_traceclone): Likewise.
798 (linux_supports_tracevforkdone): Likewise.
799 (linux_supports_tracesysgood): Likewise.
800 * common/linux-ptrace.h (HAS_NOMMU): Moved from
801 gdbserver/linux-low.c.
802 (linux_enable_event_reporting): New declaration.
803 (linux_supports_tracefork): Likewise.
804 (linux_supports_traceclone): Likewise.
805 (linux_supports_tracevforkdone): Likewise.
806 (linux_supports_tracesysgood): Likewise.
807 * config.in (PTRACE_TYPE_ARG4): Regenerate.
808 * config/aarch64/linux.mh (NATDEPFILES): Add linux-waitpid.o.
809 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
810 * config/arm/linux.mh (NATDEPFILES): Likewise.
811 * config/i386/linux.mh (NATDEPFILES): Likewise.
812 * config/i386/linux64.mh (NATDEPFILES): Likewise.
813 * config/ia64/linux.mh (NATDEPFILES): Likewise.
814 * config/m32r/linux.mh (NATDEPFILES): Likewise.
815 * config/m68k/linux.mh (NATDEPFILES): Likewise.
816 * config/mips/linux.mh (NATDEPFILES): Likewise.
817 * config/pa/linux.mh (NATDEPFILES): Likewise..
818 * config/powerpc/linux.mh (NATDEPFILES): Likewise..
819 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
820 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
821 * config/sparc/linux.mh (NATDEPFILES): Likewise.
822 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
823 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
824 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
825 * configure.ac (AC_CACHE_CHECK): Add void * to the list of
826 ptrace's 4th argument's types.
827 Check the type of PTRACE_TYPE_ARG4.
828 * configure: Regenerate.
829 * linux-nat.c: Include nat/linux-nat.h and nat/linux-waitpid.h.
830 (SYSCALL_SIGTRAP): Moved to nat/linux-nat.h.
831 (linux_supports_tracefork_flag): Remove.
832 (linux_supports_tracesysgood_flag): Likewise.
833 (linux_supports_tracevforkdone_flag): Likewise.
834 (current_ptrace_options): Moved to
835 common/linux-ptrace.c.
836 (linux_tracefork_child): Remove.
837 (my_waitpid): Remove.
838 (linux_test_for_tracefork): Renamed to
839 linux_check_ptrace_features and moved to common/linux-ptrace.c.
840 (linux_test_for_tracesysgood): Remove.
841 (linux_supports_tracesysgood): Remove.
842 (linux_supports_tracefork): Remove.
843 (linux_supports_tracevforkdone): Remove.
844 (linux_enable_tracesysgood): Remove.
845 (linux_enable_event_reporting): Remove.
846 (linux_init_ptrace): New function.
847 (linux_child_post_attach): Call linux_init_ptrace.
848 (linux_child_post_startup_inferior): Call linux_init_ptrace.
849 (linux_child_follow_fork): Call linux_supports_tracefork
850 and linux_supports_tracevforkdone.
851 (linux_child_insert_fork_catchpoint): Call
852 linux_supports_tracefork.
853 (linux_child_insert_vfork_catchpoint): Likewise.
854 (linux_child_set_syscall_catchpoint): Call
855 linux_supports_tracesysgood.
856 (lin_lwp_attach_lwp): Call linux_supports_tracefork.
857 * nat/linux-nat.h: New file.
858 * nat/linux-waitpid.c: New file.
859 * nat/linux-waitpid.h: New file.
860
9f948660
SDJ
8612013-08-22 Samuel Bronson <[email protected]>
862
863 ARM Linux support for `catch syscall'.
864 * syscalls/arm-linux.py: New file.
865 * syscalls/arm-linux.xml: Likewise.
866 * arm-linux-tdep.c (arm_linux_get_syscall_number): New function.
867 (arm_linux_init_abi): Register the new function and syscall xml file.
868 * data-directory/Makefile.in: Install the new syscall xml file.
869 * NEWS: Brag about this.
870
6be7b56e
PA
8712013-08-22 Pedro Alves <[email protected]>
872
873 PR gdb/15871
874 * corefile.c (target_xfer_memory_error): New function.
875 (memory_error): Defer EIO to target_memory_error.
876 (read_memory): Use target_xfer_partial, and handle finer-grained
877 target xfer errors.
878 * target.c (target_xfer_error_to_string): New function.
879 (memory_xfer_partial_1): If memory is known to be
880 unavailable, return TARGET_XFER_E_UNAVAILABLE instead of -1.
881 (target_xfer_partial): Make extern.
882 * target.h (enum target_xfer_error): New enum.
883 (target_xfer_error_to_string): Declare function.
884 (target_xfer_partial): Declare function.
885 (struct target_ops) <xfer_partial>: Adjust describing comment.
886
bcbec14e
AM
8872013-08-22 Alan Modra <[email protected]>
888
889 * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
890 * configure.tgt: Likewise as targets.
891
fc474241
DE
8922013-08-20 Doug Evans <[email protected]>
893
894 * buildsym.c (subfile_stack): Move here from buildsym.h.
895 (pending_macros): Ditto.
896 (get_macro_table): New function.
897 (buildsym_init): Initialize subfile_stack.
898 * coffread.c (type_vector,type_vector_length): Moved here from
899 buildsym.h.
900 (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
901 (coff_symtab_read): Use it.
902 * dbxread.c (read_ofile_symtab): Delete init of subfile_stack.
903 * dwarf2read.c (macro_start_file): Replace uses of pending_macros
904 with call to get_macro_table.
905 * stabsread.c (type_vector,type_vector_length): Moved here from
906 buildsym.h.
907 (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
908 * buildsym.h (get_macro_table): Declare.
909
bec71544
TT
9102013-08-20 Tom Tromey <[email protected]>
911
912 * dbxread.c (record_minimal_symbol): Make 'name' argument const.
913 Update.
914 (read_dbx_dynamic_symtab): Make 'name' const. Remove casts.
915
0002ad5f
DE
9162013-08-20 Doug Evans <[email protected]>
917
918 * blockframe.c: Remove #include "psymtab.h".
919 * cp-support.c: Ditto.
920 * source.c: Ditto.
921 * stack.c: Ditto.
922
df302446
TT
9232013-08-20 Tom Tromey <[email protected]>
924
925 PR python/15816:
926 * exceptions.h (return_mask): Now an enum.
927 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
928 enum constants.
929
df6d5441
TT
9302013-08-20 Tom Tromey <[email protected]>
931
932 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
933 get_objfile_arch.
934 * elfread.c (elf_rel_plt_read, elf_gnu_ifunc_record_cache)
935 (elf_gnu_ifunc_resolve_by_got): Use get_objfile_arch.
936 * jit.c (jit_object_close_impl): Update.
937 * jv-lang.c (get_dynamics_objfile): Update.
938 * linespec.c (add_minsym): Use get_dynamics_objfile.
939 * objfiles.c (get_objfile_bfd_data): Initialize 'gdbarch' field.
940 (allocate_objfile): Don't initialize 'gdbarch' field.
941 (get_objfile_arch): Update.
942 * objfiles.h (struct objfile_per_bfd_storage) <gdbarch>: New field,
943 moved from...
944 (struct objfile) <gdbarch>: ... here. Remove.
945 * stap-probe.c (stap_can_evaluate_probe_arguments): Use
946 get_objfile_arch.
947 * symfile.c (init_entry_point_info): Use get_objfile_arch.
948
f5aee5ee
AM
9492013-08-20 Alan Modra <[email protected]>
950
951 * doublest.c (convert_floatformat_to_doublest): Use fmt->split_half
952 for IBM long double nan and inf.
953 (floatformat_is_negative, floatformat_classify,
954 floatformat_mantissa): Similarly.
955 (floatformat_ieee_single, floatformat_ieee_double,
956 floatformat_ieee_quad, floatformat_arm_ext,
957 floatformat_ia64_spill): Delete unused vars.
958 (_initialize_doublest): Delete unused function.
959 * gdbtypes.c (floatformats_ibm_long_double): Use new big- and
960 little-endian variants of floatformat_ibm_long_double.
961
33b60d58 9622013-08-19 Luis Machado <[email protected]>
f5aee5ee 963
33b60d58
LM
964 * Makefile.in (SFILES): Remove common/target-common.c and
965 add target/waitstatus.c.
966 (HFILES_NO_SRCDIR): Remove common/target-common.h and add
967 target/resume.h, target/wait.h and target/waitstatus.h.
968 (COMMON_OBS): Remove target-common.o and add
969 waitstatus.o.
970 (target-common.o): Remove.
971 (waitstatus.o): New target object file.
972 * common/target-common.c: Move contents to
973 target/waitstatus.c and remove.
974 * common/target-common.h: Move contents to other files and
975 remove.
976 (enum resume_kind: Move to target/resume.h.
977 (TARGET_WNOHANG): Move to target/wait.h.
978 (enum target_waitkind): Move to target/waitstatus.h.
979 (struct target_waitstatus): Likewise.
980 * target.h: Do not include target-common.h and
981 include target/resume.h, target/wait.h and
982 target/waitstatus.h.
983 * target/resume.h: New file.
984 * target/wait.h: New file.
985 * target/waitstatus.h: New file.
986 * target/waitstatus.c: New file.
987
12696c10
PA
9882013-08-19 Pedro Alves <[email protected]>
989
990 * linux-nat.c (linux_test_for_tracefork)
991 (linux_test_for_tracesysgood, linux_child_follow_fork)
992 (lin_lwp_attach_lwp, linux_nat_resume): Don't block child signals.
993 (linux_nat_wait_1): Extend comment.
994 (linux_async_pipe): Add comment.
995
ba89f962
KB
9962013-08-15 Kevin Buettner <[email protected]>
997
998 * rl78-tdep.c (RL78_RAW_PC_REGNUM): New enum.
999 (RL78_PC_REGNUM): Move to list of pseudo-register enums.
1000 (rl78_register_type, rl78_register_name, rl78_register_reggroup_p):
1001 Update to account for fact that PC is now a pseudo-register.
1002 (rl78_pseudo_register_write, rl78_pseudo_register_read): Add
1003 cases for RL78_PC_REGNUM.
1004
35ab155d
MB
10052013-08-15 Muhammad Bilal <[email protected]>
1006
1007 PR cli/15841
1008 * top.c (quit_force): Skip writing history file
1009 if input is not from terminal.
1010
0d031856
TT
10112013-08-14 Tom Tromey <[email protected]>
1012
1013 * remote.c (struct remote_state) <echo_nextthread, nextthread,
1014 resultthreadlist>: New fields.
1015 (OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier.
1016 (remote_get_threadlist, remote_threadlist_iterator): Use
1017 new fields. Remove static variables.
1018
ee154bee
TT
10192013-08-14 Tom Tromey <[email protected]>
1020
1021 * remote.c (struct remote_state) <remote_stopped_by_watchpoint_p,
1022 remote_watch_data_address>: New fields.
1023 (remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove.
1024 (process_stop_reply, remote_wait_as)
1025 (remote_check_watch_resources, remote_stopped_data_address): Update.
1026
88b496c3
TT
10272013-08-14 Tom Tromey <[email protected]>
1028
1029 * remote.c (struct remote_state) <async_client_callback,
1030 async_client_context>: New fields.
1031 (async_client_callback, async_client_context): Remove.
1032 (remote_async_serial_handler, remote_async): Update.
1033
2f65bcb7
TT
10342013-08-14 Tom Tromey <[email protected]>
1035
1036 * remote.c (sizeof_pkt): Remove.
1037 (remote_trace_find): Use rs->buf_size, not sizeof_pkt.
1038
b80fafe3
TT
10392013-08-14 Tom Tromey <[email protected]>
1040
1041 * remote.c (struct remote_state) <use_threadinfo_query,
1042 use_threadextra_query>: New fields.
1043 (remote_threads_info, remote_threads_extra_info)
1044 (remote_open_1): Update.
1045
8e88304f
TT
10462013-08-14 Tom Tromey <[email protected]>
1047
1048 * remote.c (struct remote_state) <finished_object,
1049 finished_annex, finished_offset>: New fields.
1050 (remote_read_qxfer): Use remote_state fields; remove static
1051 variables.
1052
280ceea3
TT
10532013-08-14 Tom Tromey <[email protected]>
1054
1055 * remote.c (struct remote_state) <last_sent_step>:
1056 New field.
1057 (last_sent_step): Remove.
1058 (remote_resume, remote_wait_as): Update.
1059
b73be471
TT
10602013-08-14 Tom Tromey <[email protected]>
1061
1062 * remote.c (struct remote_state) <last_sent_signal>:
1063 New field.
1064 (last_sent_signal): Remove.
1065 (new_remote_state, remote_resume, remote_wait_as): Update.
1066
5e4a05c4
TT
10672013-08-14 Tom Tromey <[email protected]>
1068
1069 * remote.c (struct remote_state) <last_program_signals_packet>:
1070 New field.
1071 (last_program_signals_packet): Remove.
1072 (remote_program_signals, remote_open_1): Update.
1073
747dc59d
TT
10742013-08-14 Tom Tromey <[email protected]>
1075
1076 * remote.c (struct remote_state) <last_pass_packet>:
1077 New field.
1078 (last_pass_packet): Remove.
1079 (remote_pass_signals, remote_open_1): Update.
1080
262e1174
TT
10812013-08-14 Tom Tromey <[email protected]>
1082
1083 * remote.c (struct remote_state) <remote_traceframe_number>:
1084 New field.
1085 (remote_traceframe_number): Remove.
1086 (new_remote_state, remote_open_1, set_remote_traceframe)
1087 (remote_trace_find): Update.
1088
47f8a51d
TT
10892013-08-14 Tom Tromey <[email protected]>
1090
1091 * remote.c (struct remote_state) <general_thread, continue_thread>:
1092 New fields.
1093 (general_thread, continue_thread): Remove.
1094 (record_currthread, set_thread, set_general_process)
1095 (remote_open_1, extended_remote_attach_1, remote_wait_as)
1096 (extended_remote_mourn_1): Update.
1097
5d93a237
TT
10982013-08-14 Tom Tromey <[email protected]>
1099
1100 * remote.c (struct remote_state) <remote_desc>: New field.
1101 (remote_desc): Remove.
1102 (remote_threads_info, remote_threads_extra_info, remote_close)
1103 (send_interrupt_sequence, remote_start_remote, remote_open_1)
1104 (readchar, remote_xfer_partial, remote_rcmd, packet_command)
1105 (remote_hostio_send_command, remote_file_put, remote_file_get)
1106 (remote_file_delete, remote_can_async_p, remote_is_async_p)
1107 (remote_async, remote_new_objfile, set_range_stepping): Update.
1108
cf792862
TT
11092013-08-14 Tom Tromey <[email protected]>
1110
1111 * remote.c (remote_state): Now a pointer.
1112 (get_remote_state_raw): Update.
1113 (new_remote_state): New function.
1114 (_initialize_remote): Use new_remote_state.
1115
dc473cfb
TT
11162013-08-14 Tom Tromey <[email protected]>
1117
1118 * remote.c (remote_protocol_features): Now const.
1119
85ec6ce7
TT
11202013-08-14 Tom Tromey <[email protected]>
1121
1122 * remote.c (crc32_table, crc32): Remove.
1123 (remote_verify_memory): Use xcrc32.
1124
73033f12
SDJ
11252013-08-13 Sergio Durigan Junior <[email protected]>
1126
1127 * value.h (create_internalvar_type_lazy): Adjust prototype
1128 declaration.
1129
5c30d39a
AB
11302013-08-13 Andrew Burgess <[email protected]>
1131
1132 * common/format.c (parse_format_string): Don't allow '#' flag for
1133 pointer arguments in format string.
1134
1a66331e
PM
11352013-08-13 Pierre Muller <[email protected]>
1136
fde605f3 1137 * utils.c (init_page_info): Only call tgetnum function
1a66331e
PM
1138 if rl_get_screen_size did not return useful values.
1139
b4013987
AA
11402013-08-12 Ali Anwar <[email protected]>
1141
1142 PR breakpoints/15117
1143 * linespec.c (linespec_parse_basic): Check for convenience
1144 variable or history value while parsing.
1145
959b6a66
SDJ
11462013-08-12 Sergio Durigan Junior <[email protected]>
1147
1148 Revert implementation of gdbarch_gdb_signal_{to,from}_target for
1149 AVR.
1150 * avr-tdep.c: Remove include of "linux-tdep.h". Remove enum with
1151 different signals between the generic Linux kernel implementation
1152 and AVR's.
1153 (avr_linux_gdb_signal_from_target): Delete.
1154 (avr_linux_gdb_signal_to_target): Delete.
1155 (avr_gdbarch_init): Don't set gdbarch_gdb_signal_{to,from}_target.
1156
24a55014
DE
11572013-08-09 Doug Evans <[email protected]>
1158
1159 * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
1160 entries.
1161
eb14d406
SDJ
11622013-08-09 Sergio Durigan Junior <[email protected]>
1163
1164 * linux-tdep.c: Define enum with generic signal numbers.
1165 (linux_gdb_signal_from_target): New function.
1166 (linux_gdb_signal_to_target): Likewise.
1167 (linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
1168 methods to the functions above.
1169 * linux-tdep.h (linux_gdb_signal_from_target): New prototype.
1170 (linux_gdb_signal_to_target): Likewise.
1171 * alpha-linux-tdep.c: Define new enum with signals different
1172 from generic Linux kernel.
1173 (alpha_linux_gdb_signal_from_target): New function.
1174 (alpha_linux_gdb_signal_to_target): Likewise.
1175 (alpha_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
1176 with the functions mentioned above.
1177 * avr-tdep.c: Define enum with differences between Linux kernel
1178 and AVR signals.
1179 (avr_linux_gdb_signal_from_target): New function.
1180 (avr_linux_gdb_signal_to_target): Likewise.
1181 (avr_gdbarch_init): Set gdbarch_gdb_signal_{to,from}_target to
1182 the functions mentioned above.
1183 * sparc-linux-tdep.c: Define enum with differences between SPARC
1184 and generic Linux kernel signal numbers.
1185 (sparc32_linux_gdb_signal_from_target): New function.
1186 (sparc32_linux_gdb_signal_to_target): Likewise.
1187 (sparc32_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
1188 to the functions defined above.
1189 * xtensa-linux-tdep.c: Define enum with differences between
1190 Xtensa and Linux kernel generic signals.
1191 (xtensa_linux_gdb_signal_from_target): New function.
1192 (xtensa_linux_gdb_signal_to_target): Likewise.
1193 (xtensa_linux_init_abi): Set gdbarch_gdb_signal_to_target
1194 to the functions defined above.
1195 * mips-linux-tdep.c: Define enum with differences between
1196 signals in MIPS and Linux kernel generic ones.
1197 (mips_gdb_signal_to_target): New function.
1198 (mips_gdb_signal_from_target): Redefine to use new enum, handle
1199 only different signals from the Linux kernel generic.
1200 (mips_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
1201 the functions defined above.
1202 * mips-linux-tdep.h (enum mips_signals): Remove.
1203
156d08c8
PA
12042013-08-09 Pedro Alves <[email protected]>
1205
1206 * avr-tdep.c (XMALLOC): Delete macro.
1207 * cli/cli-dump.c (XMALLOC): Delete macro.
1208
db229724
PA
12092013-08-09 Pedro Alves <[email protected]>
1210
1211 * cli/cli-dump.c: Don't include cli/cli-dump.h.
1212 (scan_expression_with_cleanup, scan_filename_with_cleanup)
1213 (fopen_with_cleanup, add_dump_command): Make static.
1214 * cli/cli-dump.h: Delete file.
1215 * Makefile.in (HFILES_NO_SRCDIR): Remove reference to
1216 cli/cli-dump.h.
1217
3f12a589
PA
12182013-08-09 Pedro Alves <[email protected]>
1219
1220 * tracepoint.c (tfile_start): Show tilde-expanded filename in
1221 error message.
1222
c718be47
PA
12232013-08-09 Pedro Alves <[email protected]>
1224
156d08c8 1225 * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
c718be47
PA
1226 error message.
1227
1e351ed1
PA
12282013-08-09 Pedro Alves <[email protected]>
1229
1230 * gcore.c (create_gcore_bfd): Don't use tilde_expand here.
1231 (gcore_command): Use tilde_expand here, and when showing the
1232 filename to the user, show the expanded version.
1233
1ed8d800
YQ
12342013-08-09 Yao Qi <[email protected]>
1235
1236 * stack.c (read_frame_arg): Set 'entryval_error' to NULL if
1237 'entryval' is set.
1238
47ecca85
PA
12392013-08-08 Azat Khuzhin <[email protected]> (tiny change)
1240
1241 * gcore.c (create_gcore_bfd): Use tilde_expand.
1242
82a0a75f
YQ
12432013-08-08 Yao Qi <[email protected]>
1244
1245 * frame.h (read_frame_local): Declare.
1246 * mi/mi-cmd-stack.c (list_args_or_locals): Call
1247 read_frame_local.
1248 * stack.c (read_frame_local): New.
1249
5c4aa40b
YQ
12502013-08-08 Yao Qi <[email protected]>
1251
1252 * mi/mi-cmd-stack.c: Update comments to function
1253 list_args_or_locals.
1254
b93601f3
TT
12552013-08-07 Tom Tromey <[email protected]>
1256
1257 PR symtab/15028:
1258 * dwarf2read.c (struct process_psymtab_comp_unit_data): New.
1259 (process_psymtab_comp_unit_reader): Use it.
1260 (process_psymtab_comp_unit): Update. Add "pretend_language"
1261 argument.
1262 (dwarf2_build_psymtabs_hard): Update.
1263 (scan_partial_symbols): Pass CU's language to
1264 process_psymtab_comp_unit.
1265
fa760f46
TT
12662013-08-07 Tom Tromey <[email protected]>
1267
1268 * dwarf2read.c (dw2_get_primary_filename_reader): Remove.
1269 (dwarf2_gdb_index_functions): Update.
1270 * psymtab.c (find_symbol_file_from_partial): Remove.
1271 (psym_functions): Update.
1272 * symfile.h (struct quick_symbol_functions) <find_symbol_file>:
1273 Remove.
1274
bf6d8a91
TT
12752013-08-07 Tom Tromey <[email protected]>
1276
1277 * symfile.c (set_initial_language): Look up "main" symbol
1278 and use its language.
1279 * symtab.c (find_main_filename): Remove.
1280 * symtab.h (find_main_filename): Remove.
1281
f9125b6c
TT
12822013-08-07 Tom Tromey <[email protected]>
1283
1284 * dwarf2read.c (recursively_compute_inclusions): Add
1285 "immediate_parent" argument. Set symtab's "user" field
1286 if not set.
1287 (compute_symtab_includes): Update.
1288
fdbb204b
TT
12892013-08-07 Tom Tromey <[email protected]>
1290
1291 * linespec.c (convert_linespec_to_sals): Use maybe_add_address
1292 when adding label symbols.
1293
49de1690
UW
12942013-08-07 Raunaq Bathija <[email protected]>
1295 Ulrich Weigand <[email protected]>
1296
1297 * configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
1298 * configure.host (powerpc64-*-aix*): Likewise.
1299
b08ee99f
UW
13002013-08-07 Raunaq Bathija <[email protected]>
1301 Ulrich Weigand <[email protected]>
1302
1303 * gdb_ptrace.h: Use ptrace64 instead of ptrace if HAVE_PTRACE64
1304 is defined.
1305 * rs6000-nat.c: Check for __ld_info64_ if compiling 64 BIT gdb.
1306 (rs6000_ptrace32): Call ptrace64 instead of ptrace if present.
1307 (rs6000_ptrace64): Call ptace64 instead of ptracex if present.
1308 * configure.ac: Check for ptrace64.
1309 * configure, config.in: Regenerate.
1310
fecf803e
UW
13112013-08-07 Raunaq Bathija <[email protected]>
1312 Ulrich Weigand <[email protected]>
1313
1314 * aixthread.c: Call ptrace64 instead of ptracex if defined.
1315 Call ptrace64 instead of ptrace if defined.
1316 Add macro addr_ptr to take care of ptrace address argument.
1317 (pdc_read_regs): Likewise.
1318 (pdc_write_regs): Likewise.
1319 (aix_thread_resume): Likewise.
1320 (fetch_regs_kernel_thread): Likewise.
1321 (store_regs_kernel_thread): Likewise.
1322
3bb5e4a8
AB
13232013-08-07 Anton Blanchard <[email protected]>
1324
1325 * MAINTAINERS: Add myself to Write After Approval.
1326
12070676
TT
13272013-08-05 Tom Tromey <[email protected]>
1328
1329 * aix-thread.c (_initialize_aix_thread): Use
1330 complete_target_initialization.
1331 * bsd-uthread.c (_initialize_bsd_uthread): Use
1332 complete_target_initialization.
1333 * dec-thread.c (_initialize_dec_thread): Use
1334 complete_target_initialization.
1335 * ravenscar-thread.c (_initialize_ravenscar): Use
1336 complete_target_initialization.
1337 * sol-thread.c (_initialize_sol_thread): Use
1338 complete_target_initialization.
1339 * spu-multiarch.c (_initialize_spu_multiarch): Use
1340 complete_target_initialization.
1341
7c7b6655
TT
13422013-08-05 Tom Tromey <[email protected]>
1343
1344 * ada-exp.y (write_var_or_type): Use bound_minimal_symbol.
1345 * ada-lang.c (ada_lookup_simple_minsym): Return
1346 bound_minimal_symbol.
1347 * ada-lang.h (ada_lookup_simple_minsym): Update.
1348 * c-exp.y (variable): Use lookup_bound_minimal_symbol.
1349 * f-exp.y (variable): Use lookup_bound_minimal_symbol.
1350 * go-exp.y (variable): Use lookup_bound_minimal_symbol.
1351 * jv-exp.y (push_expression_name): Use lookup_bound_minimal_symbol.
1352 * m2-exp.y (variable): Use lookup_bound_minimal_symbol.
1353 * minsyms.c (msymbol_objfile): Remove.
1354 (lookup_minimal_symbol_internal): New function, from
1355 lookup_minimal_symbol.
1356 (lookup_minimal_symbol): Rewrite using
1357 lookup_minimal_symbol_internal.
1358 (lookup_bound_minimal_symbol): New function.
1359 * minsyms.h (msymbol_objfile): Remove.
1360 (lookup_bound_minimal_symbol): Declare.
1361 * p-exp.y (variable): Use lookup_bound_minimal_symbol.
1362 * parse.c (write_exp_msymbol): Change parameter to a
1363 bound_minimal_symbol.
1364 (write_dollar_variable): Use lookup_bound_minimal_symbol.
1365 * parser-defs.h (write_exp_msymbol): Update.
1366 * printcmd.c (address_info): Use lookup_bound_minimal_symbol.
1367 * symfile.c (simple_read_overlay_table): Use
1368 lookup_bound_minimal_symbol.
1369 * symtab.c (skip_prologue_sal): Don't use msymbol_objfile.
1370 (search_symbols): Likewise.
1371 (print_msymbol_info): Take a bound_minimal_symbol argument.
1372 (symtab_symbol_info, rbreak_command): Update.
1373 * symtab.h (struct symbol_search) <msymbol>: Change type
1374 to bound_minimal_symbol.
1375 * valops.c (find_function_in_inferior): Use
1376 lookup_bound_minimal_symbol.
1377 * value.c (value_fn_field): Use lookup_bound_minimal_symbol.
1378
934b9bac
JK
13792013-08-05 Jan Kratochvil <[email protected]>
1380
1381 Code cleanup.
1382 * remote.c (cleanup_sigint_signal_handler): Rename the declaration
1383 to ...
1384 (async_cleanup_sigint_signal_handler): ... this.
1385 (initialize_sigint_signal_handler): Remove declaration.
1386 (handle_remote_sigint): Rename the declaration to ...
1387 (async_handle_remote_sigint): ... this.
1388 (handle_remote_sigint_twice): Rename the declaration to ...
1389 (async_handle_remote_sigint_twice): ... this.
1390 (async_remote_interrupt, async_remote_interrupt_twice)
1391 (remote_interrupt): Remove the declarations.
1392 (remote_interrupt_twice): Rename the declaration ...
1393 (sync_remote_interrupt_twice): ... this.
1394 (sigint_remote_twice_token): Rename the variable to ...
1395 (async_sigint_remote_twice_token): ... this.
1396 (sigint_remote_token): Rename the variable to ...
1397 (async_sigint_remote_token): ... this.
1398 (initialize_sigint_signal_handler): Rename the function to ...
1399 (async_initialize_sigint_signal_handler): ... this. Update the name
1400 inside.
1401 (handle_remote_sigint): Rename the function to ...
1402 (async_handle_remote_sigint): ... this. Update the names inside.
1403 (handle_remote_sigint_twice): Rename the function to ...
1404 (async_handle_remote_sigint_twice): ... this. Update the names inside.
1405 (cleanup_sigint_signal_handler): Rename the function to ...
1406 (async_cleanup_sigint_signal_handler): ... this.
1407 (remote_interrupt): Rename the function to ...
1408 (sync_remote_interrupt): this. Update the names inside.
1409 (remote_interrupt_twice): Rename the function to ...
1410 (sync_remote_interrupt_twice): this. Update the names inside.
1411 (remote_terminal_inferior, remote_terminal_ours, remote_wait_as)
1412 (_initialize_remote): Update the names inside.
1413
3a1115a0
TT
14142013-08-02 Tom Tromey <[email protected]>
1415
1416 PR symtab/15719:
1417 * breakpoint.c (update_watchpoint, watchpoint_check)
1418 (watch_command_1): Update.
1419 * eval.c (fetch_subexp_value): Add "preserve_errors"
1420 parameter.
1421 * ppc-linux-nat.c (check_condition): Update.
1422 * value.h (fetch_subexp_value): Update.
1423
58b19776
AB
14242013-08-02 Andrew Burgess <[email protected]>
1425
1426 * mi/mi-interp.c (mi_interpreter_resume): Remove call to
1427 add_file_handler.
1428
ec94af83
DE
14292013-08-01 Doug Evans <[email protected]>
1430
7ee85ab1
DE
1431 PR symtab/15691
1432 * dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read.
1433 (fill_in_sig_entry_from_dwo_entry): Reorganize asserts.
1434 Add assert of sig_entry->dwo_unit == NULL.
1435 (lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU
1436 had already been read.
1437 (read_signatured_type): Set per_cu.tu_read.
1438
b846d303
DE
1439 PR symtab/15695
1440 * valops.c (value_struct_elt): Add missing call to check_typedef.
1441 (value_find_oload_method_list): Ditto.
1442
b52109bc
DE
1443 * symtab.c (do_free_search_symbols_cleanup): Change arg to,
1444 effectively, struct symbol_search **.
1445 (make_cleanup_free_search_symbols): Change arg to struct
1446 symbol_search **. All callers updated.
1447 (compare_search_syms): Compare symtab file name and block as well.
1448 (search_symbols_equal): New function.
1449 (sort_search_symbols_remove_dups): Renamed from sort_search_symbols.
1450 New args new_head, new_tail. Result is now void. Remove dups after
1451 sorting the symbols.
1452 (search_symbols): Sort all found symbols once, after all have been
1453 found, and remove duplicates. Simplify cleanup tracking of result.
1454 * symtab.h (make_cleanup_free_search_symbols): Update prototype.
1455
ec94af83
DE
1456 Further workarounds for binutils/15021.
1457 * dwarf2read.c (recursively_compute_inclusions): Change type of result
1458 parameter to VEC (symtab_ptr) **. New parameter all_type_symtabs.
1459 Watch for duplicate symtabs coming from type units.
1460 (compute_symtab_includes): Update call to
1461 recursively_compute_inclusions. Build vector of included symtabs
1462 instead of per_cus.
1463 * symtab.h (symtab_ptr): New typedef.
1464 (DEF_VEC_P (symtab_ptr)): New VEC type.
1465 * linespec.c (symtab_p): Delete. All uses updated to use symtab_ptr
1466 instead.
1467
b2ae85cf
AB
14682013-08-01 Andrew Burgess <[email protected]>
1469
1470 * cli/cli-script.c (script_from_file): Remove use of
1471 error_pre_print.
1472 * main.c (captured_main): Remove use of error_pre_print and
1473 quit_pre_print.
1474 * utils.c (error_pre_print, quit_pre_print): Remove.
1475 * utils.h (error_pre_print, quit_pre_print): Likewise.
1476
645eab03
YQ
14772013-08-01 Yao Qi <[email protected]>
1478
1479 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Parse argv
1480 with mi_getopt.
1481 (mi_cmd_stack_list_variables): Likewise.
1482
16f92dd4
AB
14832013-07-31 Andrew Burgess <[email protected]>
1484
1485 * exceptions.c (deprecated_throw_reason): Remove.
1486 * exceptions.h (deprecated_throw_reason): Remove.
1487
13f78033
AB
14882013-07-31 Andrew Burgess <[email protected]>
1489
1490 * remote-mips.c (mips_error): Replace use of
1491 deprecated_throw_reason with throw_verror. Use the error message
1492 passed to mips_error as the error message for throw_verror.
1493
039e3c22
AB
14942013-07-31 Andrew Burgess <[email protected]>
1495
1496 * monitor.c (monitor_interrupt_query): Replace use of
1497 deprecated_throw_reason with quit.
1498 * nto-procfs.c (interrupt_query): Likewise.
1499 * remote-fileio.c (remote_fileio_sig_exit): Likewise.
1500 * remote-mips.c (mips_kill): Likewise.
1501 * remote.c (interrupt_query): Likewise.
1502
8150913b
AB
15032013-07-31 Andrew Burgess <[email protected]>
1504
1505 * utils.c (internal_verror): Replace use of deprecated_throw_reason
1506 with call to fatal.
1507
de74e63a
YQ
15082013-07-31 Pedro Alves <[email protected]>
1509 Yao Qi <[email protected]>
1510
1511 * tracepoint.c (trace_dump_command): Select the current frame.
1512
247f5c4f
DE
15132013-07-30 Doug Evans <[email protected]>
1514
1515 * dwarf2read.c (process_queue): Add type signature to debug output.
1516
11b4b7cc
AB
15172013-07-30 Andrew Burgess <[email protected]>
1518
1519 * value.c (value_fetch_lazy): Mark optimized out values as such
1520 rather than raising an error.
1521
b0c54aa5
AB
15222013-07-30 Andrew Burgess <[email protected]>
1523
1524 * value.c (value_fetch_lazy): Ensure parent value is not lazy
1525 before checking which bits of the parent, not the child, value are
1526 valid.
1527
97c85fc6
MB
15282013-07-30 Muhammad Bilal <[email protected]>
1529
1530 PR gdb/15715
1531 * top.c: Include "filenames.h".
1532 (set_history_filename): New function.
1533 (init_main): Install it as set hook of the "set history filename"
1534 command.
1535
ff39bb5e
SA
15362013-07-30 Sanimir Agovic <[email protected]>
1537
1538 * dwarf2read.c (dwarf2_get_ref_die_offset): Constify struct
1539 attribute parameter.
1540 (dwarf2_const_value_data): Constify struct attribute parameter.
1541 (dwarf2_const_value): Constify struct attribute parameter.
1542 (dwarf2_const_value_attr): Constify struct attribute parameter.
1543 (lookup_die_type): Constify struct attribute parameter.
1544 (dwarf2_get_attr_constant_value): Constify struct attribute parameter.
1545 (follow_die_ref_or_sig): Constify struct attribute parameter.
1546 (follow_die_ref): Constify struct attribute parameter.
1547 (follow_die_sig): Constify struct attribute parameter.
1548 (get_DW_AT_signature_type): Constify struct attribute parameter.
1549 (get_type_unit_group): Constify struct attribute parameter.
1550 (fill_in_loclist_baton): Constify struct attribute parameter.
1551 (dwarf2_symbol_mark_computed): Constify struct attribute parameter.
1552 (type_unit_group): Constify struct attribute parameter.
1553
6e5a29e1
SA
15542013-07-30 Sanimir Agovic <[email protected]>
1555
1556 * dwarf2read.c (attr_form_is_block): Make argument const.
1557 (attr_form_is_section_offset): Make argument const.
1558 (attr_form_is_constant): Make argument const.
1559 (attr_form_is_ref): Make argument const.
1560
7771576e
SA
15612013-07-30 Sanimir Agovic <[email protected]>
1562
1563 * dwarf2read.c (attr_is_ref): Rename to attr_form_is_ref.
1564 All uses updated.
1565 (attr_form_is_ref): Moved below attr_form_is_constant.
1566
a94e8645
DE
15672013-07-29 Doug Evans <[email protected]>
1568
bb5291d0
DE
1569 * main.c (captured_command_loop): Tweak comment.
1570
b5419e49
DE
1571 * target.c (target_async_permitted_1): Fix comment.
1572
b2d23133
DE
1573 * symtab.c (iterate_over_some_symtabs): Add comment.
1574
a94e8645
DE
1575 * symtab.c (iterate_over_some_symtabs): Fix indentation.
1576
7a60ad40
YQ
15772013-07-27 Yao Qi <[email protected]>
1578
1579 * NEWS: Mention that GDBserver now supports hardware
1580 watchpoints on the MIPS GNU/Linux target.
1581
aaee2056
YQ
15822013-07-27 Yao Qi <[email protected]>
1583
1584 * Makefile.in (HFILES_NO_SRCDIR): Add
1585 common/mips-linux-watch.h.
1586 (mips-linux-watch.o): New rule.
1587 * common/mips-linux-watch.c: New.
1588 * common/mips-linux-watch.h: New.
1589 * config/mips/linux.mh (NATDEPFILES): Add mips-linux-watch.o
1590 * mips-linux-nat.c: Include mips-linux-watch.h.
1591 (W_BIT, R_BIT, I_BIT, W_MASK, R_MASK, I_MASK, IRW_MASK): Move
1592 to common/mips-linux-watch.h.
1593 (MAX_DEBUG_REGISTER): Likewise.
1594 (enum pt_watch_style): Likewise.
1595 (struct mips32_watch_regs): Likewise.
1596 (struct mips64_watch_regs): Likewise.
1597 (struct pt_watch_regs): Likewise.
1598 (struct mips_watchpoint): Likewise.
1599 (mips_linux_watch_get_irw_mask): Move to
1600 common/mips-linux-watch.c.
1601 (get_reg_mask, mips_linux_watch_get_num_valid): Likewise.
1602 (mips_linux_watch_get_watchlo): Likewise.
1603 (mips_linux_watch_set_watchlo): Likewise.
1604 (mips_linux_watch_get_watchhi): Likewise.
1605 (mips_linux_watch_set_watchhi): Likewise.
1606 (mips_linux_read_watch_registers): Likewise.
1607 (mips_linux_watch_type_to_irw): Likewise.
1608 (mips_linux_stopped_data_address, fill_mask): Likewise.
1609 (mips_linux_watch_try_one_watch): Likewise.
1610 (mips_linux_watch_populate_regs): Likewise.
1611
b3436450
YQ
16122013-07-27 Yao Qi <[email protected]>
1613
1614 * mips-linux-nat.c (get_irw_mask): Rename to ...
1615 (mips_linux_watch_get_irw_mask): ... this. Rename parameter
1616 'set' to 'n'. Update function comment. All callers changed.
1617 (get_reg_mask): Rename parameter 'set' to 'n'. Update
1618 function comment. All callers changed.
1619 (get_num_valid): Rename to ...
1620 (mips_linux_watch_get_num_valid): ... this. Rename parameter
1621 'set' to 'n'. Update function comment. All callers changed.
1622 (get_watchlo): Rename to ...
1623 (mips_linux_watch_get_watchlo): ... this. Rename parameter
1624 'set' to 'n'. Update function comment. All callers changed.
1625 (set_watchlo): Rename to ...
1626 (mips_linux_watch_set_watchlo): ... this. Rename parameter
1627 'set' to 'n'. Update function comment. All callers changed.
1628 (get_watchhi): Rename to ...
1629 (mips_linux_watch_get_watchhi): ... this. Update function
1630 comment. All callers changed.
1631 (set_watchhi): Rename to ...
1632 (mips_linux_watch_set_watchhi): ... this. Update function
1633 comment. All callers changed.
1634 (mips_linux_read_watch_registers): Update function comment.
1635 Add new parameters 'lwpid', 'watch_readback', and
1636 'watch_readback_valid'. Update.
1637 (type_to_irw): Rename to ...
1638 (mips_linux_watch_type_to_irw): ... this. Update function
1639 comment. All callers changed.
1640 (fill_mask): Update function comment.
1641 (try_one_watch): Rename to ...
1642 (mips_linux_watch_try_one_watch): ... this. Change the type
1643 of parameter 'irw' from 'unsigned' to 'uint32_t'.
1644 (populate_regs_from_watches): Rename to ...
1645 (mips_linux_watch_populate_regs): ... this. Add parameter
1646 'current_watches'. All callers changed.
1647
9be14b81
YQ
16482013-07-27 Yao Qi <[email protected]>
1649
1650 * mips-linux-nat.c (MAX_DEBUG_REGISTER): Move it earlier in
1651 the code.
1652 (PTRACE_SET_WATCH_REGS, enum pt_watch_style): Remove.
1653 (struct mips32_watch_regs, struct mips64_watch_regs): Remove.
1654 (struct pt_watch_regs): Likewise.
1655 [!PTRACE_GET_WATCH_REGS] (PTRACE_SET_WATCH_REGS): New macro.
1656 [!PTRACE_GET_WATCH_REGS] (enum pt_watch_style): New.
1657 [!PTRACE_GET_WATCH_REGS] (struct mips32_watch_regs): New.
1658 [!PTRACE_GET_WATCH_REGS] (struct mips64_watch_regs): New.
1659 [!PTRACE_GET_WATCH_REGS] (struct pt_watch_regs): New.
1660
de6f69ad
YQ
16612013-07-27 Yao Qi <[email protected]>
1662
1663 * breakpoint.h: Include break-common.h.
1664 (enum target_hw_bp_type): Move to ...
1665 * common/break-common.h: ... here. New.
1666
6f64ef53
PA
16672013-07-26 Cyril Nikolaev <[email protected]>
1668
1669 * inflow.c (terminal_init_inferior_with_pgrp): Save inferior
1670 process group regardless of having tty on stdin.
1671
6107e809
DE
16722013-07-25 Doug Evans <[email protected]>
1673
1674 * linux-fork.h (detach_fork): Delete.
1675
7fdc1521
TT
16762013-07-25 Tom Tromey <[email protected]>
1677
1678 PR remote/15256, PR remote/15266:
1679 * bfd-target.c (target_bfd_reopen): Initialize to_magic.
1680 * monitor.c (monitor_detach): Use unpush_target.
1681 * remote-m32r-sdi.c (m32r_detach): Use unpush_target.
1682 * remote-mips.c (mips_detach): Use unpush_target. Don't
1683 call mips_close.
1684 * remote-sim.c (gdbsim_detach): Use unpush_target.
1685 * target.c (pop_target): Remove.
1686 (pop_all_targets_above): Don't call target_close.
1687 (target_close): Assert that the target is unpushed.
1688 * target.h (pop_target): Don't declare.
1689 * tracepoint.c (tfile_open): Use unpush_target.
1690
c22a2b88
TT
16912013-07-25 Tom Tromey <[email protected]>
1692
1693 * linux-thread-db.c (init_thread_db_ops): Call
1694 complete_target_initialization.
1695 (_initialize_thread_db): Don't call add_target.
1696 * target.c (complete_target_initialization): New function.
1697 (add_target_with_completer): Call it.
1698 * target.h (complete_target_initialization): Declare.
1699
cbb6aada
MK
17002013-07-25 Mark Kettenis <[email protected]>
1701
1702 * hppa-tdep.h (enum hppa_regnum): Add members for all space registers.
1703 * hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Add comment.
1704 (HPPANBSD_SIZEOF_GREGS): New define.
1705 (hppaobsd_supply_gregset): Handle additional registers.
1706 * hppabsd-nat.c (hppabsd_gregset_supplies_p): Adjust to indicate
1707 we provide more registers now.
1708 (hppabsd_supply_gregset): Supply additional registers.
1709 (hppabsd_collect_gregset): Collect additional registers.
1710
17767988
MK
17112013-07-25 Mark Kettenis <[email protected]>
1712
1713 * hppabsd-tdep.c: Include "dwarf2-frame.h".
1714 (hppabsd_dwarf2_frame_init_reg): New function.
1715 (hppabsd_init_abi): Hook in the DWARF CFI frame unwinder.
1716
fdc8aae8
AB
17172013-07-25 Andrew Burgess <[email protected]>
1718
1719 * mi/mi-main.c (output_register): Make MI 'r' format use standard
1720 'z' format code. Remove error for optimized out values, standard
1721 code will handle these fine.
1722
6fbe845e
AB
17232013-07-25 Andrew Burgess <[email protected]>
1724
1725 * NEWS: Mention new 'z' formatter.
1726 * printcmd.c (print_scalar_formatted): Add new 'z' formatter.
1727 (_initialize_printcmd): Mention 'z' formatter in help text of the
1728 'x' command.
1729
3373342d
MR
17302013-07-24 Maciej W. Rozycki <[email protected]>
1731
1732 * mips-tdep.c (micromips_deal_with_atomic_sequence): Correct
1733 formatting.
1734
25f9533e
SDJ
17352013-07-24 Sergio Durigan Junior <[email protected]>
1736
1737 * breakpoint.c (create_longjmp_master_breakpoint): Check if probe
1738 interface can evaluate arguments. Fallback to the old mode if it
1739 cannot.
1740 (create_exception_master_breakpoint): Likewise.
1741 * elfread.c (elf_can_evaluate_probe_arguments): New function.
1742 (struct sym_probe_fns elf_probe_fns): Export function above to the
1743 probe interface.
1744 * probe.c (can_evaluate_probe_arguments): New function.
1745 * probe.h (struct probe_ops) <can_evaluate_probe_arguments>: New
1746 function pointer.
1747 (can_evaluate_probe_arguments): New function prototype.
1748 * solib-svr4.c (svr4_create_solib_event_breakpoints): Check if
1749 probe interface can evaluate arguments. Fallback to the old mode
1750 if it cannot.
1751 * stap-probe.c (stap_get_probe_argument_count): Check if probe
1752 interface can evaluate arguments. Warning the user if it cannot.
1753 (stap_can_evaluate_probe_arguments): New function.
1754 (struct probe_ops stap_probe_ops): Export function above to the
1755 probe interface.
1756 * symfile.h (struct sym_probe_fns) <can_evaluate_probe_arguments>:
1757 New function pointer.
1758
3360c0bf
LM
17592013-07-24 Luis Machado <[email protected]>
1760
1761 * Makefile.in (SFILES): Add common/target-common.c.
1762 Add common/target-common.h to headers.
1763 (COMMON_OBS): Add target-common.o.
1764 (target-common.o): New target.
1765 * linux-nat.h (resume_kind): Move to common/target-common.h.
1766 * target.c (target_waitstatus_to_string): Move to
1767 common/target-common.c.
1768 * target.h: Include target-common.h.
1769 (target_waitkind): Move to common/target-common.h.
1770 (target_waitstatus): Likewise.
1771 (TARGET_WNOHANG): Likewise.
1772 * common/target-common.c: New file.
1773 * common/target-common.h: New file.
1774
6656a72d
DE
17752013-07-24 Doug Evans <[email protected]>
1776
1777 * dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to
1778 a warning.
1779
6df81a63
YQ
17802013-07-23 Yao Qi <[email protected]>
1781
1782 * i386-tdep.c (i386_in_stack_tramp_p): Remove unused
1783 parameter 'gdbarch'.
1784 (i386_stack_tramp_frame_sniffer): Caller update.
1785 * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove
1786 parameter 'gdbarch' and 'target'.
1787 (i386_linux_core_read_description): Caller update.
1788 * amd64-linux-tdep.c (amd64_linux_core_read_description):
1789 Likewise.
1790 * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update
1791 declaration.
1792
365156ad
TT
17932013-07-23 Tom Tromey <[email protected]>
1794
1795 * dwarf2read.c (init_cutu_and_read_dies): Revert patch from
1796 2013-07-22.
1797
046ac79f
JK
17982013-07-22 Doug Evans <[email protected]>
1799
1800 * exec.h (remove_target_sections): Delete arg abfd.
66cbcda4
JK
1801 * exec.c (exec_close): Update call to remove_target_sections.
1802 (remove_target_sections): Delete arg abfd.
046ac79f
JK
1803 * solib.c (update_solib_list): Ditto.
1804 (reload_shared_libraries_1): Ditto.
1805 (clear_solib): Ditto, and unconditionally call remove_target_sections.
66cbcda4
JK
1806 * target.h (struct target_section): Rename key to owner.
1807 All uses updated.
046ac79f 1808
29b2cc46
TT
18092013-07-22 Tom Tromey <[email protected]>
1810
1811 * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
1812
d1160018
TT
18132013-07-22 Tom Tromey <[email protected]>
1814
1815 * dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'.
1816 Simplify cleanup handling.
1817
2f324bf6
TT
18182013-07-22 Tom Tromey <[email protected]>
1819
1820 * dwarf2read.c (dwarf_decode_line_header): Call do_cleanups
1821 on all return paths.
1822
e23b9d6e
UW
18232013-07-22 Edjunior Barbosa Machado <[email protected]>
1824
1825 * ppc-linux-nat.c (PPC_DEBUG_FEATURE_DATA_BP_DAWR): New define.
1826 (ppc_linux_region_ok_for_hw_watchpoint): Add checking to use the new
1827 DAWR interface for longer ranges hardware watchpoint (up to 512 bytes).
1828
1cf55f60
PM
18292013-07-22 Phil Muldoon <[email protected]>
1830
1831 * top.c (print_gdb_version): Add help, apropos description and
1832 url to online documentation.
1833
fa876972
HZ
18342013-07-19 Hui Zhu <[email protected]>
1835
1836 PR gdb/15692
1837 * mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes.
1838
1527aea8
YQ
18392013-07-19 Yao Qi <[email protected]>
1840
1841 * target.c (update_current_target): Change the default action
1842 of 'to_traceframe_info' from tcomplain to return_zero.
1843 * target.h (struct target_ops) <to_traceframe_info>: Add more
1844 comments.
1845 * valops.c (read_value_memory): Call
1846 traceframe_available_memory unconditionally.
1847
886f230e
YQ
18482013-07-18 Yao Qi <[email protected]>
1849
1850 * coffread.c (coff_symfile_read): Iterate over minimal symbols,
1851 if the name is prefixed by "__imp_" or "_imp_", look for minimal
1852 symbol without prefix. If found, set its type to
1853 'mst_solib_trampoline'.
1854
16419bae
DE
18552013-07-17 Doug Evans <[email protected]>
1856
e7045703
DE
1857 * NEWS: Mention "set print raw frame-arguments".
1858 * gdbcmd.h (setprintrawlist, showprintrawlist): Declare.
1859 * stack.c (print_raw_frame_arguments): New static global.
1860 (print_frame_arg): Set opts.raw from print_raw_frame_arguments.
1861 (_initialize_stack): New command "set/show print raw frame-arguments".
1862 * valprint.c (setprintrawlist, showprintrawlist): New globals.
1863 (set_print_raw, show_print_raw): New functions.
1864 (_initialize_valprint): New prefix command "set/show print raw".
1865 * valprint.h (value_print_options): Improve comments.
1866
453e48a5
DE
1867 * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization
1868 of all *list variables.
1869
16419bae
DE
1870 * gdbcmd.h (togglelist): Delete.
1871 * cli/cli-cmds.c (togglelist): Delete.
1872 (init_cmd_lists): Update.
1873 * cli/cli-cmds.h (togglelist): Delete.
1874
626f2d1c
TT
18752013-07-17 Tom Tromey <[email protected]>
1876
1877 * dwarf2read.c (dwarf2_per_objfile_free): Clear
1878 dwarf2_per_objfile.
1879
57e6060e
DE
18802013-07-16 Doug Evans <[email protected]>
1881
1882 * nto-tdep.c (nto_relocate_section_addresses): Update,
1883 target_section.bfd deleted.
1884 * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto.
1885 * s390-tdep.c (s390_load): Ditto.
1886 * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
1887
5ea5559b
AB
18882013-07-16 Andrew Burgess <[email protected]>
1889
1890 * common/format.c (parse_format_string): Add checks for NULL
1891 character before calling strchr.
1892
2b2848e2
DE
18932013-07-16 Doug Evans <[email protected]>
1894
2c571006
DE
1895 * solist.h (target_so_ops.find_and_open_solib): Clarify usage of
1896 temp_pathname argument.
1897 * nto-tdep.c (nto_find_and_open_solib): Fix setting of temp_pathname
1898 when opening the file fails.
1899
2b2848e2
DE
1900 * target.h (struct target_section): Delete member bfd.
1901 All users updated to use the_bfd_section->owner instead.
1902 * exec.c (add_to_section_table): Assert bfd is expected value.
1903 Remove initialization of target_section.bfd.
1904 (remove_target_sections): Update.
1905 (section_table_available_memory): Update.
1906 (section_table_xfer_memory_partial): Update.
1907 (print_section_info): Update.
1908 (exec_set_section_address): Update.
1909 * record-full.c (record_full_core_xfer_partial): Update.
1910 * solib-svr4.c (svr4_relocate_section_addresses): Update.
1911 * solib-target.c (solib_target_relocate_section_addresses): Update.
1912 * symfile.c (build_section_addr_info_from_section_table): Update.
1913 * target.c (memory_xfer_live_readonly_partial): Update.
1914 (memory_xfer_partial_1): Update.
1915
926bf92d
UW
19162013-07-15 Edjunior Barbosa Machado <[email protected]>
1917
1918 * ppc-linux-nat.c: Since the new PowerPC specific ptrace interface is
1919 now available for embedded (BookE) and server (BookS) processors,
1920 correct mentions of 'booke' and adjust comments accordingly in order to
1921 avoid confusion. Rename struct 'booke_debug_info' to 'hwdebug_info'.
1922 (have_ptrace_booke_interface): Rename function and variable
1923 'have_ptrace_booke_interface' to 'have_ptrace_hwdebug_interface'.
1924 Rename struct 'booke_debug_info' to 'hwdebug_info'. Update all uses.
1925 (booke_cmp_hw_point): Rename function 'booke_cmp_hw_point' to
1926 'hwdebug_point_cmp'. Update all uses.
1927 (booke_find_thread_points_by_tid): Rename function
1928 'booke_find_thread_points_by_tid' to
1929 'hwdebug_find_thread_points_by_tid'. Update all uses.
1930 (booke_insert_point): Rename function 'booke_insert_point' to
1931 'hwdebug_insert_point'. Update all uses.
1932 (booke_remove_point): Rename function 'booke_remove_point' to
1933 'hwdebug_remove_point'. Update all uses.
1934
d929bc19
MR
19352013-07-15 Maciej W. Rozycki <[email protected]>
1936
1937 * mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic
1938 numbers with enum values.
1939
054e8d9e
AA
19402013-07-15 Ali Anwar <[email protected]>
1941
1942 PR threads/13217
1943 * thread.c (thread_apply_all_command): Check for valid threads
1944 and thread count.
1945 (thread_array_cleanup): New struct.
1946 (set_thread_refcount): New function.
1947
cf006359
AB
19482013-07-11 Andrew Burgess <[email protected]>
1949
1950 * infcmd.c (default_print_one_register_info): Reuse function
1951 print_hex_chars.
1952
94e36acc
TT
19532013-07-10 Tom Tromey <[email protected]>
1954
1955 * Makefile.in (GDB_WARN_CFLAGS_NO_DEFS, ADA_EXP_C): New macros.
1956 (ada-exp.o): New target.
1957
915dd369
SDJ
19582013-07-10 Sergio Durigan Junior <[email protected]>
1959
1960 * mt-tdep.c (mt_registers_info): Call
1961 get_no_prettyformat_print_options instead of
1962 get_raw_print_options (regression by last patch from Doug
1963 Evans).
1964
eca07816
JB
19652013-07-09 Pedro Alves <[email protected]>
1966
1967 Checked in by Joel Brobecker <[email protected]>.
1968 * ada-lang.c (coerce_unspec_val_to_type): Use
1969 value_optimized_out_const.
1970 * value.c (value_optimized_out_const): New function.
1971 * value.h (value_optimized_out_const): New declaration.
1972
2a998fc0
DE
19732013-07-09 Doug Evans <[email protected]>
1974
1975 * defs.h (enum val_prettyformat): Renamed from val_prettyprint.
1976 Enum values rename as well. All uses updated.
1977 * valprint.h (value_print_options): Rename member pretty to
1978 pretty format. Rename member prettyprint_arrays to
1979 prettyformat_arrays. Rename member prettyprint_structs to
1980 prettyformat_structs. All uses updated.
1981 (get_no_prettyformat_print_options): Renamed from
1982 get_raw_print_options.
1983 * valprint.c (get_no_prettyformat_print_options): Renamed from
1984 get_raw_print_options. All callers updated.
1985 (show_prettyformat_structs): Renamed from show_prettyprint_structs.
1986 All callers updated.
1987 (show_prettyformat_arrays): Renamed from show_prettyprint_arrays.
1988 All callers updated.
1989 (_initialize_valprint): Improve help text for "set print pretty" and
1990 "set print arrays".
1991
466c1fca
AB
19922013-07-09 Andrew Burgess <[email protected]>
1993
1994 * value.c (value_bits_valid): Revert previous change, and change
1995 by Pedro on 2013-07-04, due to regressions in
1996 gdb.dwarf2/implptr.exp and gdb.dwarf2/pieces.exp.
1997
ad0f0303
AB
19982013-07-08 Andrew Burgess <[email protected]>
1999 Pedro Alves <[email protected]>
2000
2001 * value.c (value_bits_valid): If the value is not lval_computed
2002 or has no check validity handler then the answer is the
2003 optimized_out flag, otherwise defer to the handler.
2004
b187bec1
EZ
20052013-07-06 Eli Zaretskii <[email protected]>
2006
48d1d6f5
EZ
2007 * top.c (print_gdb_configuration): Explain in output of
2008 --configuration what does "relocatable" mean.
2009
b187bec1
EZ
2010 * main.c (print_gdb_help): Regroup options in the --help text.
2011 See http://sourceware.org/ml/gdb-patches/2013-04/msg00362.html for
2012 the relevant discussions.
2013
52d361e1
YQ
20142013-07-06 Yao Qi <[email protected]>
2015
2016 * breakpoint.h (struct breakpoint_ops) <create_breakpoints_sal>:
2017 Remove parameter 'lsal'.
2018 * breakpoint.c (create_breakpoint): Move local variable 'lsal'
2019 to inner block. Caller update.
2020 (base_breakpoint_create_breakpoints_sal): Update.
2021 (bkpt_create_breakpoints_sal): Likewise.
2022 (tracepoint_create_breakpoints_sal): Likewise.
2023 (strace_marker_create_breakpoints_sal): Get 'lsal' from the
2024 element 0 of vector 'canonical->sals'.
2025
e1ec1b42
LM
20262013-07-05 Luis Machado <[email protected]>
2027
2028 * rs6000-tdep.c (rs6000_stab_reg_to_regnum): Return the real
2029 register number instead of the pseudo register one.
2030 (rs6000_dwarf2_reg_to_regnum): Likewise.
2031
7195e6f0
PA
20322013-07-04 Pedro Alves <[email protected]>
2033
2034 * findvar.c (value_of_register): Use allocate_optimized_out_value
2035 if the register has been optimized out, instead of
2036 set_value_optimized_out.
2037 * frame-unwind.c (frame_unwind_got_optimized): Use
2038 allocate_optimized_out_value.
2039
58722cac
PA
20402013-07-04 Pedro Alves <[email protected]>
2041
2042 * value.c (value_bits_valid): If the value is not lval_computed,
2043 or doesn't have a check_validity hook, assume the value is entirely
2044 valid.
2045
691a26f5
AB
20462013-07-04 Andrew Burgess <[email protected]>
2047
2048 * stack.c (read_frame_arg): No longer fetch lazy values.
2049 * value.c (value_optimized_out): If the value is not already
2050 marked optimized out, and is lazy then fetch it.
2051 (value_primitive_field): Move optimized out check to later in the
2052 function, after we have loaded any lazy values.
2053 (value_fetch_lazy): Use optimized out flag directly rather than
2054 calling optimized_out method.
2055
a58e2656
AB
20562013-07-04 Andrew Burgess <[email protected]>
2057
2058 * valops.c: Don't include "user-regs.h".
2059 (value_fetch_lazy): Moved to value.c.
2060 * value.c: Include "user-regs.h".
2061 (value_fetch_lazy): Moved from valops.c.
2062
bd885420
YQ
20632013-07-04 Yao Qi <[email protected]>
2064
2065 Revert:
2066 2013-06-27 Yao Qi <[email protected]>
2067
2068 * common/create-version.sh: Update comments. Handle the case
2069 that TARGET_ALIAS is empty.
2070
17ef446e
PA
20712013-07-03 Pedro Alves <[email protected]>
2072
2073 * Makefile.in (config.status): Depend on development.sh.
2074 (aclocal_m4_deps): Add libmcheck.m4.
2075 * acinclude.m4: Include libmcheck.m4.
2076 * configure.ac: Source development.sh instead of setting
2077 'development' here. --enable-libmcheck/--disable-libmcheck code
2078 factored out to GDB_AC_LIBMCHECK. Run it.
2079 * development.sh: New file.
2080 * libmcheck.m4: New file.
2081 * configure: Regenerate.
2082
ac6dd50f
TT
20832013-07-02 Tom Tromey <[email protected]>
2084
2085 * contrib/ari/update-web-ari.sh: Update for version.in change.
2086
bd1df410
TT
20872013-07-02 Tom Tromey <[email protected]>
2088
2089 * common/ptid.h: Comment fixes.
2090
4db1a1dc
TT
20912013-07-01 Tom Tromey <[email protected]>
2092
2093 * dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
2094 .gnu_debugaltlink not found. Use bfd_get_alt_debug_link_info.
2095 (dwarf2_read_index, create_all_comp_units): Update.
2096
dd9aa048
TT
20972013-07-01 Tom Tromey <[email protected]>
2098
2099 * configure.ac (build_warnings): Add -Wold-style-definition.
2100 * configure: Rebuild.
2101 * machoread.c (_initialize_machoread): Use "(void)".
2102 * macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
2103 use "(void)".
2104
44d100c3
TT
21052013-07-01 Tom Tromey <[email protected]>
2106
2107 * configure.ac (build_warnings): Add -Wold-style-declaration.
2108 * configure: Rebuild.
2109 * dsrec.c (make_srec): Use "static const", not "const static".
2110 * h8300-tdep.c (h8300_breakpoint_from_pc): Use "static const",
2111 not "const static".
2112 * mi/mi-parse.c (mi_no_values, mi_simple_values, mi_all_values):
2113 Use "static const", not "const static".
2114 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Use "static const",
2115 not "const static".
2116 * moxie-tdep.c (moxie_breakpoint_from_pc): Use "static const",
2117 not "const static".
2118 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Use "static const",
2119 not "const static".
2120 * v850-tdep.c (v850_breakpoint_from_pc): Use "static const",
2121 not "const static".
2122 (v850_dbtrap_breakpoint_from_pc): Likewise.
2123 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Use "static const",
2124 not "const static".
2125
2945b807
TT
21262013-07-01 Tom Tromey <[email protected]>
2127
2128 * configure.ac (build_warnings): Add -Wmissing-parameter-type.
2129 * configure: Rebuild.
2130
d8d2a3ee
PA
21312013-07-01 Pedro Alves <[email protected]>
2132
2133 * defs.h: Include "pathmax.h".
2134 * utils.c: Don't include sys/param.h.
2135 (gdb_realpath): Remove code that checks for MAXPATHLEN.
2136 * solib-ia64-hpux.c (ia64_hpux_handle_load_event): Use PATH_MAX
2137 instead of MAXPATHLEN.
2138 * solib-sunos.c: Don't include sys/param.h.
2139 * xcoffread.c: Don't include sys/param.h.
2140 * bsd-kvm.c: Don't include sys/param.h.
2141 * darwin-nat.c: Don't include sys/param.h.
2142 (darwin_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
2143 * darwin-nat-info.c: Don't include sys/param.h.
2144 * fbsd-nat.c (fbsd_pid_to_exec_file): Use PATH_MAX instead of
2145 MAXPATHLEN.
2146 * i386obsd-nat.c: Don't include sys/param.h.
2147 * inf-child.c: Don't include sys/param.h.
2148 (inf_child_fileio_readlink): Use PATH_MAX instead of MAXPATHLEN.
2149 * linux-fork.c: Don't include sys/param.h.
2150 (fork_save_infrun_state): Use PATH_MAX instead of MAXPATHLEN.
2151 * linux-nat.c: Don't include sys/param.h.
2152 (linux_child_pid_to_exec_file, linux_proc_pending_signals)
2153 (linux_proc_pending_signals): Use PATH_MAX instead of MAXPATHLEN.
2154 * m68klinux-nat.c: Don't include sys/param.h.
2155 * nbsd-nat.c: Don't include sys/param.h.
2156 (nbsd_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
2157 * ppc-linux-nat.c: Don't include sys/param.h.
2158 * rs6000-nat.c: Don't include sys/param.h.
2159 * spu-linux-nat.c. Don't include sys/param.h.
2160 * windows-nat.c: Don't include sys/param.h.
2161 * xtensa-linux-nat.c: Don't include sys/param.h.
2162 * config/i386/nm-fbsd.h: Don't include sys/param.h.
2163
38ec2207
PA
21642013-07-01 Pedro Alves <[email protected]>
2165
2166 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add pathmax.
2167 * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/pathmax.m4.
2168 * gnulib/aclocal.m4: Regenerate.
2169 * gnulib/config.in: Regenerate.
2170 * gnulib/configure: Regenerate.
2171 * gnulib/import/pathmax.h: New file.
2172 * gnulib/import/Makefile.am: Regenerate.
2173 * gnulib/import/Makefile.in: Regenerate.
2174 * gnulib/import/m4/gnulib-cache.m4: Regenerate.
2175 * gnulib/import/m4/gnulib-comp.m4: Regenerate.
2176 * gnulib/import/m4/pathmax.m4: New file.
2177
e655c1a2
PA
21782013-07-01 Pedro Alves <[email protected]>
2179
2180 * configure.ac (GDBINIT): Define, depending on host.
2181 * go32-nat.c (init_go32_ops): Don't override gdbinit here.
2182 * top.c (PATH_MAX): Delete fallback definition.
2183 (GDBINIT_FILENAME): Delete.
2184 (gdbinit): Reimplement as const char array set to the GDBINIT
2185 string constant.
2186 * top.h (gdbinit): Make const.
2187 * configure, config.in: Regenerate.
2188
50dd9793
PA
21892013-07-01 Pedro Alves <[email protected]>
2190
2191 * cli/cli-cmds.c (source_script): Make 'file' parameter const.
2192 * cli/cli-cmds.h (source_script): Likewise.
2193 * exceptions.c (catch_command_errors_const): New function.
2194 * exceptions.h (catch_command_errors_const): Declare.
2195 * main.c (get_init_files): Make parameters const, and adjust.
2196 (captured_main): Make 'system_gdbinit', 'home_gdbinit' and
2197 'local_gdbinit' locals const. Adjust to use
2198 catch_command_errors_const.
2199 (print_gdb_help): Make 'system_gdbinit', 'home_gdbinit' and
2200 'local_gdbinit' locals const.
2201
bc7dea8d
PA
22022013-07-01 Pedro Alves <[email protected]>
2203
2204 * defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
2205 (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
2206 * tracepoint.c: Don't check HAVE_UNISTD_H before including
2207 <unistd.h>.
2208
8839a007
PA
22092013-07-01 Pedro Alves <[email protected]>
2210
2211 Import the "unistd" gnulib module.
2212 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd".
2213 * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4,
2214 import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and
2215 import/m4/unistd_h.m4.
2216 * gnulib/aclocal.m4: Renenerate.
2217 * gnulib/config.in: Renenerate.
2218 * gnulib/configure: Renenerate.
2219 * gnulib/import/Makefile.am: Renenerate.
2220 * gnulib/import/Makefile.in: Renenerate.
2221 * gnulib/import/m4/gnulib-cache.m4: Renenerate.
2222 * gnulib/import/m4/gnulib-comp.m4: Renenerate.
2223 * gnulib/import/m4/off_t.m4: New file.
2224 * gnulib/import/m4/ssize_t.m4: New file.
2225 * gnulib/import/m4/sys_types_h.m4: New file.
2226 * gnulib/import/m4/unistd_h.m4: New file.
2227 * gnulib/import/sys_types.in.h: New file.
2228 * gnulib/import/unistd.c: New file.
2229 * gnulib/import/unistd.in.h: New file.
2230
8c0da261
PA
22312013-07-01 Pedro Alves <[email protected]>
2232
2233 * utils.c <pathconf/_PC_PATH_MAX use>: Check if _PC_PATH_MAX is
2234 defined instead of checking HAVE_UNISTD_H.
2235
3574124b
PA
22362013-07-01 Pedro Alves <[email protected]>
2237
2238 Reimport gnulib from scratch.
2239 * gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
2240 import/m4/onceonly.m4.
2241 * gnulib/aclocal.m4: Renegerate.
2242 * gnulib/config.in: Renegerate.
2243 * gnulib/configure: Renegerate.
2244 * gnulib/import/Makefile.in: Renegerate.
2245 * gnulib/import/extra/update-copyright: Renegerate.
2246 * gnulib/import/m4/onceonly.m4: Delete.
2247
702dc4fd
PA
22482013-07-01 Pedro Alves <[email protected]>
2249
2250 * tui/tui-regs.c (pagination_enabled): Delete declaration.
2251
47e1ce27
JK
22522013-06-30 Jan Kratochvil <[email protected]>
2253
2254 Code cleanup.
2255 * remote.c (async_remote_interrupt_twice): Make it static.
2256 * remote.h (async_remote_interrupt_twice): Remove the declaration.
2257
e82839d4
SDJ
22582013-06-29 Sergio Durigan Junior <[email protected]>
2259
2260 * ia64-linux-tdep.c: Include <ctype.h>.
2261 (ia64_linux_stap_is_single_operand): New function.
2262 (ia64_linux_init_abi): Initialize SystemTap related attributes.
2263
d6c2da54
TT
22642013-06-28 Tom Tromey <[email protected]>
2265
2266 * Makefile.in (version.c): Use version.in, not
2267 common/version.in.
2268 * common/create-version.sh: Likewise.
2269 * common/version.in: Move...
2270 * version.in: ...here.
2271
74da6f00
PA
22722013-06-28 Pedro Alves <[email protected]>
2273
2274 * infrun.c (set_observer_mode): Don't declare pagination_enabled
2275 here.
2276 * utils.h (pagination_enabled): Declare.
2277
d32dc48e
PA
22782013-06-28 Pedro Alves <[email protected]>
2279
2280 * infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop):
2281 Move higher up in file.
2282
0edd9e3b
TT
22832013-06-28 Tom Tromey <[email protected]>
2284
2285 * tracepoint.c (deprecated_readline_begin_hook)
2286 (deprecated_readline_hook, deprecated_readline_end_hook): Don't
2287 declare.
2288
4eb59108
PA
22892013-06-28 Pedro Alves <[email protected]>
2290
2291 PR tui/14880
2292 * tui/tui-regs.c (tui_get_register): Fetch value contents before
2293 checking if they're available.
2294 * value.c (value_available_contents_eq): Change comment.
2295 * value.h (value_available_contents_eq): Expand comment.
2296
97b17156
TT
22972013-06-27 Tom Tromey <[email protected]>
2298
2299 * target.c (find_run_target): Remove.
2300 * target.h (find_run_target): Remove.
2301
6a3bfc5c
TT
23022013-06-27 Tom Tromey <[email protected]>
2303
2304 * corelow.c (core_gdbarch): Now static.
2305
c9ef825d
TT
23062013-06-27 Tom Tromey <[email protected]>
2307
2308 * target.c (target_struct_index): Remove.
2309
e5823f1c
PA
23102013-06-27 Pedro Alves <[email protected]>
2311
2312 * infrun.c: Remove comment describing the 'stepping over runtime
2313 loader dynamic symbol resolution code' mechanism; moved to
2314 gdbint.texinfo.
2315
97f8dd09
PA
23162013-06-27 Pedro Alves <[email protected]>
2317
2318 * exceptions.c (catch_command_errors): Remove spurious space.
2319 * exceptions.h (catch_command_errors): Second parameter is "arg",
2320 not "command".
2321
02b1871e
YQ
23222013-06-27 Yao Qi <[email protected]>
2323
2324 * common/create-version.sh: Update comments. Handle the case
2325 that TARGET_ALIAS is empty.
2326
bb1b1cf1
PA
23272013-06-26 Pedro Alves <[email protected]>
2328
2329 * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing
2330 comment.
2331
7b624e71
PA
23322013-06-26 Pedro Alves <[email protected]>
2333
2334 * infrun.c: Update comments on stepping over runtime loader
2335 dynamic symbol resolution code.
2336
74e5a346
SDJ
23372013-06-26 Sergio Durigan Junior <[email protected]>
2338
2339 * ax-gdb.h (union exp_element): Forward declare.
2340 * parser-defs.h: Include expression.h.
2341
a2fb2cee
MR
23422013-06-26 Maciej W. Rozycki <[email protected]>
2343
2344 * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr.
2345
cdba14e0
DK
23462013-06-26 Dmitry Kozlov <[email protected]>
2347
2348 * tracepoint.c (trace_save): Extend tsave to save starttime, stoptime.
2349
f30aa5af
DK
23502013-06-26 Dmitry Kozlov <[email protected]>
2351
2352 Fix trace-status to output proper start-time and stop-time.
2353 * tracepoint.c (trace_status_command): Fix type of printf arg to
2354 prevent improper type conversion.
2355 (trace_status_mi): Likewise.
2356
1aee363c
MR
23572013-06-26 Maciej W. Rozycki <[email protected]>
2358
2359 * mips-tdep.c (mips_next_pc): Fix a typo.
2360
3356937a
MR
23612013-06-26 Maciej W. Rozycki <[email protected]>
2362
2363 * mips-tdep.c (micromips_scan_prologue): Fix a typo.
2364
dc673c81
YQ
23652013-06-26 Pedro Alves <[email protected]>
2366 Yao Qi <[email protected]>
2367
2368 * mi/mi-cmds.c (mi_cmds): Register -trace-frame-collected.
2369 * mi/mi-cmds.h (mi_cmd_trace_frame_collected): Declare.
2370 * mi/mi-main.c (print_variable_or_computed): New function.
2371 (mi_cmd_trace_frame_collected): New function.
2372 * tracepoint.c (find_trace_state_variable_by_number): New.
2373 (struct traceframe_info): Move to tracepoint.h
2374 (struct collection_list): Likewise.
2375 (do_collect_symbol): Include locals and arguments in the
2376 collected variables list.
2377 (clear_collection_list): Clear wholly collected variables list
2378 and computed variables list.
2379 (append_exp): New function.
2380 (encode_actions_1): Include variables in the wholly
2381 collected variables list. Include memory ranges and
2382 full-fledged expressions in the computed expressions list.
2383 (encode_actions): Move some code to ...
2384 Return the cleanup chain.
2385 (encode_actions_rsp): ... here. New function.
2386 (get_traceframe_location, get_traceframe_info): Remove static.
2387 * tracepoint.h (struct memrange): Moved from tracepoint.c.
2388 (struct collection_list): Moved from tracepoint.c. Add two
2389 new fields 'wholly_collected' and 'computed'.
2390 (find_trace_state_variable_by_number): Declare.
2391 (encode_actions): Adjust declaration.
2392 (encode_actions_rsp): Declare.
2393 (get_traceframe_info, get_traceframe_location): Declare.
2394
2395 * NEWS: Mention new MI command -trace-frame-collected.
2396
28a93511
YQ
23972013-06-26 Pedro Alves <[email protected]>
2398 Yao Qi <[email protected]>
2399
2400 * ctf.c (ctf_traceframe_info): Push trace state variables
2401 present in the trace data into the traceframe info object.
2402 * breakpoint.c (DEF_VEC_I): Remove.
2403 * common/filestuff.c (DEF_VEC_I): Likewise.
2404 * dwarf2loc.c (DEF_VEC_I): Likewise.
2405 * mi/mi-main.c (DEF_VEC_I): Likewise.
2406 * common/gdb_vecs.h (DEF_VEC_I): Define vector for int.
2407 * features/traceframe-info.dtd: Add tvar element and its
2408 attributes.
2409 * tracepoint.c (free_traceframe_info): Free vector 'tvars'.
2410 (build_traceframe_info): Push trace state variables present in
2411 the trace data into the traceframe info object.
2412 (traceframe_info_start_tvar): New function.
2413 (tvar_attributes): New.
2414 (traceframe_info_children): Add "tvar" element.
2415 * tracepoint.h (struct traceframe_info) <tvars>: New field.
2416
2417 * NEWS: Mention the change in GDB and GDBserver.
2418
ddacd3c8
YQ
24192013-06-26 Pedro Alves <[email protected]>
2420 Yao Qi <[email protected]>
2421
2422 * tracepoint.c (trace_dump_command): Move code to ...
2423 (get_traceframe_location): ... here. New.
2424
05796b35
YQ
24252013-06-26 Pedro Alves <[email protected]>
2426 Yao Qi <[email protected]>
2427
2428 * tracepoint.c (trace_dump_command): GDB emits an error
2429 instead of a warning when a traceframe is not selected.
2430
cbfa3b61
YQ
24312013-06-26 Pedro Alves <[email protected]>
2432 Yao Qi <[email protected]>
2433
2434 * tracepoint.c (tracepoint_list, stepping_list): Remove.
2435 (clear_collection_list): Free fields 'aexpre_list' and 'list'
2436 in collection_list.
2437 (do_clear_collection_list, init_collection_list): New.
2438 (encode_actions): Add local variables 'tracepoint_list' and
2439 'stepping_list'. Call init_collection_list and make cleanup
2440 which calls do_clear_collection_list. Don't call
2441 clear_collection_list.
2442 (_initialize_tracepoint): Delete references to
2443 'tracepoint_list' and 'stepping_list'.
2444
6e2048d3
TT
24452013-06-25 Tom Tromey <[email protected]>
2446
2447 * common/create-version.sh (date): Use "$", not "$$" in sed
2448 expression.
2449
42059f0e
KB
24502013-06-25 Kevin Buettner <[email protected]>
2451
2452 * NEWS (New targets): Add entry for TI MSP430.
2453
a0743c90
YQ
24542013-06-25 Yao Qi <[email protected]>
2455
2456 * remote.c (remote_start_remote): Move code to upload tsv
2457 earlier.
2458
9d6e6e84
HZ
24592013-06-25 Yao Qi <[email protected]>
2460 Hui Zhu <[email protected]>
2461 Pedro Alves <[email protected]>
2462
2463 PR breakpoints/15075
2464 PR breakpoints/15434
2465 * breakpoint.c (bpstat_stop_status): Call
2466 b->ops->after_condition_true.
2467 (update_dprintf_command_list): Don't append "continue" command
2468 to the command list of dprintf breakpoint.
2469 (base_breakpoint_after_condition_true): New function.
2470 (base_breakpoint_ops): Add base_breakpoint_after_condition_true.
2471 (dprintf_after_condition_true): New function.
2472 (initialize_breakpoint_ops): Set dprintf_after_condition_true.
2473 * breakpoint.h (breakpoint_ops): Add after_condition_true.
2474
586cf749
KB
24752013-06-24 Kevin Buettner <[email protected]>
2476
2477 * Makefile.in (ALL_TARGET_OBS): Add msp430-tdep.o.
2478 (ALLDEPFILES): Add msp430-tdep.c.
2479 * configure.tgt (msp430*-*-elf): New target.
2480 * msp430-tdep.c: New file.
2481
1bbce132
MR
24822013-06-24 Maciej W. Rozycki <[email protected]>
2483
2484 * mips-tdep.c (mips_elf_make_msymbol_special): Handle MIPS16 and
2485 microMIPS synthetic symbols.
2486
3e5d3a5a
MR
24872013-06-24 Maciej W. Rozycki <[email protected]>
2488
2489 * objfiles.h (pc_in_section): New prototype.
2490 (in_plt_section): Remove name argument, replace prototype with
2491 static inline function.
2492 * mips-tdep.h: Include "objfiles.h".
2493 (in_mips_stubs_section): New function.
2494 * hppa-tdep.h (gdbarch_tdep): Remove name argument of
2495 in_solib_call_trampoline member.
2496 (hppa_in_solib_call_trampoline): Remove name argument.
2497 * objfiles.c (pc_in_section): New function.
2498 (in_plt_section): Remove function.
2499 * mips-linux-tdep.c: Include "objfiles.h".
2500 (mips_linux_in_dynsym_stub): Call in_mips_stubs_section. Remove
2501 name argument. Return 1 rather than the low 16-bit halfword of
2502 any instruction examined.
2503 (mips_linux_in_dynsym_resolve_code): Update
2504 mips_linux_in_dynsym_stub call accordingly.
2505 * mips-tdep.c (mips_stub_frame_sniffer): Use in_mips_stubs_section
2506 rather than an equivalent hand-coded sequence.
2507 * hppa-hpux-tdep.c (in_opd_section): Remove function.
2508 (hppa32_hpux_in_solib_call_trampoline): Remove name argument.
2509 (hppa64_hpux_in_solib_call_trampoline): Likewise.
2510 (hppa64_hpux_find_global_pointer): Use pc_in_section rather than
2511 in_opd_section.
2512 * hppa-tdep.c (hppa_stub_unwind_sniffer): Remove name argument
2513 on call to tdep->in_solib_call_trampoline.
2514 (hppa_in_solib_call_trampoline): Remove name argument, update
2515 according to in_plt_section change.
2516 (hppa_skip_trampoline_code): Update according to in_plt_section
2517 change.
2518 * aarch64-tdep.c (aarch64_stub_unwind_sniffer): Likewise.
2519 * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code):
2520 Likewise.
2521 * arm-tdep.c (arm_stub_unwind_sniffer): Likewise.
2522 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
2523 * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise.
2524 * nios2-tdep.c (nios2_stub_frame_sniffer): Likewise.
2525 * nto-tdep.c (nto_relocate_section_addresses): Likewise.
2526 * s390-tdep.c (s390_stub_frame_sniffer): Likewise.
2527 * sh-tdep.c (sh_stub_unwind_sniffer): Likewise.
2528 * solib-dsbt.c (dsbt_in_dynsym_resolve_code): Likewise.
2529 * solib-frv.c (frv_in_dynsym_resolve_code): Likewise.
2530 * solib-svr4.c (svr4_in_dynsym_resolve_code): Likewise.
2531 * solib-target.c (solib_target_in_dynsym_resolve_code): Likewise.
2532 * sparc-tdep.c (sparc_analyze_prologue): Likewise.
2533 * tic6x-tdep.c (tic6x_stub_unwind_sniffer): Likewise.
2534
b9b26a16
JB
25352013-06-24 Joel Brobecker <[email protected]>
2536
2537 * common/create-version.sh: Fix expansion of $host_alias
2538 and $target_alias in generation of HOST_NAME and TARGET_NAME
2539 (resp.).
2540
01208463
TT
25412013-06-24 Tom Tromey <[email protected]>
2542
2543 * common/create-version.sh: New file.
2544 * Makefile.in (version.c): Use bfd/version.h, common/version.in,
2545 create-version.sh.
2546 (HFILES_NO_SRCDIR): Use common/version.h.
2547 * version.in: Move to ...
2548 * common/version.in: ... here. Replace date with "DATE".
2549 * version.h: Move to ...
2550 * common/version.h: ... here.
2551
bb6b9a5e
JB
25522013-06-21 Joel Brobecker <[email protected]>
2553
2554 * gdb/gnulib/Makefile.in: Update date in copyright header.
2555 * gdb/gnulib/configure.ac: Ditto.
2556 * gdb/gnulib/update-gnulib.sh: Ditto.
2557
c3b18ee7
JB
25582013-06-21 Joel Brobecker <[email protected]>
2559
2560 * copyright.py (EXCLUDE_LIST): Replace "gdb/gnulib" by
2561 "gdb/gnulib/import".
2562
85d3b769
WN
25632013-06-21 Will Newton <[email protected]>
2564
2565 * doublest.c (ldfrexp): Remove function.
2566 (convert_doublest_to_floatformat): Call frexpl instead of
2567 ldfrexp.
2568
88b48903
WN
25692013-06-21 Will Newton <[email protected]>
2570
2571 * gnulib/update-gnulib.sh(IMPORTED_GNULIB_MODULES): Add frexpl.
2572 * gnulib/aclocal.m4: Regenerate.
2573 * gnulib/config.in: Regenerate.
2574 * gnulib/configure: Regenerate.
2575 * gnulib/import/Makefile.am: Update.
2576 * gnulib/import/Makefile.in: Update.
2577 * gnulib/import/m4/gnulib-cache.m4: Update.
2578 * gnulib/import/m4/gnulib-comp.m4: Update.
2579 * gnulib/import/float+.h: Import.
2580 * gnulib/import/float.c: Import.
2581 * gnulib/import/float.in.h: Import.
2582 * gnulib/import/fpucw.h: Import.
2583 * gnulib/import/frexp.c: Import.
2584 * gnulib/import/frexpl.c: Import.
2585 * gnulib/import/isnan.c: Import.
2586 * gnulib/import/isnand-nolibm.h: Import.
2587 * gnulib/import/isnand.c: Import.
2588 * gnulib/import/isnanl-nolibm.h: Import.
2589 * gnulib/import/isnanl.c: Import.
2590 * gnulib/import/itold.c: Import.
2591 * gnulib/import/m4/exponentd.m4: Import.
2592 * gnulib/import/m4/exponentl.m4: Import.
2593 * gnulib/import/m4/float_h.m4: Import.
2594 * gnulib/import/m4/fpieee.m4: Import.
2595 * gnulib/import/m4/frexp.m4: Import.
2596 * gnulib/import/m4/frexpl.m4: Import.
2597 * gnulib/import/m4/isnand.m4: Import.
2598 * gnulib/import/m4/isnanl.m4: Import.
2599 * gnulib/import/m4/math_h.m4: Import.
2600 * gnulib/import/math.c: Import.
2601 * gnulib/import/math.in.h: Import.
2602
4353c9e6
JK
26032013-06-21 Jan Kratochvil <[email protected]>
2604
2605 * common/linux-btrace.c (cpu_supports_btrace): Remove variable vendor,
2606 replace strcmp with signature_INTEL_ebx, signature_INTEL_ecx and
2607 signature_INTEL_edx comparisons.
2608
e3e06db3
DE
26092013-06-20 Doug Evans <[email protected]>
2610
6ac97d4c
DE
2611 symtab/15652
2612 * dwarf2read.c (try_open_dwop_file): New arg search_cwd.
2613 All callers updated.
2614 (open_dwp_file): If we can't find the dwp file, search the basename
2615 in debug-file-directory.
2616
93417882
DE
2617 * dwarf2read.c (struct dwp_file): Fix comment.
2618 (open_and_init_dwp_file): Set dwp_file->name to bfd's file name.
2619
e3e06db3
DE
2620 * source.c (openp): Document OPF_TRY_CWD_FIRST+OPF_SEARCH_IN_PATH
2621 better.
2622
0878d0fa
YQ
26232013-06-20 Yao Qi <[email protected]>
2624
2625 * breakpoint.c (create_breakpoint): Fix code indentation.
2626
023fa29b
YQ
26272013-06-20 Yao Qi <[email protected]>
2628
2629 * breakpoint.c (create_breakpoints_sal_default): Remove
2630 parameter 'lsal'. Update declaration.
2631 (bkpt_create_breakpoints_sal): Caller update.
2632 (tracepoint_create_breakpoints_sal): Likewise.
2633
c898adb7
YQ
26342013-06-20 Pedro Alves <[email protected]>
2635 Yao Qi <[email protected]>
2636
2637 * NEWS: Mention the new option '--skip-unavailable' of command
2638 -data-list-register-values.
2639 * mi/mi-main.c (mi_cmd_data_list_register_values): Accept the
2640 --skip-unavailable option. Adjust to use output_register.
2641 (output_register): Add new 'skip_unavailable' parameter.
2642 Handle it.
2643
4d157a3d
MF
26442013-06-19 Mike Frysinger <[email protected]>
2645
2646 * Makefile.in (HFILES_NO_SRCDIR): Add common/i386-cpuid.h and
2647 common/i386-gcc-cpuid.h.
2648 * common/i386-cpuid.h: New wrapper header around i386-gcc-cpuid.h.
2649 * common/i386-gcc-cpuid.h: Rename from testsuite/gdb.arch/i386-cpuid.h.
2650 Copy the latest version from upstream gcc.
2651 * common/linux-btrace.c: Include i386-cpuid.h.
2652 (intel_supports_btrace): Delete x86 ifdefs and replace inline asm with
2653 call to i386_cpuid.
2654 (cpu_supports_btrace): Likewise.
2655 * go32-nat.c: Include i386-cpuid.h.
2656 (go32_sysinfo): Add (disabled) calls to i386_cpuid with comments.
2657
1ce4db08
DE
26582013-06-19 Doug Evans <[email protected]>
2659
2660 * symfile.c (symfile_bfd_open): Delete unnecessary declaration.
2661 (get_section_index): Ditto.
2662
0e4777df
TT
26632013-06-19 Tom Tromey <[email protected]>
2664
2665 * breakpoint.c (_initialize_breakpoint): Remove trailing \n from
2666 "dprintf" help.
2667
3190f0c6
DE
26682013-06-18 Doug Evans <[email protected]>
2669
2670 * dwarf2read.c (dw2_symtab_iter_next): Check value of cu_index
2671 before using it.
2672 (dw2_expand_symtabs_matching): Fix symbol kind validity check.
2673 Move test of cu_index closer to use. Print complaint if cu_index
2674 is bad.
2675
8b89a20a
JB
26762013-06-18 Joel Brobecker <[email protected]>
2677
2678 * machoread.c (oso_vector): Delete this global.
2679 (macho_register_oso): Add new parameter "oso_vector_ptr".
2680 Use it instead of the "oso_vector" global.
2681 (macho_symtab_read, macho_symfile_read_all_oso): Likewise.
2682 (macho_symfile_read): Use a local oso_vector, to be free'ed
2683 at the end of this function, in place of the old "oso_vector"
2684 global. Update various function calls accordingly. Use one
2685 single cleanup chain for the entire function.
2686
59b0c7c1
JB
26872013-06-18 Joel Brobecker <[email protected]>
2688
937c708c 2689 * dwarf2read.c (dwarf2_per_objfile_free): Replace uses of
59b0c7c1
JB
2690 DWARF2_PER_OBJFILE by uses of DATA instead.
2691
427cd150
TT
26922013-06-18 Tom Tromey <[email protected]>
2693
2694 * break-catch-sig.c (signal_catchpoint_explains_signal): Add 'sig'
2695 argument.
2696 * breakpoint.c (bpstat_explains_signal): Add 'sig' argument.
2697 Special case signals other than GDB_SIGNAL_TRAP.
2698 (explains_signal_watchpoint): New function.
2699 (base_breakpoint_explains_signal): Add 'sig' argument.
2700 (initialize_breakpoint_ops): Set 'explains_signal' method for
2701 watchpoints.
2702 * breakpoint.h (struct breakpoint_ops) <explains_signal>: Add
2703 signal argument.
2704 (bpstat_explains_signal): Likewise.
2705 * infrun.c (handle_syscall_event, handle_inferior_event): Update.
2706
2d57700b
TT
27072013-06-18 Tom Tromey <[email protected]>
2708
2709 * python/py-inferior.c (gdbpy_selected_inferior): Don't incref.
2710
ac475191
TT
27112013-06-18 Tom Tromey <[email protected]>
2712
2713 * python/python.c (finish_python_initialization): Decref
2714 'pythondir' on failure path as well.
2715
5bd1ef56
TT
27162013-06-18 Tom Tromey <[email protected]>
2717
2718 PR symtab/15391:
2719 * dwarf2loc.c (read_pieced_value): Truncate this_size_bits
2720 after taking bits_to_skip into account. Sign extend byte_offset.
2721 * utils.h (gdb_sign_extend): Declare.
2722 * utils.c (gdb_sign_extend): New function.
2723
92fac807
JK
27242013-06-18 Jan Kratochvil <[email protected]>
2725
2726 * dwarf2read.c (write_psymtabs_to_index): Ignore NULL PSYMTAB.
2727
2d503272
PM
27282013-06-17 Pierre Muller <[email protected]>
2729
2730 * corelow.c (core_open): Print GDB signal name instead of target
2731 signal number.
2732
6916fd98
MF
27332013-06-17 Mike Frysinger <[email protected]>
2734
2735 * .gitignore: Add /gcore.
2736
9c02c129
DE
27372013-06-13 Doug Evans <[email protected]>
2738
2739 * dwarf2read.c (try_open_dwop_file): Work around behaviour of
2740 OPF_TRY_CWD_FIRST to not search path if the file contains a '/'.
2741
d0548fa2
PM
27422013-06-12 Phil Muldoon <[email protected]>
2743
2744 * stack.c (backtrace_command_1): Fix indentation.
2745
22128028
JB
27462013-06-11 Joel Brobecker <[email protected]>
2747
2748 * window-nat.c (thread_rec): Add missing empty line after
2749 local variable declaration.
2750
2ed3e009
JB
27512013-06-11 Joel Brobecker <[email protected]>
2752
2753 * windows-nat.c (thread_rec): Revert format used to print
2754 error code returned by SuspendThread from %d back to %u.
2755
0c3d84be
JB
27562013-06-11 Joel Brobecker <[email protected]>
2757
2758 * windows-nat.c (windows_continue): Add "0x" prefix for thread
2759 ID in debug trace.
2760 (get_windows_debug_event): Likewise, for all debug traces.
2761
80e88e1a
JB
27622013-06-11 Joel Brobecker <[email protected]>
2763
2764 * window-nat.c (thread_rec): Add thread ID in SuspendThread
2765 warning message.
2766
1edebdbf
YQ
27672013-06-08 Pedro Alves <[email protected]>
2768 Yao Qi <[email protected]>
2769
2770 * mi/mi-main.c (get_register): Remove declaration.
2771 (output_register): Declare.
2772 (mi_cmd_data_list_register_values): Remove local variable
2773 'tuple_cleanup'. Move some code into output_register.
2774 (get_register): Renamed to ...
2775 (output_register): ... this. Output the register's
2776 "number" ui_out tuple here.
2777
47d48711
PA
27782013-06-07 Pedro Alves <[email protected]>
2779
2780 * darwin-nat.c: Fix formating in copyright header.
2781 * darwin-nat.h: Likewise.
2782 * gnu-nat.c: Likewise.
2783 * machoread.c: Likewise.
2784
3aee8918
PA
27852013-06-07 Pedro Alves <[email protected]>
2786
5f2b57b5 2787 PR server/14823
3aee8918
PA
2788 * regformats/regdat.sh: Output #include tdesc.h. Make globals
2789 static. Output a global target description pointer.
2790 (init_registers_${name}): Adjust to initialize a
2791 target description structure.
2792
fe8400b4
WN
27932013-06-07 Will Newton <[email protected]>
2794
2795 * printcmd.c (build_address_symbolic): Call
2796 gdbarch_addr_bits_remove for text minimal symbols.
2797
20df6206
WN
27982013-06-07 Will Newton <[email protected]>
2799
2800 * MAINTAINERS: Add myself to Write After Approval.
2801
aef525cb
YQ
28022013-06-07 Yao Qi <[email protected]>
2803
2804 * tracepoint.c (start_tracing): Move code to ...
2805 (trace_reset_local_state): ... here. New.
2806 (disconnect_tracing): Don't call set_current_traceframe,
2807 set_tracepoint_num, and set_traceframe_context. Call
2808 trace_reset_local_state instead.
2809 (tfile_close): Call trace_reset_local_state.
2810 * ctf.c (ctf_close): Likewise.
2811 * remote.c (remote_close): Likewise.
2812 * tracepoint.h (trace_reset_local_state): Declare.
2813
d2415c6c
DE
28142013-06-06 Doug Evans <[email protected]>
2815
2816 * dwarf2read.c: Whitespace fixes for DWP file format documentation,
2817 and fix header docs.
2818
69fc87c2
DE
28192013-06-05 Doug Evans <[email protected]>
2820 Keith Seitz <[email protected]>
2821
2822 PR 15519
2823 * cp-namespace.c (find_symbol_in_baseclass): Call
2824 cp_lookup_symbol_in_namespace instead of cp_lookup_symbol_namespace.
2825 Check result of call to lookup_symbol_static.
2826 Call lookup_static_symbol_aux unconditionally.
2827 Call check_typedef on base types before accessing them.
2828 (cp_lookup_nested_symbol): Fix comment.
2829
a513d1e8
LM
28302013-06-05 Luis Machado <[email protected]>
2831
2832 * gnu-v3-abi.c (gnuv3_skip_trampoline): Handle thunk
2833 minimal symbols pointing to function descriptors.
2834
351a6f02
TT
28352013-06-05 Tom Tromey <[email protected]>
2836
2837 * python/py-utils.c (gdb_pymodule_addobject): Cast away const.
2838
5e1b953b 28392013-06-04 Sergio Durigan Junior <[email protected]>
c7c0b644 2840 Pedro Alves <[email protected]>
5e1b953b
SDJ
2841
2842 * remote.c (remote_wait_as): Restore signal handler before returning
2843 when GDB gets a notification.
2844
f9e14852
GB
28452013-06-04 Gary Benson <[email protected]>
2846
8445cbf1 2847 PR 2328
f9e14852
GB
2848 * breakpoint.h (handle_solib_event): Moved function declaration
2849 to solib.h.
2850 * breakpoint.c (handle_solib_event): Moved function to solib.c.
2851 (bpstat_stop_status): Pass new argument to handle_solib_event.
2852 * solib.h (update_solib_breakpoints): New function declaration.
2853 (handle_solib_event): Moved function declaration from
2854 breakpoint.h.
2855 * solib.c (update_solib_breakpoints): New function.
2856 (handle_solib_event): Moved function from breakpoint.c.
2857 Updated to call solib_ops->handle_event if not NULL.
2858 * solist.h (target_so_ops): New fields "update_breakpoints" and
2859 "handle_event".
2860 * infrun.c (set_stop_on_solib_events): New function.
2861 (_initialize_infrun): Use the above for "set
2862 stop-on-solib-events".
2863 (handle_inferior_event): Pass new argument to handle_solib_event.
2864 * solib-svr4.c (probe.h): New include.
2865 (svr4_free_library_list): New forward declaration.
2866 (probe_action): New enum.
2867 (probe_info): New struct.
2868 (probe_info): New static variable.
2869 (NUM_PROBES): New definition.
2870 (svr4_info): New fields "using_xfer", "probes_table" and
2871 "solib_list".
2872 (free_probes_table): New function.
2873 (free_solib_list): New function.
2874 (svr4_pspace_data_cleanup): Free probes table and solib list.
2875 (svr4_copy_library_list): New function.
2876 (svr4_current_sos_via_xfer_libraries): New parameter "annex".
2877 (svr4_read_so_list): New parameter "prev_lm".
2878 (svr4_current_sos_direct): Renamed from "svr4_current_sos".
2879 (svr4_current_sos): New function.
2880 (probe_and_action): New struct.
2881 (hash_probe_and_action): New function.
2882 (equal_probe_and_action): Likewise.
2883 (register_solib_event_probe): Likewise.
2884 (solib_event_probe_at): Likewise.
2885 (solib_event_probe_action): Likewise.
2886 (solist_update_full): Likewise.
2887 (solist_update_incremental): Likewise.
2888 (disable_probes_interface_cleanup): Likewise.
2889 (svr4_handle_solib_event): Likewise.
2890 (svr4_update_solib_event_breakpoint): Likewise.
2891 (svr4_update_solib_event_breakpoints): Likewise.
2892 (svr4_create_solib_event_breakpoints): Likewise.
2893 (enable_break): Free probes table before creating breakpoints.
2894 Use svr4_create_solib_event_breakpoints to create breakpoints.
2895 (svr4_solib_create_inferior_hook): Free the solib list.
2896 (_initialize_svr4_solib): Initialise
2897 svr4_so_ops.handle_solib_event and svr4_so_ops.update_breakpoints.
2898
ced63ec0
GB
28992013-06-04 Gary Benson <[email protected]>
2900
2901 * target.h (target_ops): New field
2902 "to_augmented_libraries_svr4_read".
2903 (target_augmented_libraries_svr4_read): New macro.
2904 * target.c (update_current_target): Handle
2905 to_augmented_libraries_svr4_read.
2906 * remote.c (remote_state): New field
2907 "augmented_libraries_svr4_read".
2908 (remote_augmented_libraries_svr4_read_feature): New function.
2909 (remote_protocol_features): Add entry for
2910 "augmented-libraries-svr4-read".
2911 (remote_augmented_libraries_svr4_read): New function.
2912 (init_remote_ops): Initialize
2913 remote_ops.to_augmented_libraries_svr4_read.
2914
7f91dbec
GB
29152013-06-04 Gary Benson <[email protected]>
2916
2917 * NEWS: Update.
2918
607ece04
GB
29192013-06-04 Gary Benson <[email protected]>
2920
2921 * objfiles.h (inhibit_section_map_updates): New function
2922 declaration.
2923 (resume_section_map_updates): Likewise.
2924 (resume_section_map_updates_cleanup): Likewise.
2925 * objfiles.c (objfile_pspace_info): Removed field
2926 "objfiles_changed_p". New fields "new_objfiles_available",
2927 "section_map_dirty" and "inhibit_updates".
2928 (allocate_objfile): Set new_objfiles_available.
2929 (free_objfile): Set section_map_dirty.
2930 (objfile_relocate1): Likewise.
2931 (in_plt_section): Likewise.
2932 (find_pc_section): Update the conditions under which the
2933 section map will be updated.
2934 (inhibit_section_map_updates): New function.
2935 (resume_section_map_updates): Likewise.
2936 (resume_section_map_updates_cleanup): Likewise.
2937
9ee6a5ac
GB
29382013-06-04 Gary Benson <[email protected]>
2939
2940 * probe.h (get_probe_argument_count): New declaration.
2941 (evaluate_probe_argument): Likewise.
2942 * probe.c (get_probe_argument_count): New function.
2943 (evaluate_probe_argument): Likewise.
2944 (probe_safe_evaluate_at_pc): Use the above new functions.
2945
845d4708
AM
29462013-06-04 Alan Modra <[email protected]>
2947
2948 * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
2949 * rs6000-tdep.c (read_insn): Add frame param, don't assume big-endian.
2950 (ppc_insns_match_pattern): Add frame param. Avoid multiple
2951 target mem reads on optional insns.
2952 * ppc-linux-tdep.c (ppc_skip_trampoline_code): Update
2953 ppc_insns_match_pattern calls.
2954 * ppc64-tdep.c (ppc64_standard_linkage2, ppc64_standard_linkage3):
2955 Add match for power7 thread safety insns, and new order of
2956 std 2,40(1) insn. Correct code shown for _dl_runtime_resolve
2957 invocation in comment, and update rest of comment.
2958 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN,
2959 PPC64_STANDARD_LINKAGE3_LEN): Delete.
2960 (ppc64_standard_linkage2_target): Update insn offsets.
2961 (ppc64_skip_trampoline_code): Use a single insn buffer. Match newer
2962 stubs first. Update calls.
2963
404e278f
YQ
29642013-06-04 Yao Qi <[email protected]>
2965
2966 * solib.c (solib_find): Don't need dir separator if path has
2967 drive spec.
2968
f6aea118
JB
29692013-06-03 Joel Brobecker <[email protected]>
2970
2971 Revert (indirectly causes a SIGSEGV):
2972 * machoread.c (macho_symfile_read): Assign first cleanup to
2973 'back_to'.
2974
87967e27
YQ
29752013-06-03 Yao Qi <[email protected]>
2976
2977 * mi/mi-cmd-var.c (mi_no_values, mi_simple_values): Move to
2978 mi-parse.c. Make them static.
2979 (mi_all_values): Likewise.
2980 (mi_parse_values_option): Move to mi-parse.c. Rename it to
2981 mi_parse_print_values. Make it external.
2982 * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values):
2983 Remove the declarations.
2984 * mi/mi-parse.c (mi_parse_print_values): Moved from mi-cmd-var.c.
2985 * mi/mi-parse.h (mi_parse_print_values): Declare.
2986 * mi/mi-cmd-stack.c: Include mi-parse.h.
2987 (parse_print_values): Remove
2988 (mi_cmd_stack_list_locals): Call mi_parse_print_values instead
2989 of parse_print_values.
2990 (mi_cmd_stack_list_args, mi_cmd_stack_list_variables): Likewise.
2991
3ca73e0c
YQ
29922013-05-31 Pedro Alves <[email protected]>
2993 Yao Qi <[email protected]>
2994
2995 * tracepoint.c (all_tracepoint_actions_and_cleanup): Declare.
2996 (encode_actions): Move code to ...
2997 (all_tracepoint_actions_and_cleanup): ... here. New.
2998 (trace_dump_command): Likewise.
2999
4e993a19
TT
30002013-05-30 Tom Tromey <[email protected]>
3001
3002 * symmisc.c (maintenance_expand_symtabs): Call do_cleanups.
3003
e3b76b4f
TT
30042013-05-30 Tom Tromey <[email protected]>
3005
3006 * xml-support.c (gdb_xml_create_parser_and_cleanup): Rename from
3007 gdb_xml_create_parser_and_cleanup_1. Return a cleanup. Remove
3008 'old_chain' argument. Add 'parser_result' argument.
3009 (gdb_xml_create_parser_and_cleanup): Remove old version.
3010 (gdb_xml_parse_quick): Update.
3011 (xml_process_xincludes): Update.
3012 * xml-support.h (gdb_xml_create_parser_and_cleanup): Don't
3013 declare.
3014
db26349c
TT
30152013-05-30 Tom Tromey <[email protected]>
3016
3017 * probe.c (collect_probes): Check arguments for NULL before
3018 calling compile_rx_or_error.
3019 * utils.c (compile_rx_or_error): Require 'rx' to be non-NULL.
3020 Remove NULL return.
3021
77f9e713
TT
30222013-05-30 Tom Tromey <[email protected]>
3023
3024 * infrun.c (adjust_pc_after_break): Introduce an outer null
3025 cleanup.
3026
45475de7
TT
30272013-05-30 Tom Tromey <[email protected]>
3028
3029 * mi/mi-cmd-var.c (varobj_update_one): Add an outer null cleanup.
3030
ac5007fd
TT
30312013-05-30 Tom Tromey <[email protected]>
3032
3033 * cli/cli-script.c (read_command_lines_1): Use a null cleanup
3034 for 'old_chain'. Do not check 'head' before processing
3035 cleanups.
3036
cd82eddc
TT
30372013-05-30 Tom Tromey <[email protected]>
3038
3039 * mi/mi-cmd-stack.c (list_arg_or_local): Remove
3040 "cleanup_tuple".
3041
57cee33a
TT
30422013-05-30 Tom Tromey <[email protected]>
3043
3044 * dbxread.c (dbx_read_symtab): Declare 'back_to' in a more
3045 inner scope. Unconditionally call do_cleanups.
3046
795d915c
TT
30472013-05-30 Tom Tromey <[email protected]>
3048
3049 * source.c (find_and_open_source): Call do_cleanups.
3050
1fc3cf4a
TT
30512013-05-30 Tom Tromey <[email protected]>
3052
3053 * linux-thread-db.c (thread_db_load_search): Unconditionally
3054 call do_cleanups.
3055
e35ac9bf
TT
30562013-05-30 Tom Tromey <[email protected]>
3057
3058 * solib-aix.c (solib_aix_bfd_open): Don't use a null cleanup
3059 for 'cleanup'; instead use a later one.
3060
f3300387
TT
30612013-05-30 Tom Tromey <[email protected]>
3062
3063 * python/py-breakpoint.c (bppy_get_commands): Use
3064 explicit, unconditional return.
3065 * python/py-frame.c (frapy_read_var): Likewise.
3066 * python/python.c (gdbpy_decode_line): Likewise.
3067
c27e16e3
TT
30682013-05-30 Tom Tromey <[email protected]>
3069
3070 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Call
3071 do_cleanups on all return paths.
3072
5ae85e44
TT
30732013-05-30 Tom Tromey <[email protected]>
3074
3075 * top.c (execute_command): Discard 'cleanup_if_error' cleanups.
3076
73b8d9da
TT
30772013-05-30 Tom Tromey <[email protected]>
3078
3079 * stabsread.c (read_struct_type): Call do_cleanups along
3080 all return paths.
3081
7d266584
MR
30822013-05-30 Maciej W. Rozycki <[email protected]>
3083
3084 * mips-linux-tdep.c: Adjust formatting throughout.
3085
0f900f54
TT
30862013-05-30 Tom Tromey <[email protected]>
3087
3088 * mipsread.c (read_alphacoff_dynamic_symtab): Call do_cleanups
3089 along all return paths.
3090
a991ac28
TT
30912013-05-30 Tom Tromey <[email protected]>
3092
3093 * symfile.c (find_separate_debug_file): Call do_cleanups
3094 along all return paths.
3095
1abaf042
TT
30962013-05-30 Tom Tromey <[email protected]>
3097
3098 * symtab.c (search_symbols): Introduce a null cleanup for
3099 'retval_chain'.
3100
edefe1da
TT
31012013-05-30 Tom Tromey <[email protected]>
3102
3103 * python/py-value.c (valpy_binop): Call do_cleanups before
3104 exiting loop.
3105
54f72dcc
TT
31062013-05-30 Tom Tromey <[email protected]>
3107
3108 * python/py-prettyprint.c (print_children): Remove extra
3109 do_cleanups call.
3110
af1c6971
TT
31112013-05-30 Tom Tromey <[email protected]>
3112
3113 * python/py-frame.c (frapy_read_var): Call do_cleanups along
3114 all return paths.
3115
b862ce75
TT
31162013-05-30 Tom Tromey <[email protected]>
3117
3118 * python/py-breakpoint.c (bppy_get_commands): Call do_cleanups
3119 along all return paths.
3120
e12fefc8
TT
31212013-05-30 Tom Tromey <[email protected]>
3122
3123 * cli/cli-logging.c (set_logging_redirect): Unconditionally
3124 call do_cleanups.
3125
4867f990
TT
31262013-05-30 Tom Tromey <[email protected]>
3127
3128 * varobj.c (c_value_of_root): Call do_cleanups along all
3129 return paths.
3130
4fd2d6af
TT
31312013-05-30 Tom Tromey <[email protected]>
3132
3133 * tracepoint.c (trace_dump_command): Unconditionally call
3134 do_cleanups.
3135
752eb8b4
TT
31362013-05-30 Tom Tromey <[email protected]>
3137
3138 * breakpoint.c (output_thread_groups, parse_cmd_to_aexpr): Call
3139 do_cleanups earlier.
3140
e42d0aa5
TT
31412013-05-30 Tom Tromey <[email protected]>
3142
3143 * machoread.c (macho_symfile_read): Assign first cleanup to
3144 'back_to'.
3145
4bbc010a
TT
31462013-05-30 Tom Tromey <[email protected]>
3147
3148 * m32r-rom.c (m32r_load): Call do_cleanups at all returns.
3149
b9635925
TT
31502013-05-30 Tom Tromey <[email protected]>
3151
3152 * mi/mi-main.c (list_available_thread_groups): Call do_cleanups.
3153
25f43500
TT
31542013-05-30 Tom Tromey <[email protected]>
3155
3156 * inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
3157 call discard_cleanups.
3158 (inf_ptrace_attach): Likewise.
3159
d6a2e54a
TT
31602013-05-30 Tom Tromey <[email protected]>
3161
3162 * remote-mips.c (mips_exit_debug): Call do_cleanups on all
3163 return paths.
3164 (mips_initialize): Likewise.
3165 (common_open): Call do_cleanups.
3166
48be7c1b
TT
31672013-05-30 Tom Tromey <[email protected]>
3168
3169 * utils.c (internal_vproblem): Call do_cleanups.
3170
e61727ab
TT
31712013-05-30 Tom Tromey <[email protected]>
3172
3173 * linespec.c (find_linespec_symbols): Don't reassign to 'cleanup'.
3174
b81b921f
TT
31752013-05-30 Tom Tromey <[email protected]>
3176
3177 * cli/cli-script.c (setup_user_args): Don't return after error.
3178
fe48dfb1
TT
31792013-05-30 Tom Tromey <[email protected]>
3180
3181 * somread.c (som_symtab_read): Call do_cleanups.
3182
27833de7
TT
31832013-05-30 Tom Tromey <[email protected]>
3184
3185 * printcmd.c (print_command_1): Unconditionally call do_cleanups.
3186
5b3fca71
TT
31872013-05-30 Tom Tromey <[email protected]>
3188
3189 * cli/cli-cmds.c (cd_command, alias_command): Call do_cleanups.
3190 * cli/cli-dump.c (restore_binary_file): Call do_cleanups.
3191 * interps.c (interpreter_exec_cmd): Call do_cleanups.
3192 * source.c (show_substitute_path_command): Call do_cleanups.
3193 (unset_substitute_path_command, set_substitute_path_command):
3194 Likewise.
3195 * symfile.c (load_command): Call do_cleanups.
3196
af83e3f8
TT
31972013-05-30 Tom Tromey <[email protected]>
3198
3199 * contrib/cleanup_check.py: New file.
3200 * contrib/gcc-with-excheck: Add option parsing.
3201
564eac42
JB
32022013-05-30 Joel Brobecker <[email protected]>
3203
3204 * windows-nat.c (windows_delete_thread): Add missing space
3205 in cast expression.
3206
47902076
HAQ
32072013-05-30 Hafiz Abid Qadeer <[email protected]>
3208
3209 * inferior.c (top level): Include tilde.h.
3210 (add_inferior_command): Call tilde_expand on the value of 'exec'
3211 argument.
3212
23da373a
YQ
32132013-05-30 Pedro Alves <[email protected]>
3214 Yao Qi <[email protected]>
3215
3216 * tracepoint.c (encode_actions_1): Remove parameter 't'.
3217 Caller update.
3218 (encode_actions): Likewise.
3219 * remote.c (remote_download_tracepoint): Caller update.
3220 * tracepoint.h (encode_actions): Update declaration.
3221
a6e6f791
PA
32222013-05-30 Pedro Alves <[email protected]>
3223
3224 * python/python-internal.h (gdb_Py_DECREF): Cast OP to PyObject
3225 pointer.
3226
36d25514
YQ
32272013-05-30 Yao Qi <[email protected]>
3228
3229 * remote.c (remote_check_symbols): Remove unused parameter
3230 'objfile'.
3231 Declaration update.
3232 (remote_start_remote, remote_new_objfile): Caller update.
3233
62a813cc
YQ
32342013-05-30 Yao Qi <[email protected]>
3235
3236 * mi/mi-cmds.c (mi_cmds): Define MI command
3237 '-exec-arguments' by macro DEF_MI_CMD_CLI_1 instead of
3238 DEF_MI_CMD_CLI.
3239
28439a30
PA
32402013-05-29 Pedro Alves <[email protected]>
3241
3242 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint)
3243 (remote_insert_watchpoint, remote_remove_watchpoint)
3244 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint)
3245 (remote_verify_memory, compare_sections_command)
3246 (remote_search_memory): Set the general process/thread on the
3247 remote side.
3248
6ac1c082
PA
32492013-05-29 Pedro Alves <[email protected]>
3250
3251 * aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
3252 (_initialize_aarch64_tdep): Don't call
3253 initialize_tdesc_aarch64_without_fpu.
3254 * features/Makefile (WHICH): Remove reference to
3255 aarch64-without-fpu.
3256 * features/aarch64-without-fpu.c: Delete file.
3257 * regformats/aarch64-without-fpu.dat: Delete file.
3258
a73e3634
YQ
32592013-05-28 Yao Qi <[email protected]>
3260
3261 * tracepoint.c (stringify_collection_list): Remove parameter
3262 'string'.
3263 (encode_actions): Caller update. Remove local variables.
3264
c0ea94eb
YQ
32652013-05-24 Yao Qi <[email protected]>
3266
3267 * tracepoint.c (TFILE_PID): Remove.
3268 (tfile_open): Don't add thread and inferior.
3269 (tfile_close): Don't set 'inferior_ptid'. Don't call
3270 exit_inferior_silent.
3271 (tfile_thread_alive): Remove.
3272 (init_tfile_ops): Don't set field 'to_thread_alive' of
3273 tfile_ops.
3274
20d7f211
DE
32752013-05-23 Doug Evans <[email protected]>
3276
3277 * contrib/cc-with-tweaks.sh (-p): Handle no dwo files.
3278
8658d16d
PA
32792013-05-23 Pedro Alves <[email protected]>
3280
3281 * common/filestuff.c [USE_WIN32API]: Define HAVE_SOCKETS.
3282 [HAVE_SYS_SOCKET_H]: Define HAVE_SOCKETS.
3283 (socket_mark_cloexec, gdb_socketpair_cloexec, gdb_socket_cloexec):
3284 Only define if HAVE_SOCKETS is defined.
3285 * configure.ac: Check for sys/socket.h.
3286 * config.in, configure: Regenerate.
3287
21aa081e
PA
32882013-05-23 Pedro Alves <[email protected]>
3289
3290 * dwarf2read.c (create_dwp_hash_table, create_dwo_in_dwp)
3291 (open_and_init_dwp_file): Use %s/pulongest instead of %u for
3292 printing uint32_t variables.
3293
c2d6af84
PA
32942013-05-23 Pedro Alves <[email protected]>
3295
3296 * NEWS: Mention GDBserver range stepping support.
3297
c1e36e3e
PA
32982013-05-23 Yao Qi <[email protected]>
3299 Pedro Alves <[email protected]>
3300
3301 * gdbthread.h (struct thread_control_state) <may_range_step>: New
3302 field.
3303 * infcmd.c (step_once, until_next_command): Enable range stepping.
3304 * infrun.c (displaced_step_prepare): Disable range stepping.
3305 (resume): Disable range stepping if stepping over a breakpoint or
3306 we have software watchpoints. If range stepping is enabled,
3307 assert the thread is in the stepping range.
3308 (clear_proceed_status_thread): Clear may_range_step.
3309 (handle_inferior_event): Disable range stepping as soon as we know
3310 the thread that hit the event. Re-enable it whenever we're going
3311 to step with a step range.
3312 * remote.c (struct vCont_action_support) <r>: New field.
3313 (use_range_stepping): New global.
3314 (remote_vcont_probe): Handle 'r' action.
3315 (append_resumption): Append an 'r' action if the thread may range
3316 step.
3317 (show_range_stepping): New function.
3318 (set_range_stepping): New function.
3319 (_initialize_remote): Call add_setshow_boolean_cmd to register the
3320 'set range-stepping' and 'show range-stepping' commands.
3321 * NEWS: Mention range stepping, the new vCont;r action, and the
3322 new "set/show range-stepping" commands.
3323
d458bd84
PA
33242013-05-23 Yao Qi <[email protected]>
3325 Pedro Alves <[email protected]>
3326
3327 * remote.c (struct vCont_action_support): New struct.
3328 (struct remote_state) <support_vCont_t>: Remove field.
3329 <vCont_actions_support>: New field.
3330 (remote_vcont_probe, remote_stop_ns): Update.
3331
ce4c476a
PA
33322013-05-23 Yao Qi <[email protected]>
3333 Pedro Alves <[email protected]>
3334
3335 * gdbthread.h (pc_in_thread_step_range): New declaration.
3336 * thread.c (pc_in_thread_step_range): New function.
3337 * infrun.c (handle_inferior_event): Use it.
3338
ce70887a
JB
33392013-05-23 Joel Brobecker <[email protected]>
3340
3341 * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead
3342 of sprintf.
3343
55b87a52
KS
33442013-05-22 Keith Seitz <[email protected]>
3345
3346 * ada-lang.c (is_known_support_routine): Add explicit free of
3347 'func_name' from find_frame_funname.
3348 (ada_unhandled_exception_name_addr_from_raise): Add cleanups
3349 for func_name from find_frame_funname.
3350 * python/py-frame.c (frapy_name): Add explicit free of
3351 'name' from find_frame_funname.
3352 * stack.c (find_frame_funname): Add comment explaining that
3353 funcp must be freed by the caller.
3354 Return copy of symbol names instead of pointers.
3355 (print_frame): Add a cleanup for 'funname' from
3356 find_frame_funname.
3357 * stack.h (find_frame_funname): Remove "const" from
3358 'funname' parameter.
3359
5f2e6b00
TT
33602013-05-22 Tom Tromey <[email protected]>
3361
3362 PR c++/15401:
3363 * c-valprint.c (c_value_print): Use value_addr for
3364 references. Convert back to reference type with value_ref.
3365
d85c4847
EZ
33662013-05-22 Eli Zaretskii <[email protected]>
3367
3368 * windows-nat.c (handle_unload_dll): Don't call solib_add for the
3369 unloaded DLL, it will be done by handle_solib_event. See
3370 http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the
3371 details.
3372
54eb231c
PM
33732013-05-22 Phil Muldoon <[email protected]>
3374
3375 * ui-out.c: Create typedef ui_out_level_p and define vector
3376 operations for that type.
3377 (struct ui_out): Use a vector instead of an array.
3378 (current_level): Return level from a vector.
3379 (push_level): Create a level in a vector.
3380 (pop_level): Delete a level in a vector.
3381 (ui_out_new): Create initial level zero level, and store in a
3382 vector.
3383 (ui_out_destroy): Add vector cleanup.
3384
ac90359c
PA
33852013-05-22 Pedro Alves <[email protected]>
3386
3387 * python/python-internal.h (gdb_Py_DECREF): Tag with
3388 "ARI: editCase function".
3389
6dcc1893
PP
33902013-05-21 Paul Pluzhnikov <[email protected]>
3391
3392 * solib-svr4.c (svr4_free_so): Protect against NULL dereference.
3393
c8c735b9
PA
33942013-05-21 Pedro Alves <[email protected]>
3395
3396 * python/py-prettyprint.c (apply_val_pretty_printer): Check
3397 whether PRINTER is NULL before installing a Py_DECREF cleanup.
3398 * python/py-utils.c (py_decref): Don't check for NULL before
3399 calling Py_DECREF.
3400
1915daeb
PA
34012013-05-21 Pedro Alves <[email protected]>
3402
3403 * python/py-utils.c (py_decref): Remove extra braces.
3404 (gdb_pymodule_addobject): Remove extra braces.
3405 * python-internal.h (gdb_Py_DECREF): New static inline function.
3406 (Py_DECREF): Redefine as calling gdb_Py_DECREF.
3407
bd9673a4
PW
34082013-05-21 Philippe Waroquiers <[email protected]>
3409
3410 * breakpoints.c (detach_breakpoints): Do not
3411 detach breakpoints locations with loc_type bp_loc_other.
3412
ff6009d0
JK
34132013-05-21 Jan Kratochvil <[email protected]>
3414
3415 Workaround Python 2.6.
3416 * python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into
3417 a block.
3418
3641da11
JK
34192013-05-21 Jan Kratochvil <[email protected]>
3420
3421 Code cleanup: constification.
3422 * solib.c (solib_ops): Make return type and ops variable type const.
3423 (set_solib_ops): Make the new_ops parameter and ops variable const.
3424 (solib_find, solib_map_sections, clear_so, free_so, update_solib_list)
3425 (solib_add, solib_keep_data_in_core, clear_solib)
3426 (solib_create_inferior_hook, in_solib_dynsym_resolve_code)
3427 (reload_shared_libraries, solib_global_lookup): Make the ops variable
3428 const.
3429 * solib.h (set_solib_ops): Make the new_ops parameter const.
3430
776af39e
JB
34312013-05-21 Joel Brobecker <[email protected]>
3432
3433 * data-directory/Makefile.in (SYSTEM_GDBINIT_SRCDIR): New
3434 variable.
3435 (VPATH): Add SYSTEM_GDBINIT_SRCDIR.
3436 (SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_INSTALL_DIR)
3437 (SYSTEM_GDBINIT_FILES): New variables.
3438 (all): Add stamp-system-gdbinit.
3439 (stamp-system-gdbinit): New rule.
3440 (clean-system-gdbinit, install-system-gdbinit)
3441 (uninstall-system-gdbinit): New rules. Make them .PHONY.
3442 (install-only): Add dependency on install-system-gdbinit.
3443 (uninstall): Add dependency on uninstall-system-gdbinit.
3444 (clean): Add dependency on clean-system-gdbinit.
3445 * system-gdbinit/elinos.py: New file.
3446 * system-gdbinit/wrs-linux.py: New file.
3447
1509e573
JB
34482013-05-21 Joel Brobecker <[email protected]>
3449
3450 * ada-lang.c (old_renaming_is_invisible): Fix cleanup leak.
3451
c5867ab6
HZ
34522013-05-21 Hui Zhu <[email protected]>
3453
3454 * breakpoint.c (dprintf_breakpoint_ops): Remove its static.
3455 * breakpoint.h (dprintf_breakpoint_ops): Add extern.
3456 * mi/mi-cmd-break.c (ctype.h): New include.
3457 (gdb_obstack.h): New include.
3458 (mi_argv_to_format, mi_cmd_break_insert_1): New.
3459 (mi_cmd_break_insert): Call mi_cmd_break_insert_1.
3460 (mi_cmd_dprintf_insert): New.
3461 * mi/mi-cmds.c (mi_cmds): Add "dprintf-insert".
3462 * mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern.
3463
7d38e38f
TT
34642013-05-20 Tom Tromey <[email protected]>
3465
3466 * python/py-prettyprint.c (search_pp_list): Decref 'attr'.
3467
97b77b39
TT
34682013-05-20 Tom Tromey <[email protected]>
3469
3470 * python/py-value.c (valpy_get_dynamic_type): Simplify
3471 dynamic_type assignment. Use Py_XINCREF.
3472
53e66479
TT
34732013-05-20 Tom Tromey <[email protected]>
3474
3475 * python/py-type.c (typy_fields): Unconditionally decref 'r'.
3476
dcf87832
TT
34772013-05-20 Tom Tromey <[email protected]>
3478
3479 * python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame)
3480 (gdbpy_selected_frame): Move object-construction code
3481 out of TRY_CATCH.
3482
aa36459a
TT
34832013-05-20 Tom Tromey <[email protected]>
3484
3485 * python/py-arch.c (gdbpy_initialize_arch): Use
3486 gdb_pymodule_addobject.
3487 * python/py-block.c (gdbpy_initialize_blocks): Use
3488 gdb_pymodule_addobject.
3489 * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use
3490 gdb_pymodule_addobject.
3491 * python/py-cmd.c (gdbpy_initialize_breakpoints): Use
3492 gdb_pymodule_addobject.
3493 * python/py-event.c (gdbpy_initialize_event_generic): Use
3494 gdb_pymodule_addobject.
3495 * python/py-evtregistry.c (gdbpy_initialize_eventregistry): Use
3496 gdb_pymodule_addobject.
3497 * python/py-evts.c (add_new_registry): Use
3498 gdb_pymodule_addobject.
3499 (gdbpy_initialize_py_events): Likewise.
3500 * python/py-finishbreakpoint.c
3501 (gdbpy_initialize_finishbreakpoints): Use
3502 gdb_pymodule_addobject.
3503 * python/py-frame.c (gdbpy_initialize_frames): Use
3504 gdb_pymodule_addobject.
3505 * python/py-function.c (gdbpy_initialize_functions): Use
3506 gdb_pymodule_addobject.
3507 * python/py-inferior.c (gdbpy_initialize_inferior): Use
3508 gdb_pymodule_addobject.
3509 * python/py-infthread.c (gdbpy_initialize_thread): Use
3510 gdb_pymodule_addobject.
3511 * python/py-objfile.c (gdbpy_initialize_objfile): Use
3512 gdb_pymodule_addobject.
3513 * python/py-param.c (gdbpy_initialize_parameters): Use
3514 gdb_pymodule_addobject.
3515 * python/py-progspace.c (gdbpy_initialize_pspace): Use
3516 gdb_pymodule_addobject.
3517 * python/py-symbol.c (gdbpy_initialize_symbols): Use
3518 gdb_pymodule_addobject.
3519 * python/py-symtab.c (gdbpy_initialize_symtabs): Use
3520 gdb_pymodule_addobject.
3521 * python/py-type.c (gdbpy_initialize_types): Use
3522 gdb_pymodule_addobject.
3523 * python/py-utils.c (gdb_pymodule_addobject): New function.
3524 * python/py-value.c (gdbpy_initialize_values): Use
3525 gdb_pymodule_addobject.
3526 * python/python-internal.h (gdb_pymodule_addobject): Declare.
3527 * python/python.c (_initialize_python): Use
3528 gdb_pymodule_addobject.
3529
3d4a3c3e
TT
35302013-05-20 Tom Tromey <[email protected]>
3531
3532 * python/py-cmd.c (cmdpy_completer): Use explicit decref.
3533 * python/py-param.c (get_set_value, get_show_value): Use
3534 explicit decrefs.
3535 * python/python.c (start_type_printers, apply_type_printers):
3536 Use explicit decrefs.
3537
72ff8829
TT
35382013-05-20 Tom Tromey <[email protected]>
3539
3540 * python/py-evts.c (gdbpy_initialize_py_events): Don't
3541 incref the module.
3542
02146ba5
TT
35432013-05-20 Tom Tromey <[email protected]>
3544
3545 * python/python.c (gdbpy_run_events): Decref the result
3546 of PyObject_CallObject.
3547
33ee792f
TT
35482013-05-20 Tom Tromey <[email protected]>
3549
3550 * python/py-symtab.c (set_sal): Use
3551 CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. Return -1 on error.
3552 (symtab_and_line_to_sal_object): Update.
3553
fcb49fc8
TT
35542013-05-20 Tom Tromey <[email protected]>
3555
3556 * python/py-param.c (compute_enum_values): Decref 'item'.
3557
0646da15
TT
35582013-05-20 Tom Tromey <[email protected]>
3559
3560 * mi/mi-main.c: Include python-internal.h.
3561 (mi_cmd_list_features): Check gdb_python_initialized.
3562 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
3563 (python_inferior_exit, python_new_objfile, add_thread_object)
3564 (delete_thread_object, py_free_inferior): Check
3565 gdb_python_initialized.
3566 * python/py-prettyprint.c (apply_val_pretty_printer): Check
3567 gdb_python_initialized.
3568 * python/py-type.c (save_objfile_types): Check
3569 gdb_python_initialized.
3570 * python/python-internal.h (gdb_python_initialized): Declare.
3571 * python/python.c (ensure_python_env): Throw exception if
3572 Python not initialized.
3573 (before_prompt_hook, source_python_script_for_objfile)
3574 (start_type_printers, apply_type_printers,
3575 free_type_printers): Check gdb_python_initialized.
3576 * varobj.c (varobj_get_display_hint)
3577 (dynamic_varobj_has_child_method, update_dynamic_varobj_children)
3578 (install_new_value_visualizer, varobj_set_visualizer)
3579 (value_get_print_value): Check gdb_python_initialized.
3580
999633ed
TT
35812013-05-20 Tom Tromey <[email protected]>
3582
3583 * python/py-arch.c (gdbpy_initialize_arch): Return 'int'.
3584 Check errors.
3585 * python/py-auto-load.c (gdbpy_initialize_auto_load): Return 'int'.
3586 * python/py-block.c (gdbpy_initialize_blocks): Return 'int'.
3587 Check errors.
3588 * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Return 'int'.
3589 Check errors.
3590 * python/py-cmd.c (gdbpy_initialize_commands): Return 'int'.
3591 Check errors.
3592 * python/py-event.c (gdbpy_initialize_event): Return 'int'.
3593 Check errors.
3594 * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Change generated
3595 init function to return 'int'.
3596 * python/py-evtregistry.c (gdbpy_initialize_eventregistry):
3597 Return 'int'. Check errors.
3598 * python/py-evts.c (gdbpy_initialize_py_events): Return 'int'.
3599 Check errors.
3600 * python/py-finishbreakpoint.c (gdbpy_initialize_finishbreakpoints):
3601 Return 'int'. Check errors.
3602 * python/py-frame.c (gdbpy_initialize_frames): Return 'int'.
3603 Check errors.
3604 * python/py-function.c (gdbpy_initialize_functions): Return 'int'.
3605 Check errors.
3606 * python/py-gdb-readline.c (gdbpy_initialize_gdb_readline):
3607 Check errors.
3608 * python/py-inferior.c (gdbpy_initialize_inferior): Return 'int'.
3609 Check errors.
3610 * python/py-infthread.c (gdbpy_initialize_thread): Return 'int'.
3611 Check errors.
3612 * python/py-lazy-string.c (gdbpy_initialize_lazy_string): Return 'int'.
3613 Check errors.
3614 * python/py-objfile.c (gdbpy_initialize_objfile): Return 'int'.
3615 Check errors.
3616 * python/py-param.c (gdbpy_initialize_parameters): Return 'int'.
3617 Check errors.
3618 * python/py-progspace.c (gdbpy_initialize_pspace): Return 'int'.
3619 Check errors.
3620 * python/py-symbol.c (gdbpy_initialize_symbols): Return 'int'.
3621 Check errors.
3622 * python/py-symtab.c (gdbpy_initialize_symtabs): Return 'int'.
3623 Check errors.
3624 * python/py-type.c (gdbpy_initialize_types): Return 'int'.
3625 Check errors.
3626 * python/py-value.c (gdbpy_initialize_values): Return 'int'.
3627 Check errors.
3628 * python/python-internal.h (gdbpy_initialize_auto_load,
3629 gdbpy_initialize_values, gdbpy_initialize_frames,
3630 gdbpy_initialize_symtabs, gdbpy_initialize_commands,
3631 gdbpy_initialize_symbols, gdbpy_initialize_symtabs,
3632 gdbpy_initialize_blocks, gdbpy_initialize_types,
3633 gdbpy_initialize_functions, gdbpy_initialize_pspace,
3634 gdbpy_initialize_objfile, gdbpy_initialize_breakpoints,
3635 gdbpy_initialize_finishbreakpoints,
3636 gdbpy_initialize_lazy_string, gdbpy_initialize_parameters,
3637 gdbpy_initialize_thread, gdbpy_initialize_inferior,
3638 gdbpy_initialize_eventregistry, gdbpy_initialize_event,
3639 gdbpy_initialize_py_events, gdbpy_initialize_stop_event,
3640 gdbpy_initialize_signal_event,
3641 gdbpy_initialize_breakpoint_event,
3642 gdbpy_initialize_continue_event,
3643 gdbpy_initialize_exited_event, gdbpy_initialize_thread_event,
3644 gdbpy_initialize_new_objfile_event, gdbpy_initialize_arch):
3645 Update. Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
3646 * python/python.c (gdb_python_initialized): New global.
3647 (gdbpy_initialize_events): Return 'int'. Check errors.
3648 (_initialize_python): Check errors. Set
3649 gdb_python_initialized.
3650
18868860
TT
36512013-05-20 Tom Tromey <[email protected]>
3652
3653 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope):
3654 Decref the reslut of PyObject_CallMethod.
3655
9f4ff0c2
TT
36562013-05-20 Tom Tromey <[email protected]>
3657
3658 * python/py-event.c (gdbpy_initialize_event_generic): Return
3659 early if PyType_Ready fails.
3660
0d3a2e8a
TT
36612013-05-20 Tom Tromey <[email protected]>
3662
3663 * python/py-type.c (make_fielditem): Add gdb_assert_not_reached
3664 as 'default' in the switch.
3665
b86af38a
TT
36662013-05-20 Tom Tromey <[email protected]>
3667
3668 * python/py-inferior.c (gdbpy_inferiors): Update. Hoist
3669 get_addr_from_python calls out of TRY_CATCH.
3670 (infpy_write_memory, infpy_search_memory): Likewise.
3671 * python/py-utils.c (get_addr_from_python): Return negative
3672 value on error. Use TRY_CATCH.
3673 * python/python-internal.h (get_addr_from_python): Use
3674 CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
3675
c127ec58
TT
36762013-05-20 Tom Tromey <[email protected]>
3677
3678 * python/py-event.c (evpy_emit_event): Decref the
3679 result of PyObject_CallFunctionObjArgs.
3680
ba327838
TT
36812013-05-20 Tom Tromey <[email protected]>
3682
3683 * python/py-cmd.c (cmdpy_completer): Use iterator protocol.
3684 Correctly decref.
3685
d8191432
TT
36862013-05-20 Tom Tromey <[email protected]>
3687
3688 * python/py-cmd.c (cmdpy_init): Decref 'ds_obj'.
3689
5d153bd1
TT
36902013-05-20 Tom Tromey <[email protected]>
3691
3692 * python/py-event.h (gdbpy_initialize_event_generic): Use
3693 CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
3694 * python/py-evts.c (add_new_registry): Use
3695 CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION.
3696 * python/python-internal.h
3697 (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro.
3698
56cc411c
TT
36992013-05-20 Tom Tromey <[email protected]>
3700
3701 * python/py-arch.c (archpy_disassemble): Update.
3702 * python/py-type.c (typy_get_composite, typy_lookup_typename)
3703 (typy_lookup_type): Use GDB_PY_HANDLE_EXCEPTION.
3704 * python/py-utils.c (gdbpy_convert_exception): Return 'void'.
3705 * python/python-internal.h (CPYCHECKER_SETS_EXCEPTION): New
3706 macro.
3707 (GDB_PY_HANDLE_EXCEPTION): Update.
3708 (gdbpy_convert_exception): Update. Use CPYCHECKER_SETS_EXCEPTION.
3709
8919e174
TT
37102013-05-20 Tom Tromey <[email protected]>
3711
3712 * python/python-internal.h (events_object_type): Remove.
3713
9b08f225
TT
37142013-05-20 Tom Tromey <[email protected]>
3715
f5aee5ee
AM
3716 * python/py-event.h (evpy_emit_event): Use
3717 CPYCHECKER_STEALS_REFERENCE_TO_ARG.
3718 * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
3719 New macro.
9b08f225 3720
f04010ff
TT
37212013-05-20 Tom Tromey <[email protected]>
3722
3723 * py-evtregistry.c (create_event_object): Decref
3724 eventregistry_object if PyList_New fails.
3725
3919fd96
TT
37262013-05-20 Tom Tromey <[email protected]>
3727
3728 * py-cmd.c (gdbpy_string_to_argv): Check result of
3729 PyList_New.
3730
0430e8cb
TT
37312013-05-20 Tom Tromey <[email protected]>
3732
3733 * python/python.c (before_prompt_hook): Add cleanup to
3734 decref 'hook'.
3735
764123e4
TT
37362013-05-20 Tom Tromey <[email protected]>
3737
3738 * python/py-function.c (fnpy_init): Decref result of
3739 PyObject_GetAttrString.
3740
634c58be
TT
37412013-05-20 Tom Tromey <[email protected]>
3742
3743 * python/py-threadevent.c (get_event_thread): Use
3744 CPYCHECKER_RETURNS_BORROWED_REF.
3745 * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
3746 New define.
3747 (pspace_to_pspace_object, objfile_to_objfile_object)
3748 (find_thread_object): Use it.
3749
62eec1a5
TT
37502013-05-20 Tom Tromey <[email protected]>
3751
3752 * python/py-arch.c (arch_object_type): Use
3753 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3754 * python/py-block.c (block_syms_iterator_object_type):
3755 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3756 * python/py-bpevent.c (breakpoint_event_object_type):
3757 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3758 * python/py-cmd.c (cmdpy_object_type): Use
3759 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3760 * python/py-continueevent.c (continue_event_object_type):
3761 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3762 * python/py-event.h (GDBPY_NEW_EVENT_TYPE):
3763 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3764 * python/py-events.h (thread_event_object_type):
3765 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3766 * python/py-evtregistry.c (eventregistry_object_type): Use
3767 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3768 * python/py-exitedevent.c (exited_event_object_type):
3769 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3770 * python/py-finishbreakpoint.c (finish_breakpoint_object_type):
3771 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3772 * python/py-function.c (fnpy_object_type): Use
3773 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3774 * python/py-inferior.c (inferior_object_type, membuf_object_type):
3775 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3776 * python/py-infthread.c (thread_object_type): Use
3777 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3778 * python/py-lazy-string.c (lazy_string_object_type):
3779 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3780 * python/py-newobjfileevent.c (new_objfile_event_object_type):
3781 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3782 * python/py-objfile.c (objfile_object_type): Use
3783 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3784 * python/py-param.c (parmpy_object_type):
3785 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3786 * python/py-progspace.c (pspace_object_type):
3787 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3788 * python/py-signalevent.c (signal_event_object_type):
3789 Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3790 * python/py-symtab.c (symtab_object_type, sal_object_type): Use
3791 CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3792 * python/py-type.c (type_object_type, field_object_type)
3793 (type_iterator_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3794 * python/py-internal.h (CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF): New
3795 define.
3796 (value_object_type, block_object_type, symbol_object_type)
3797 (event_object_type, stop_event_object_type, breakpoint_object_type)
3798 (frame_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF.
3799
81ea8796
AT
38002013-05-20 Andreas Tobler <[email protected]>
3801
3802 * Makefile.in (ALL_TARGET_OBS): Add ppcfbsd-tdep.o.
3803 (ALLDEPFILES): Add ppcfbsd-nat.c and ppcfbsd-tdep.c.
3804
a2ce51a0
DE
38052013-05-20 Doug Evans <[email protected]>
3806
3807 When reading CU, stay in DWO. Be more tolerent of bad debug info.
3808 For Fission.
3809 * dwarf2read.c (struct dwarf2_per_cu_data): New member
3810 reading_dwo_directly.
3811 (struct signatured_type): New member dwo_unit.
3812 (struct die_reader_specs): New member comp_dir.
3813 (create_signatured_type_table_from_index): Use malloc for
3814 all_type_units instead of objfile's obstack.
3815 (create_all_type_units): Ditto.
3816 (fill_in_sig_entry_from_dwo_entry): New function.
3817 (add_type_unit): New function.
3818 (lookup_dwo_signatured_type): New function.
3819 (lookup_dwp_signatured_type): New function.
3820 (lookup_signatured_type): New arg cu. All callers updated.
3821 (init_cu_die_reader): Initialize comp_dir.
3822 (read_cutu_die_from_dwo): New arg stub_comp_dir. All callers updated.
3823 Change assert of matching type signatures to call error on mismatch.
3824 (lookup_dwo_unit): Add assert.
3825 (init_tu_and_read_dwo_dies): New function.
3826 (init_cutu_and_read_dies): Call it.
3827 (build_type_unit_groups): Handle case of no type unit groups created.
3828 (hash_dwo_file, eq_dwo_file): Handle missing comp_dir.
3829 (lookup_dwo_cutu): Tweak complaint.
3830 (dwarf2_free_abbrev_table): Check for NULL abbrev_table.
3831 (dwarf2_per_objfile_free): Free all_type_units.
3832
a25cd31f
JB
38332013-05-20 Joel Brobecker <[email protected]>
3834
3835 * windows-nat.c (handle_unload_dll): Add missing empty line.
3836
4d804846
JB
38372013-05-20 Joel Brobecker <[email protected]>
3838
3839 * dwarf2read.c (prototyped_function_p): New function.
3840 (read_subroutine_type): Use it.
3841
1c432e72
JB
38422013-05-20 Joel Brobecker <[email protected]>
3843
3844 * rs6000-aix-tdep.c: De-indent some example code provided
3845 as a comment.
3846
4feebbdd
EBM
38472013-05-17 Edjunior Machado <[email protected]>
3848
3849 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Check if the
3850 region is ok for a hardware watchpoint using the new ptrace interface
3851 on Power servers.
3852
7d0c9981
DE
38532013-05-17 Doug Evans <[email protected]>
3854
3855 * NEWS: Mention new maintenance commands check-symtabs, and
3856 expand-symtabs, and renamed check-psymtabs.
3857 * psymtab.c (maintenance_check_psymtabs): Renamed from
3858 maintenance_check_symtabs. Only process already-expanded symbol
3859 tables.
3860 (_initialize_psymtab): Update.
3861 * symmisc.c (maintenance_check_symtabs): New function.
3862 (maintenance_expand_name_matcher): New function
3863 (maintenance_expand_file_matcher): New function
3864 (maintenance_expand_symtabs): New function.
3865 (_initialize_symmisc): Add "mt check-symtabs" and "mt expand-symtabs"
3866 commands.
3867
6cbc7c3d
TT
38682013-05-17 Tom Tromey <[email protected]>
3869
3870 * python/py-inferior.c (infpy_read_memory): Don't call
3871 PyErr_SetString if PyObject_New fails.
3872 * python/py-frame.c (frame_info_to_frame_object): Don't call
3873 PyErr_SetString if PyObject_New fails.
3874
a48b32c0
L
38752013-05-17 Pavel Chupin <[email protected]>
3876
3877 * acinclude.m4: Add check for dlopen in libdl.
3878 * configure.ac: Ditto.
3879 * configure: Regenerate.
3880
3de661e6
PM
38812013-05-17 Phil Muldoon <[email protected]>
3882
3883 * frame.c (frame_stash): Convert to htab.
3884 (frame_addr_hash): New function.
3885 (frame_addr_hash_eq): New function.
3886 (frame_stash_create): Convert function to create
3887 a hash table.
3888 (frame_stash_add): Convert function to add an entry to a hash
3889 table.
3890 (frame_stash_find): Convert function to search the hash table.
3891 (frame_stash_invalidate): Convert function to empty the hash
3892 table.
3893 (get_frame_id): Only add to stash if a frame_id is created.
3894 (_initialize_frame): Call frame_stash_create.
3895
bb4168a9 38962013-05-16 Yue Lu <[email protected]> (tiny change)
036c3acb
TS
3897
3898 * configure.ac: Ensure MIG is available when building for GNU Hurd
3899 hosts.
3900 * configure: Regenerate.
3901
d1be3247
JB
39022013-05-16 Joel Brobecker <[email protected]>
3903
3904 * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
3905
b8fea896
JB
39062013-05-16 Joel Brobecker <[email protected]>
3907
3908 * ada-lang.c (ada_make_symbol_completion_list): Make sure
3909 all cleanups are done before returning from this function.
3910
af880d85
JB
39112013-05-15 Joel Brobecker <[email protected]>
3912
3913 * utils.h: #include "exceptions.h".
3914 (enum errors): Remove partial declaration.
3915
356a5233
JB
39162013-05-15 Joel Brobecker <[email protected]>
3917
3918 * gdbarch.sh (core_xfer_shared_libraries_aix): New method.
3919 * gdbarch.h, gdbarch.c: Regenerate.
3920 * corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX
3921 handling.
3922
3923 * rs6000-aix-tdep.h: New file.
3924 * Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h.
3925 * rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and
3926 "xml-utils.h".
3927 (struct field_info, struct ld_info_desc): New types.
3928 (ld_info32_desc, ld_info64_desc): New static constants.
3929 (struct ld_info): New type.
3930 (rs6000_aix_extract_ld_info): New function.
3931 (rs6000_aix_shared_library_to_xml): Likewise.
3932 (rs6000_aix_ld_info_to_xml): Likewise.
3933 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3934 (rs6000_aix_init_osabi): Add call to
3935 set_gdbarch_core_xfer_shared_libraries_aix.
3936 * rs6000-nat.c: Add "rs6000-aix-tdep.h" include.
3937 Remove "xml-utils.h" include.
3938 (LdInfo): Delete typedef.
3939 (ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME):
3940 Delete macros.
3941 (rs6000_ptrace_ldinfo): Change return type to gdb_byte *.
3942 Adjust code accordingly.
3943 (rs6000_core_ldinfo): Delete, folded into
3944 rs6000_aix_core_xfer_shared_libraries_aix.
3945 (rs6000_xfer_shared_library): Delete.
3946 (rs6000_xfer_shared_libraries): Reimplement.
3947
742ce053
MM
39482013-05-15 Markus Metzger <[email protected]>
3949
3950 * record.c (record_goto_cmdlist): New.
3951 (cmd_record_goto): Split into this ...
3952 (cmd_record_goto_begin): ... this
3953 (cmd_record_goto_end): ... and this.
3954 (_initialize_record): Change "record goto" to prefix command.
3955 Add commands for "record goto begin" and "record goto end".
3956 Add an alias for "record goto start" to "record goto begin".
3957
e93ba630
JK
39582013-05-14 Jan Kratochvil <[email protected]>
3959
3960 * linespec.c (convert_linespec_to_sals): New comment for
3961 SOURCE_FILENAME assignment.
3962
5821aace
JK
39632013-05-14 Jan Kratochvil <[email protected]>
3964
3965 * cleanups.c (restore_my_cleanups): Replace gdb_assert by
3966 internal_warning.
3967
a1b8c4cc
TT
39682013-05-14 Tom Tromey <[email protected]>
3969
3970 * eval.c (parse_and_eval_long): Make 'exp' const.
3971 * value.h (parse_and_eval_long): Update.
3972
23b3a2c3
TT
39732013-05-14 Tom Tromey <[email protected]>
3974
3975 * ui-file.c (gdb_fopen): Make arguments const.
3976 * ui-file.h (gdb_fopen): Make arguments const.
3977
ca623f82
TT
39782013-05-14 Tom Tromey <[email protected]>
3979
3980 * remote.c (remote_set_trace_notes): Make arguments const.
3981 * target.c (update_current_target): Update cast.
3982 * target.h (to_set_trace_notes): Make arguments const.
3983
503ebb2c
TT
39842013-05-14 Tom Tromey <[email protected]>
3985
3986 * go32-nat.c (go32_terminal_info): Make 'args' const.
3987 * inferior.h (child_terminal_info): Update.
3988 * inflow.c (child_terminal_info): Make 'args' const.
3989 * target.c (default_terminal_info): Make 'args' const.
3990 (debug_to_terminal_save_ours): Likewise.
3991 * target.h (struct target_ops) <to_terminal_info>: Make argument
3992 const.
3993
85e1311a
TT
39942013-05-13 Tom Tromey <[email protected]>
3995
3996 * gcore.c (create_gcore_bfd): Make 'filename' const.
3997 * gcore.h (create_gcore_bfd): Make 'filename' const.
3998 * record-full.c (record_full_save): Make 'recfilename' const.
3999 * target.c (target_save_record): Make 'filename' const.
4000 * target.h (struct target_ops) <to_save_record>: Make 'filename'
4001 const.
4002 (target_save_record): Likewise.
4003
d62bfeaf
TT
40042013-05-13 Tom Tromey <[email protected]>
4005
f5aee5ee 4006 PR gdb/15338:
d62bfeaf
TT
4007 * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
4008 ranges section has been read.
4009
ac1ca910
TT
40102013-05-13 Tom Tromey <[email protected]>
4011
4012 PR exp/15364:
4013 * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
4014 STRUCTOP_PTR>: Return a not_lval value for
4015 EVAL_AVOID_SIDE_EFFECTS.
4016 * opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value
4017 for EVAL_AVOID_SIDE_EFFECTS.
4018
36d1c68c
JB
40192013-05-13 Joel Brobecker <[email protected]>
4020
4021 * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert
4022 floating point registers to register type before storing
4023 value.
4024 * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call):
4025 Likewise.
4026
21ff4686
TT
40272013-05-10 Joel Brobecker <[email protected]>
4028 Tom Tromey <[email protected]>
4029
4030 * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
4031 New functions.
4032 * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec):
4033 Declare.
4034 * darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec.
4035 (darwin_ptrace_him): Use unmark_fd_no_cloexec.
4036 * inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec.
4037 (inf_ttrace_prepare): Use mark_fd_no_cloexec.
4038
d3685d60
TT
40392013-05-10 Freddie Chopin <[email protected]>
4040 Tom Tromey <[email protected]>
4041
4042 PR build/15414:
4043 * configure: Rebuild.
4044 * configure.ac (build_warnings): Do not use -Wformat-nonliteral
4045 with -Wno-format.
4046
eb9fe518
PA
40472013-05-10 Pedro Alves <[email protected]>
4048
4049 * remote.c (_initialize_remote): Fix spelling of
4050 qXfer:traceframe-info:read packet in packet config command.
4051
9779ab84
PA
40522013-05-10 David Taylor <[email protected]>
4053
4054 PR remote/15455
4055
4056 * remote.c (remote_trace_set_readonly_regions): Do not overwrite
4057 "QTro" at start of packet.
4058
060cfbef
JB
40592013-05-10 Joel Brobecker <[email protected]>
4060
4061 * solib-aix.c (solib_aix_relocate_section_addresses):
4062 For the .bss section action, apply the same offset as
4063 the .data section.
4064
ab1c4e88
JB
40652013-05-10 Joel Brobecker <[email protected]>
4066
4067 * solib-aix.c (solib_aix_relocate_section_addresses):
4068 Remove FIXME comment.
4069
c1357578
JB
40702013-05-10 Joel Brobecker <[email protected]>
4071
4072 PR tdep/15420:
4073 * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs):
4074 New functions, directly copied from sparc-sol-thread.c.
4075 * sparc-sol-thread.c: Delete.
4076 * configure.ac: Remove code handling sparc-solaris-thread.c.
4077 * configure: Regenerate.
4078
1e611234
PM
40792013-05-10 Phil Muldoon <[email protected]>
4080
4081 * stack.c (backtrace_command_1): Add "no-filters", and Python frame
4082 filter logic.
4083 (backtrace_command): Add "no-filters" option parsing.
4084 (_initialize_stack): Alter help to reflect "no-filters" option.
4085 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o
4086 (SUBDIR_PYTHON_SRCS): Add py-framefilter.c
4087 (py-frame.o): Add target
4088 * data-directory/Makefile.in (PYTHON_DIR): Add Python frame
4089 filter files.
4090 * python/python.h: Add new frame filter constants, and flag enum.
4091 (apply_frame_filter): Add definition.
4092 * python/python.c (apply_frame_filter): New non-Python
4093 enabled function.
4094 * python/py-utils.c (py_xdecref): New function.
4095 (make_cleanup_py_xdecref): Ditto.
4096 * python/py-objfile.c: Declare frame_filters dictionary.
4097 (objfpy_dealloc): Add frame_filters dealloc.
4098 (objfpy_new): Initialize frame_filters attribute.
4099 (objfile_to_objfile_object): Ditto.
4100 (objfpy_get_frame_filters): New function.
4101 (objfpy_set_frame_filters): New function.
4102 * python/py-progspace.c: Declare frame_filters dictionary.
4103 (pspy_dealloc): Add frame_filters dealloc.
4104 (pspy_new): Initialize frame_filters attribute.
4105 (pspacee_to_pspace_object): Ditto.
4106 (pspy_get_frame_filters): New function.
4107 (pspy_set_frame_filters): New function.
4108 * python/py-framefilter.c: New file.
4109 * python/lib/gdb/command/frame_filters.py: New file.
4110 * python/lib/gdb/frames.py: New file.
4111 * python/lib/gdb/__init__.py: Initialize global frame_filters
4112 dictionary
4113 * python/lib/gdb/FrameDecorator.py: New file.
4114 * python/lib/gdb/FrameIterator.py: New file.
4115 * mi/mi-cmds.c (mi_cmds): Add frame filters command.
4116 * mi/mi-cmds.h: Declare.
4117 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add
4118 --no-frame-filter logic, and Python frame filter logic.
4119 (stack_enable_frame_filters): New function.
4120 (parse_no_frame_option): Ditto.
4121 (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame
4122 filter logic.
4123 (mi_cmd_stack_list_locals): Ditto.
4124 (mi_cmd_stack_list_args): Ditto.
4125 (mi_cmd_stack_list_variables): Ditto.
4126 * NEWS: Add frame filter note.
4127
2cb9c859
DE
41282013-05-09 Doug Evans <[email protected]>
4129
6bf667bb
DE
4130 * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets.
4131 All callers updated.
4132 (syms_from_objfile): Ditto. Make static.
4133 (symbol_file_add_with_addrs): Renamed from
4134 symbol_file_add_with_addrs_or_offsets. Delete args offsets,
4135 num_offsets. All callers updated.
4136 * symfile.h (syms_from_objfile): Delete.
4137
2cb9c859
DE
4138 * symfile.c (decrement_reading_symtab): Add assert.
4139 (increment_reading_symtab): Ditto.
4140
40aea477
JB
41412013-05-09 Joel Brobecker <[email protected]>
4142
4143 * source.c (forward_search_command): Replace call to getc
4144 by call to fgetc.
4145 (reverse_search_command): Likewise.
4146
680d1742
DE
41472013-05-08 Doug Evans <[email protected]>
4148
4149 * psymtab.c (expand_symtabs_matching_via_partial): Fix file name
4150 matching test.
4151
17e760ae
JB
41522013-05-08 Joel Brobecker <[email protected]>
4153
4154 * sol-thread.c (info_cb): Factorize the code a little.
4155
c0f5f490
JB
41562013-05-08 Joel Brobecker <[email protected]>
4157
4158 * sol-thread.c (info_cb): Rework the output of the "maintenance
4159 info sol-threads" command a bit.
4160
5d74e061
JB
41612013-05-08 Joel Brobecker <[email protected]>
4162
4163 * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
4164 Replace ti.ti_startfunc by ti.ti_pc.
4165
814a3ff7
JB
41662013-05-08 Joel Brobecker <[email protected]>
4167
4168 * solib-aix.c (solib_aix_free_library_list): New function
4169 for the case where HAVE_LIBEXPAT is not defined.
4170
58ce7251
SDJ
41712013-05-07 Sergio Durigan Junior <[email protected]>
4172
4173 PR breakpoints/15413:
4174 * breakpoint.c (condition_completer): Simplify the code to
4175 disconsider multiple locations of breakpoints when completing the
4176 "condition" command.
4177
be8b1ea6
PM
41782013-05-07 Pierre Muller <[email protected]>
4179
4180 * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
4181 instead of <sys/wait.h>.
4182
1e52bda6
PM
41832013-05-07 Pierre Muller <[email protected]>
4184
4185 * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
4186 trailing new line from warning message.
4187
27fd0c6b
PM
41882013-05-07 Pierre Muller <[email protected]>
4189
4190 * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
4191 (PC_SOLIB): Change type from ari_deprecate to ari_regression.
4192
e228ac87
JB
41932013-05-07 Joel Brobecker <[email protected]>
4194
4195 * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
4196 error message (ARI fix).
4197
41982013-05-07 Joel Brobecker <[email protected]>
4199
4200 * features/library-list-aix.dtd: Replace library-list by
4201 library-list-aix.
4202 * rs6000-nat.c: Replace library-list by library-list-aix
4203 throughout.
4204 * solib-aix.c: Likewise.
4205
42062013-05-07 Joel Brobecker <[email protected]>
4207
4208 * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
4209 Renames TARGET_OBJECT_AIX_LIBRARIES.
4210 * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
4211 TARGET_OBJECT_LIBRARIES_AIX throughout.
4212 * solib-aix.c: Likwise.
4213
26a4dda9
YQ
42142013-05-07 Yao Qi <[email protected]>
4215
4216 * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
4217 (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
4218
3582629f
YQ
42192013-05-07 Yao Qi <[email protected]>
4220
4221 * solib-dsbt.c (enable_break): Declare.
4222 (dsbt_current_sos): Remove call to enable_break2.
4223 (enable_break2): Rename to enable_break. Set solib breakpoint
4224 on '_dl_debug_state'.
4225 (enable_break): Remove.
4226
aacbb8a5
LM
42272013-05-07 Luis Machado <[email protected]>
4228
4229 * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
4230 debug state prior to replicating existing hardware watchpoints or
4231 breakpoints.
4232
0c013353
JK
42332013-05-07 Jan Kratochvil <[email protected]>
4234
4235 * gcore.c (gcore_create_callback): Ignore sections with
4236 separate_debug_objfile_backlink != NULL.
4237
a1217d97
SL
42382013-05-06 Sandra Loosemore <[email protected]>
4239 Andrew Jenner <[email protected]>
4240 Chung-Lin Tang <[email protected]>
4241 Julian Brown <[email protected]>
4242
4243 Based on the nios2-elf port from Altera Corporation.
4244
4245 * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
4246 nios2-linux-tdep.o.
4247 (HFILES_NO_SRCDIR): Add nios2-tdep.h.
4248 (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
4249 * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
4250 * nios2-tdep.h: New.
4251 * nios2-tdep.c: New.
4252 * nios2-linux-tdep.c: New.
4253 * features/Makefile (WHICH): Add nios2-linux.
4254 (nios2-linux-expedite): Set.
4255 * features/nios2-cpu.xml: New.
4256 * features/nios2.xml: New.
4257 * features/nios2-linux.xml: New.
4258 * features/nios2.c: New (autogenerated).
4259 * features/nios2-linux.c: New (autogenerated).
4260 * regformats/nios2-linux.dat: New (autogenerated).
4261 * NEWS (Changes since GDB 7.6): Add new Nios II targets
4262 and commands.
4263
0892cb63
DE
42642013-05-06 Doug Evans <[email protected]>
4265
3b7bacac
DE
4266 * symfile.c: Whitespace cleanup.
4267
0892cb63
DE
4268 * solist.h (struct target_so_ops): New member clear_so.
4269 * solib-svr4.c (svr4_clear_so): New function.
4270 (_initialize_svr4_solib): Set svr4_so_ops.clear_so.
4271 * solib.c (clear_so): Renamed from free_so_symbols.
4272 All callers updated. Call target clear_so if it exists.
4273
40501e00
TT
42742013-05-06 Tom Tromey <[email protected]>
4275
4276 * ada-lang.c (ada_value_primitive_packed_val): Don't
4277 call value_incref.
4278 * value.c (set_value_parent): Incref the new parent and decref
4279 the old parent.
4280 (value_copy, value_primitive_field): Use set_value_parent.
4281
b6807d98
TT
42822013-05-06 Tom Tromey <[email protected]>
4283
4284 * dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
4285 (indirect_pieced_value): Call dwarf2_fetch_constant_bytes
4286 if needed.
4287 * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
4288 * dwarf2read.c (write_constant_as_bytes)
4289 (dwarf2_fetch_constant_bytes): New functions.
4290
3aef2284
TT
42912013-05-06 Tom Tromey <[email protected]>
4292
4293 * dwarf2read.c (dwarf2_const_value_data): Remove unused
4294 parameters.
4295 (dwarf2_const_value_attr): Update.
4296
66f65e2b
TT
42972013-05-06 Tom Tromey <[email protected]>
4298
4299 * somread.c (som_symfile_offsets): Add 'const' to addrs.
4300 * machoread.c (macho_symfile_offsets): Add 'const' to addrs.
4301 * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
4302 Remove declaration.
4303
7919a973
TT
43042013-05-06 Tom Tromey <[email protected]>
4305
4306 * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
4307 objfile's obstack.
4308
a7bfba49
DE
43092013-05-06 Doug Evans <[email protected]>
4310
3189cb12
DE
4311 * dbxread.c (process_one_symbol): Constify section_offsets parameter.
4312 * stabsread.h (process_one_symbol): Update declaration.
4313 * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
4314 * elfread.c (elf_symfile_relocate_probe): Ditto.
4315 * psymtab.c (relocate_psymtabs): Ditto.
4316 * objfiles.c (objfile_relocate1): Constify new_offsets parameter.
4317 (objfile_relocate): Ditto.
4318 * objfiles.h (objfile_relocate): Update declaration.
4319 * symfile.c (relative_addr_info_to_section_offsets): Constify
4320 addrs parameter.
4321 (default_symfile_offsets): Ditto.
4322 (syms_from_objfile_1): Constify offsets parameter.
4323 (syms_from_objfile): Ditto.
4324 (symbol_file_add_with_addrs_or_offsets): Ditto.
4325 (symfile_map_offsets_to_segments): Constify data parameter.
4326 * symfile.h (struct quick_symbol_functions): Constify new_offsets,
4327 delta parameters of member relocate.
4328 (struct sym_probe_fns): Constify new_offsets,
4329 delta parameters of member sym_relocate_probe.
4330 (struct sym_fns): Constify section_addr_info parameter of member
4331 sym_offsets.
4332 (relative_addr_info_to_section_offsets): Update declaration.
4333 (default_symfile_offsets): Ditto.
4334 (syms_from_objfile): Ditto.
4335 (symfile_map_offsets_to_segments): Ditto.
4336
a7bfba49
DE
4337 * symfile.c (syms_from_objfile_1): Use correct section count when
4338 objfile->sf == NULL.
4339
5f8e0b8f
MF
43402013-05-06 Mike Frysinger <[email protected]>
4341
4342 * common/linux-btrace.c (intel_supports_btrace): Fix indentation.
4343
ea52d893
DE
43442013-05-06 Doug Evans <[email protected]>
4345
4346 * psympriv.h (struct partial_symtab): Augment comment for member
4347 section_offsets.
4348
4d1eb6b4
JB
43492013-05-06 Joel Brobecker <[email protected]>
4350
4351 Reimplement shared library support on ppc-aix...
4352 * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum.
4353 * features/library-list-aix.dtd: New file.
4354 * solib-aix.h, solib-aix.c: New file.
4355 * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h".
4356 (rs6000_find_toc_address_hook): Delete.
4357 (rs6000_push_dummy_call): Rewrite code setting the TOC value.
4358 (rs6000_aix_init_osabi): Register solib_aix_so_ops.
4359 * rs6000-nat.c: Remove "xcoffsolib.h" include. Include
4360 "xml-utils.h".
4361 (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add)
4362 (vmap_symtab, fixup_breakpoints): Delete.
4363 (rs6000_xfer_shared_libraries): New function.
4364 (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling.
4365 (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete.
4366 (xcoff_relocate_symtab, xcoff_relocate_core): Delete.
4367 (rs6000_ptrace_ldinfo, rs6000_core_ldinfo)
4368 (rs6000_xfer_shared_library): New function.
4369 (find_toc_address): Delete.
4370 (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook.
4371 * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove.
4372 * xcoffread.c (record_minimal_symbol): Reloate symbol address
4373 before creating minimal symbol. Adjust function description
4374 accordingly.
4375 (scan_xcoff_symtab): Replace call to
4376 prim_record_minimal_symbol_and_info by call to
4377 record_minimal_symbol.
4378 (xcoff_symfile_offsets): Reimplement mostly as a wrapper
4379 around default_symfile_offsets.
4380 * configure.tgt: Add solib-aix.o to gdb_target_obs for
4381 powerpc-aix targets.
4382 * config/rs6000/nm-rs6000.h: Delete.
4383 * config/powerpc/aix.mh (NAT_FILE): Delete.
4384 (NATDEPFILES): Remove xcoffsolib.o.
4385 * Makefile.in (XMLFILES): Add library-list-aix.dtd.
4386 (ALL_TARGET_OBS): Add solib-aix.o.
4387 (HFILES_NO_SRCDIR): Remove xcoffsolib.h and
4388 config/rs6000/nm-rs6000.h. Add solib-aix.h.
4389 (ALLDEPFILES): Add solib-aix.c. Remove xcoffsolib.c.
4390 * xcoffsolib.h, xcoffsolib.c: Delete.
4391
4392 * solib.c (reload_shared_libraries): Remove reference to
4393 SOLIB_CREATE_INFERIOR_HOOK.
4394 * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD.
4395 (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB.
4396 (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in
4397 comment.
4398 * corelow.c (deprecated_core_resize_section_table): Delete.
4399 * exec.c: Remove include of xcoffsolib.h".
4400 (map_vmap, vmap): Delete.
4401 (exec_close_1): Remove references to vmap.
4402 (exec_file_attach): Remove vmap handling code, and reference
4403 to DEPRECATED_IBM6000_TARGET.
4404 (bfdsec_to_vmap): Delete.
4405 (exec_files_info): Remove block of code handling VMAP.
4406 * infcmd.c (post_create_inferior): Remove reference to
4407 SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD.
4408 * infrun.c (follow_exec): Remove reference to
4409 SOLIB_CREATE_INFERIOR_HOOK.
4410 * stack.c (print_frame): Remove reference to PC_SOLIB.
4411 * solib-dsbt.c (dsbt_current_sos): Adjust comment.
4412 (dsbt_relocate_main_executable): Likewise.
4413 * solib-frv.c (frv_current_sos): Likewise.
4414
0c4f667c
JB
44152013-05-06 Joel Brobecker <[email protected]>
4416
4417 * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls
4418 to target_write_memory and target_read_memory.
4419
726ce67c
JB
44202013-05-06 Joel Brobecker <[email protected]>
4421
4422 * darwin-nat.c (darwin_setup_fake_stop_event): New function.
4423 (darwin_attach): Adjust using darwin_setup_fake_stop_event.
4424
c8c9911f
JB
44252013-05-06 Joel Brobecker <[email protected]>
4426
4427 * darwin-nat.c: Replace all "%x" instances in format strings
4428 into "0x%x" throughout.
4429
fda184b6
JB
44302013-05-06 Joel Brobecker <[email protected]>
4431
4432 * darwin-nat.c (darwin_mourn_inferior): Replace call to
4433 gdb_assert by call to MACH_CHECK_ERROR.
4434 (darwin_attach_pid): Raise an error rather than a failed
4435 assertion when various system calls failed. Report a warning
4436 instead of raising a failed assertion when PREV_NOT is not NULL
4437 after call to mach_port_request_notification.
4438 (darwin_ptrace_me): Raise an error rather than a failed
4439 assertion when read returns nonzero.
4440
d1d69afb
JB
44412013-05-06 Joel Brobecker <[email protected]>
4442
4443 * amd64-darwin-tdep.c: Remove #include "gdb_assert.h".
4444
dc90b24d
JK
44452013-05-05 Jan Kratochvil <[email protected]>
4446
4447 * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP.
4448
faab9922
JK
44492013-05-05 Jan Kratochvil <[email protected]>
4450
4451 * event-top.c (display_gdb_prompt): Call missing do_cleanups.
4452 * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP.
4453 * symfile.c (symfile_bfd_open): New variable back_to. Do not leave
4454 a stale cleanup. Fix double free of NAME.
4455
e0ea48a0
EZ
44562013-05-04 Eli Zaretskii <[email protected]>
4457
4458 * windows-nat.c (windows_delete_thread): Accept an additional
4459 argument, the thread's exit code, and announce thread death when
4460 print_thread_events is non-zero and we are deleting a thread that
4461 is not the main thread.
4462 (get_windows_debug_event): Pass thread exit code to
4463 windows_delete_thread.
4464
83b2706a
KB
44652013-05-03 Kevin Buettner <[email protected]>
4466
4467 * v850-tdep.c (elf-bfd.h, elf/v850.h): Include.
4468 (R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM)
4469 (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM)
4470 (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM)
4471 (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM)
4472 (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM)
4473 (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define.
4474 (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants.
4475 (gdbarch_tdep): New struct.
4476 (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of
4477 E_NUM_REGS.
4478 (v850e3v5_register_name): New function.
4479 (v850_register_type): v850e3v5 vector registers are 64-bits wide.
4480 (v850_use_struct_convention): Add `gdbarch' parameter. Add new
4481 code handling the struct return conventions for the RH850 ABI.
4482 Update all callers.
4483 (v850_eight_byte_align_p): New function.
4484 (v850_push_call_dummy): Push structs by value, not by reference
4485 for the RH850 ABI. Add support for eight byte alignment.
4486 (v850_dbtrap_breakpoint_from_pc): New function.
4487 (v850_gdbarch_init): Add ABI detection code. Register
4488 v850e3v5_register_name for the v850e3v5 architecture. Set the
4489 number of registers for v850e3v5. Register
4490 v850_dbtrap_breakpoint_from_pc as appropriate.
4491 (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850.
4492
d445b2f6
DE
44932013-05-03 Doug Evans <[email protected]>
4494
4495 * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead
4496 of bfd_count_sections.
4497 * solib-target.c (solib_target_relocate_section_addresses): Ditto.
4498 * symfile.c (default_symfile_offsets): Ditto.
4499 (syms_from_objfile_1): Ditto. Make dummy addrs list an array of
4500 one entry, not bfd_count_sections entries.
4501
b3ce41ea
KB
45022013-05-03 Kevin Buettner <[email protected]>
4503
4504 * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the
4505 `save' and `restore' register groups. Don't include SPL
4506 or SPH in these groups.
4507 (rl78_dwarf_reg_to_regnum): Adjust mapping for
4508 RL78_PC_REGNUM. Add mappings for RL78_PSW_REGNUM,
4509 RL78_ES_REGNUM, and RL78_CS_REGNUM.
4510 (rl78_gdbarch_init): Set `dwarf2_addr_size' to 4. Invoke
4511 dwarf2_append_unwinders().
4512
96f7d3f1
PW
45132013-05-03 Philippe Waroquiers <[email protected]>
4514
4515 * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Do not
4516 ignore SIGINT and SIGTRAP in case these internal signals are
4517 caught explicitely.
4518
b9dd1947
JB
45192013-05-01 Joel Brobecker <[email protected]>
4520
4521 * darwin-nat.c (darwin_read_write_inferior): Change types
4522 of parameters rdaddr and wraddr to "gdb_byte *". Change type
4523 of copy_count to "mach_msg_type_number_t".
4524 (darwin_read_dyld_info): Change type of parameter
4525 rdaddr to "gdb_byte *".
4526
4ca18a63
JB
45272013-05-01 Joel Brobecker <[email protected]>
4528
4529 * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast
4530 of &info->load_map from "char *" to "gdb_byte *".
4531
2b692d32
JB
45322013-05-01 Joel Brobecker <[email protected]>
4533
4534 * ia64-tdep.c (ia64_access_fpreg): Change cast of val
4535 from "char *" to "gdb_byte *".
4536 (ia64_access_rse_fpreg, ia64_access_mem): Likewise.
4537
a98c29a0
DE
45382013-04-30 Doug Evans <[email protected]>
4539
6a506a2d
DE
4540 * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found.
4541 (init_cutu_and_read_dies): Flag a complaint, not error, for bad
4542 DWO stub. If DWO isn't found, just use stub.
4543 (lookup_dwo_cutu): Don't try DWO if there's a DWP file.
4544
a98c29a0
DE
4545 * dwarf2read.c (dw2_find_symbol_file): Initialize filename before
4546 calling init_cutu_and_read_dies.
4547
f92b06da
WT
45482013-03-27 Walfred Tedeschi <[email protected]>
4549
4550 * target-descriptions.c (maint_print_c_tdesc_cmd):
4551 Add case to parse structures as register types and
4552 bitfields.
4553
95eebdcc
WT
45542013-04-30 Walfred Tedeschi <[email protected]>
4555
4556 * MAINTAINERS (Write After Approval): Add myself to the list.
4557
019c1128
JB
45582013-04-30 Joel Brobecker <[email protected]>
4559
4560 * sol-thread.c (rw_common): Change type of parameter "buf"
4561 to "gdb_byte *".
4562 (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to
4563 rw_common to "gdb_byte *" instead of "char *".
4564
5812197c
JB
45652013-04-30 Joel Brobecker <[email protected]>
4566
4567 * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type
4568 of local variable msym to const struct bound_minimal_symbol.
4569 Adjust use accordingly.
4570 [ti.ti_state == TD_THR_SLEEP]: Likewise.
4571
ecccb813
TS
45722013-04-30 Samuel Thibault <[email protected]>
4573
4574 * i386gnu-nat.c (CREG_OFFSET): New macro.
4575 (creg_offset): New array.
4576 (CREG_ADDR): Use creg_offset instead of reg_offset.
4577
f1d02dd4 45782013-04-30 Joel Brobecker <[email protected]>
54746424
JB
4579
4580 * mep-tdep.c (mep_write_pc): Delete.
4581 (mep_gdbarch_init): Remove call to set_gdbarch_write_pc.
4582 Add call to set_gdbarch_pc_regnum.
4583
f1d02dd4 45842013-04-30 Joel Brobecker <[email protected]>
01da98f9
JB
4585
4586 * common/filestuff.c: Replace #include <dirent.h> by
4587 #include "gdb_dirent.h".
4588
f1d02dd4 45892013-04-30 Joel Brobecker <[email protected]>
366c6766
JB
4590
4591 * common/filestuff.c: Replace #include <sys/stat.h> by
4592 #include "gdb_stat.h".
4593
b385a60d
PM
45942013-04-29 Pierre Muller <[email protected]>
4595
4596 * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
4597 editCase function rule.
4598 (get_DW_AT_signature_type): Likewise.
4599
d27b54ad
JB
46002013-04-29 Joel Brobecker <[email protected]>
4601
4602 * m32r-tdep.c (m32r_write_pc): Delete.
4603 (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
4604 Add call to set_gdbarch_pc_regnum.
4605
47d21dc5
PM
46062013-04-29 Pierre Muller <[email protected]>
4607
4608 * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
4609
9056882e
JB
46102013-04-29 Joel Brobecker <[email protected]>
4611
4612 * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker.
4613
7ee4732a
YQ
46142013-04-28 Yao Qi <[email protected]>
4615
4616 * solib-dsbt.c (fetch_loadmap): Re-indent.
4617 (displacement_from_map, enable_break2): Likewise.
4618 (dsbt_relocate_section_addresses): Likewise.
4619
2260af53 46202013-04-26 Joel Brobecker <[email protected]>
4621
4622 GDB 7.6 released.
4623
ff546935
TT
46242013-04-25 Andreas Kaufmann <[email protected]>
4625
4626 PR corefiles/14983:
4627 * dwarf2read.c (process_full_comp_unit): Always create a static
4628 block.
4629
40fb6c5e
HZ
46302013-04-25 Hui Zhu <[email protected]>
4631
4632 * breakpoint.c (build_target_command_list): Change loc->cond_bytecode
4633 to loc->cmd_bytecode.
4634
74e04d1c
DE
46352013-04-24 Doug Evans <[email protected]>
4636
4637 * dwarf2read.c (setup_type_unit_groups): Fix comment.
4638
3cf62c1d
KS
46392013-04-22 Keith Seitz <[email protected]>
4640
4641 * tracepoint.c (trace_save): Call the writer's start method.
4642
bf9e4d0c
MB
46432013-04-24 Muhammad Bilal <[email protected]>
4644
4645 PR gdb/10462
4646 * cli/cli-decode.c (lookup_command): Show an error if there is no space
4647 before argument.
4648
5d71132c
TT
46492013-04-23 Tom Tromey <[email protected]>
4650
4651 * common/filestuff.c: Check USE_WIN32API before including
4652 sys/socket.h.
4653 (HAVE_F_GETFD): New define.
4654 (mark_cloexec): Check HAVE_F_GETFD.
4655 (gdb_open_cloexec): Change 'mode' to unsigned long.
4656 (gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR.
4657 (gdb_pipe_cloexec): Check HAVE_PIPE.
4658 * common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned
4659 long.
4660
a11cfd87
HZ
46612013-04-23 Hui Zhu <[email protected]>
4662
4663 PR gdb/15293
a11cfd87
HZ
4664 * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf.
4665
2d9442cc
HZ
46662013-04-23 Hui Zhu <[email protected]>
4667
4668 PR gdb/15165
2d9442cc
HZ
4669 * breakpoint.c (dprintf_print_recreate): New.
4670 (save_breakpoints): Let it not save dprintf commands.
4671 (initialize_breakpoint_ops): Set dprintf_print_recreate.
4672
614c279d
TT
46732013-04-22 Tom Tromey <[email protected]>
4674
4675 PR gdb/7912:
4676 * Makefile.in (SFILES): Add filestuff.c
4677 (COMMON_OBS): Add filestuff.o.
4678 (filestuff.o): New target.
4679 * auto-load.c (auto_load_objfile_script_1): Use
4680 gdb_fopen_cloexec.
4681 * auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec.
4682 * cli/cli-cmds.c (shell_escape): Call close_most_fds.
4683 * cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec.
4684 * common/agent.c (gdb_connect_sync_socket): Use
4685 gdb_socket_cloexec.
4686 * common/filestuff.c: New file.
4687 * common/filestuff.h: New file.
4688 * common/linux-osdata.c (linux_common_core_of_thread)
4689 (command_from_pid, commandline_from_pid, print_source_lines)
4690 (linux_xfer_osdata_shm, linux_xfer_osdata_sem)
4691 (linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use
4692 gdb_fopen_cloexec.
4693 * common/linux-procfs.c (linux_proc_get_int)
4694 (linux_proc_pid_has_state): Use gdb_fopen_cloexec.
4695 * config.in, configure: Rebuild.
4696 * configure.ac: Don't check for sys/socket.h. Check for
4697 fdwalk, pipe2.
4698 * corelow.c (core_open): Use gdb_open_cloexec.
4699 * dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec.
4700 * fork-child.c (fork_inferior): Call close_most_fds.
4701 * gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec.
4702 * inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec.
4703 * linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals):
4704 Use gdb_fopen_cloexec.
4705 (linux_proc_xfer_partial, linux_proc_xfer_spu): Use
4706 gdb_open_cloexec.
4707 (linux_async_pipe): Use gdb_pipe_cloexec.
4708 * remote-fileio.c (remote_fileio_func_open): Use
4709 gdb_open_cloexec.
4710 * remote.c (remote_file_put, remote_file_get): Use
4711 gdb_fopen_cloexec.
4712 * ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec,
4713 close_most_fds.
4714 * ser-tcp.c (net_open): Use gdb_socket_cloexec.
4715 * ser-unix.c (hardwire_open): Use gdb_open_cloexec.
4716 * solib.c (solib_find): Use gdb_open_cloexec.
4717 * source.c (openp, find_and_open_source): Use gdb_open_cloexec.
4718 * tracepoint.c (tfile_start): Use gdb_fopen_cloexec.
4719 (tfile_open): Use gdb_open_cloexec.
4720 * tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec.
4721 * ui-file.c (gdb_fopen): Use gdb_fopen_cloexec.
4722 * xml-support.c (xml_fetch_content_from_file): Use
4723 gdb_fopen_cloexec.
4724 * main.c (captured_main): Call notice_open_fds.
4725
5fda2332
EBM
47262013-04-22 Edjunior Machado <[email protected]>
4727
4728 * remote-sim.c (dump_mem): Change the type of 'buf' parameter from
4729 'char *' to 'gdb_byte *'.
4730 (gdbsim_store_register): Change the type of 'tmp' from 'char' to
4731 'gdb_byte'.
4732
eb6c553b
YQ
47332013-04-22 Yao Qi <[email protected]>
4734
4735 * infrun.c: Fix typo in comment.
4736
9991b207
SDJ
47372013-04-22 Andrew Haley <[email protected]>
4738
4739 * arm-tdep.c (BranchDest): Cast result as "unsigned long",
4740 instead of "long".
4741
8b4833e3
YQ
47422013-04-20 Yao Qi <[email protected]>
4743
4744 * ctf.c (ctf_fetch_registers): Change the type of 'regs' from
4745 'char *' to 'gdb_byte *'. Cast the return value of
4746 'bt_ctf_get_char_array' to 'gdb_byte *'.
4747
bd3f3b55
PA
47482013-04-19 Pedro Alves <[email protected]>
4749
4750 * configure.ac (build_warnings): Replace -Wno-pointer-sign with
4751 -Wpointer-sign.
4752 * configure: Regenerate.
4753
c49e7f76
PA
47542013-04-19 Pedro Alves <[email protected]>
4755
4756 * ser-tcp.c (net_read_prim): Cast second argument to recv to
4757 'void *'.
4758
12ff8552
PA
47592013-04-19 Pedro Alves <[email protected]>
4760
4761 * monitor.c (monitor_write_memory, monitor_write_memory_bytes):
4762 Change type of 'myaddr' parameter to gdb_byte pointer.
4763 (monitor_write_memory_longlongs): Likewise. Cast 'myaddr' pointer
4764 to 'long long' pointer instead of to 'unsigned long long'.
4765 (monitor_write_memory_block, monitor_read_memory_single)
4766 (monitor_read_memory): Change type of 'myaddr' parameter to
4767 gdb_byte pointer.
4768
9c37696b
PA
47692013-04-19 Pedro Alves <[email protected]>
4770
4771 * record.c (validate_history_size): Make parameter 'setting'
4772 unsigned.
4773
a398505b
PA
47742013-04-19 Pedro Alves <[email protected]>
4775
4776 * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
4777 to 'gdb_byte *'.
4778
9f8afa72
PA
47792013-04-19 Pedro Alves <[email protected]>
4780
4781 * cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
4782 local to int.
4783
c714b426
PA
47842013-04-19 Pedro Alves <[email protected]>
4785
4786 * ada-lang.c (print_it_exception): Add cast to gdb_byte *.
4787 * ada-tasks.c (read_fat_string_value): Likewise.
4788
507a579c
PA
47892013-04-19 Pedro Alves <[email protected]>
4790
4791 * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local
4792 unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed
4793 'offset', and adjust.
4794
f9d83a0b
PA
47952013-04-19 Pedro Alves <[email protected]>
4796
4797 * dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
4798 (read_index_from_section): Add cast to 'char *'.
4799
745eb4fd
PA
48002013-04-19 Pedro Alves <[email protected]>
4801
4802 * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'.
4803
db5be46f
PA
48042013-04-19 Pedro Alves <[email protected]>
4805
4806 * coff-pe-read.c (read_pe_exported_syms): Handle strings as char.
4807
0f928d68
PA
48082013-04-19 Pedro Alves <[email protected]>
4809
4810 * record-full.c (record_full_get_bookmark): Change local 'ret'
4811 type to char * and add cast to gdb_byte *.
4812 (record_full_goto_bookmark): Handle 'bookmark' argument as a
4813 string.
4814 * reverse.c (goto_bookmark_command): Add casts to gdb_byte *.
4815
89f6d837
PA
48162013-04-19 Pedro Alves <[email protected]>
4817
4818 * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte
4819 * python/py-prettyprint.c (print_string_repr): Change type of
4820 'output' local to char *. Add cast to gdb_byte * in
4821 LA_PRINT_STRING call.
4822 (print_children): Change type of 'output' local to char *.
4823 * python/py-value.c (valpy_string): Add cast to const char * in
4824 PyUnicode_Decode call.
4825
ce6ec7d8
PA
48262013-04-19 Pedro Alves <[email protected]>
4827
4828 * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr'
4829 and change its type to 'const char *'. Adjust.
4830 (mips_send_packet): Add cast to 'char *', and remove cast to
4831 'unsigned char *'.
4832 (mips_receive_packet): Remove cast to 'unsigned char *'.
4833 (mips_load_srec): Use bfd_byte.
4834 (pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned.
4835 (pmon_checkset): Make 'value' parameter unsigned.
4836
fda0389f
PA
48372013-04-19 Pedro Alves <[email protected]>
4838
4839 * common/agent.c (agent_run_command): Add cast to gdb_byte *.
4840
bc20a4af
PA
48412013-04-19 Pedro Alves <[email protected]>
4842
4843 * remote.c (remote_write_bytes_aux, compare_sections_command)
4844 (remote_read_qxfer)
4845 (remote_search_memory, remote_hostio_pwrite, remote_hostio_pread)
4846 (remote_hostio_readlink, remote_bfd_iovec_pread)
4847 (remote_set_trace_notes): Use gdb_byte when RSP buffer is used as
4848 binary buffer, and char when buffer is used as string.
4849 * tracepoint.c (encode_source_string, tfile_write_uploaded_tp)
4850 (trace_save, tfile_open, traceframe_walk_blocks)
4851 (tfile_fetch_registers): Likewise.
4852
c628b528
PA
48532013-04-19 Pedro Alves <[email protected]>
4854
4855 * ser-base.c (ser_base_write): Change prototype -- take 'void *'
4856 buffer and size_t size. Adjust.
4857 * ser-base.h (ser_base_write): Adjust.
4858 * ser-go32.c (cnts): Change type to size_t.
4859 (dos_write): Change prototype -- take 'void *'
4860 buffer and size_t size. Adjust.
4861 (dos_info): Print elements of 'cnts' as unsigned long.
4862 * serial.c (serial_write): Likewise.
4863 * serial.h (serial_write): Adjust.
4864 (struct serial_ops) <write>: Change prototype -- take 'void *'
4865 buffer and size_t size. Adjust.
4866
51a5cd90
PA
48672013-04-19 Pedro Alves <[email protected]>
4868
4869 * c-lang.c (evaluate_subexp_c): Cast result of obstack_base to
4870 gdb_byte *.
4871 * linux-tdep.c (linux_make_mappings_corefile_notes): Likewise.
4872
a9933661
PA
48732013-04-19 Pedro Alves <[email protected]>
4874
4875 * alpha-tdep.c (alpha_extract_return_value): Use
4876 regcache_cooked_read_unsigned to read 'v0'.
4877
19afdd07
PA
48782013-04-19 Pedro Alves <[email protected]>
4879
4880 * xtensa-tdep.c (execute_l32e, execute_s32e): Change type of
4881 parameters 'at', 'as' and 'offset' to uint32_t.
4882
96b32e50
PA
48832013-04-19 Pedro Alves <[email protected]>
4884
4885 * aarch64-tdep.c (aarch64_analyze_prologue): Change type of local
4886 'is64' to signed 'int'.
4887
eb1bd1fb
PA
48882013-04-19 Pedro Alves <[email protected]>
4889
4890 * s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2'
4891 parameter to int *.
4892
463920bf
PA
48932013-04-19 Pedro Alves <[email protected]>
4894
4895 * ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local
4896 'insnbuf' buffer type to unsigned int[].
4897
70242eb1
PA
48982013-04-19 Pedro Alves <[email protected]>
4899
4900 * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST.
4901
9d1dd0e2
PA
49022013-04-19 Pedro Alves <[email protected]>
4903
4904 * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
4905 unsigned long *.
4906
44096aee
PA
49072013-04-19 Pedro Alves <[email protected]>
4908
4909 * alpha-tdep.c (heuristic_fence_post): Change type to int.
4910 (alpha_heuristic_proc_start): Adjust to check -1 instead of
4911 UINT_MAX.
4912 * mips-tdep.c (heuristic_fence_post): Change type to int.
4913 (heuristic_proc_start): Adjust to check -1 instead of UINT_MAX.
4914
e4286e57
PA
49152013-04-19 Pedro Alves <[email protected]>
4916
4917 * cris-tdep.c (usr_cmd_cris_version): Make unsigned.
4918 (struct gdbarch_tdep) <cris_version>: Make unsigned.
4919 (cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals.
4920
001f13d8
PA
49212013-04-19 Pedro Alves <[email protected]>
4922
4923 * avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'. Use
4924 it to get a string view of the byte buffer.
4925 * i386-cygwin-tdep.c (core_process_module_section): Change local 'buf'
4926 type to gdb_byte *. Adjust.
4927 * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full):
4928 Change local to char *.
4929 * solib-darwin.c (find_program_interpreter): Change return type to
4930 char *. Adjust.
4931 (darwin_solib_get_all_image_info_addr_at_init): Adjust.
4932 * solib-dsbt.c (enable_break2): Change local 'buf' to char *.
4933 * solib-frv.c (enable_break2): Change local 'buf' to char *.
4934 * solib-spu.c (spu_current_sos): Add gdb_byte * cast.
4935 * solib-svr4.c (find_program_interpreter): Change return type to
4936 char *. Adjust.
4937 (enable_break): Change local 'interp_name' to char *.
4938 * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
4939 * spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'.
4940 (spu_pseudo_register_write_spu): Use char for string buffer.
4941 Adjust.
4942 (info_spu_event_command, info_spu_signal_command): Add casts to
4943 'char *'.
4944
948f8e3d
PA
49452013-04-19 Pedro Alves <[email protected]>
4946
4947 * aarch64-tdep.c (aarch64_default_breakpoint): Change type to
4948 gdb_byte[].
4949 (aarch64_breakpoint_from_pc): Change return type to gdb_byte *.
4950 * ada-lang.c (ada_value_assign): Use gdb_byte.
4951 * alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[].
4952 (alphanbsd_sigtramp_offset): Use gdb_byte.
4953 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint)
4954 (arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint)
4955 (eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint)
4956 (arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint)
4957 (arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[].
4958 * arm-tdep.c (arm_stub_unwind_sniffer)
4959 (arm_displaced_init_closure): Use gdb_byte.
4960 (arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint)
4961 (arm_default_thumb_le_breakpoint)
4962 (arm_default_thumb_be_breakpoint): Change type to gdb_byte[].
4963 * arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint,
4964 thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *.
4965 * arm-wince-tdep.c (arm_wince_le_breakpoint)
4966 (arm_wince_thumb_le_breakpoint): Change type to gdb_byte[].
4967 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint)
4968 (arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint)
4969 (arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[].
4970 * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint)
4971 (arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[].
4972 * cris-tdep.c (push_stack_item, cris_push_dummy_call)
4973 (cris_store_return_value, cris_extract_return_value): Use
4974 gdb_byte.
4975 (constraint): Change type of parameter to char * from signed
4976 char*. Use gdb_byte.
4977 * dwarf2loc.c (read_pieced_value, write_pieced_value): Change type
4978 of local buffer to gdb_byte *.
4979 * dwarf2read.c (read_index_from_section): Use gdb_byte.
4980 (create_dwp_hash_table): Change type of locals to gdb_byte *.
4981 (add_address_entry): Change type of local buffer to gdb_byte[].
4982 * frv-tdep.c (frv_adjust_breakpoint_address, find_func_descr)
4983 (frv_push_dummy_call): Use gdb_byte.
4984 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code)
4985 (hppa_hpux_supply_ss_fpblock, hppa_hpux_supply_ss_wide)
4986 (hppa_hpux_supply_save_state): Use gdb_byte.
4987 * hppa-tdep.c (hppa32_push_dummy_call)
4988 (hppa64_convert_code_addr_to_fptr): Use gdb_byte.
4989 * ia64-tdep.c (extract_bit_field, replace_bit_field)
4990 (slotN_contents, replace_slotN_contents): Change type of parameter
4991 to gdb_byte *.
4992 (fetch_instruction, ia64_pseudo_register_write)
4993 (ia64_register_to_value, ia64_value_to_register)
4994 (ia64_extract_return_value, ia64_store_return_value)
4995 (ia64_push_dummy_call): Use gdb_byte.
4996 * m32c-tdep.c (m32c_return_value): Remove cast.
4997 * m68hc11-tdep.c (m68hc11_pseudo_register_write)
4998 (m68hc11_push_dummy_call, m68hc11_store_return_value): Use
4999 gdb_byte.
5000 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use gdb_byte.
5001 * mn10300-tdep.c (mn10300_store_return_value)
5002 (mn10300_breakpoint_from_pc, mn10300_push_dummy_call): Use
5003 gdb_byte.
5004 * moxie-tdep.c (moxie_process_readu): Use gdb_byte.
5005 (moxie_process_record): Remove casts.
5006 * ppc-ravenscar-thread.c (supply_register_at_address)
5007 (ppc_ravenscar_generic_store_registers): Use gdb_byte.
5008 * ravenscar-thread.c (get_running_thread_id): Use gdb_byte.
5009 * remote-m32r-sdi.c (m32r_fetch_register): Use gdb_byte.
5010 * remote-mips.c (mips_xfer_memory): Use gdb_byte.
5011 * remote.c (compare_sections_command): Use gdb_byte.
5012 * score-tdep.c (score7_free_memblock): Change type of parameter to
5013 gdb_byte *.
5014 * sh-tdep.c (sh_justify_value_in_reg): Change return type to
5015 gdb_byte *. Use gdb_byte.
5016 (sh_push_dummy_call_fpu): Use gdb_byte.
5017 (sh_extract_return_value_nofpu, sh_extract_return_value_fpu)
5018 (sh_store_return_value_nofpu, sh_store_return_value_fpu)
5019 (sh_register_convert_to_virtual, sh_register_convert_to_raw):
5020 Change parameter type to 'gdb_byte *'. Use gdb_byte.
5021 (sh_pseudo_register_read, sh_pseudo_register_write): Use gdb_byte.
5022 * sh64-tdep.c (sh64_push_dummy_call): Use gdb_byte.
5023 (sh64_store_return_value, sh64_register_convert_to_virtual):
5024 Change parameter type to 'gdb_byte *'. Use gdb_byte.
5025 (sh64_pseudo_register_write): Use gdb_byte.
5026 * solib-darwin.c (darwin_current_sos): Add casts to 'gdb_byte *'.
5027 * solib-irix.c (fetch_lm_info): Likewise. Use gdb_byte for byte
5028 buffer.
5029 (irix_current_sos): Use gdb_byte.
5030 * solib-som.c (som_current_sos): Use gdb_byte.
5031 * sparc-ravenscar-thread.c (supply_register_at_address)
5032 (sparc_ravenscar_generic_store_registers): Use gdb_byte.
5033 * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
5034 * spu-tdep.c (spu_get_overlay_table): Use gdb_byte.
5035 * tic6x-tdep.c (tic6x_breakpoint_from_pc): Change return type to
5036 'gdb_byte *'.
5037 * tic6x-tdep.h (struct gdbarch_tdep) <breakpoint>: Change type to
5038 'gdb_byte *'.
5039 * tracepoint.c (tfile_fetch_registers): Use gdb_byte.
5040 * xstormy16-tdep.c (xstormy16_extract_return_value)
5041 (xstormy16_store_return_value): Change parameter type to
5042 'gdb_byte *'. Adjust.
5043 (xstormy16_push_dummy_call): Use gdb_byte.
5044 * xtensa-tdep.c (xtensa_scan_prologue, call0_ret)
5045 (call0_analyze_prologue, execute_code): Use gdb_byte.
5046
433730c9
PA
50472013-04-19 Vladimir Kargov <[email protected]>
5048 Pedro Alves <[email protected]>
5049
5050 * i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to
5051 value contents.
5052
ac9ec31b
DE
50532013-04-17 Doug Evans <[email protected]>
5054
5055 * dwarf2read.c (struct signatured_type): New member type.
5056 (struct attribute): Replace member signatured_type with signature.
5057 (DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE.
5058 (read_call_site_scope): Call follow_die_ref instead of
5059 follow_die_ref_or_sig.
5060 (read_structure_type): Rewrite handling of signatured types.
5061 (read_enumeration_type): Ditto.
5062 (read_attribute_value): Update.
5063 (build_error_marker_type): New function.
5064 (lookup_die_type): Add assert. Rewrite handling of signatured types.
5065 Don't call error for bad types, just build an error marker type.
5066 (dump_die_shallow): Update.
5067 (follow_die_sig_1): Renamed from follow_die_sig.
5068 Don't call error for bad types, instead return NULL.
5069 (follow_die_sig): New function.
5070 (get_signatured_type, get_DW_AT_signature_type): New functions.
5071
e546e8bb
YZ
50722013-04-17 Yufeng Zhang <[email protected]>
5073
5074 * aarch64-tdep.c (aarch64_write_pc): Removed.
543cdd95
JB
5075 (aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above
5076 function.
e546e8bb 5077
ab116149
YQ
50782013-04-17 Yao Qi <[email protected]>
5079
5080 * top.c (print_gdb_configuration): Print configure-time
5081 parameter on using libbabeltrace or not.
5082
488a42b8
PA
50832013-04-16 Pedro Alves <[email protected]>
5084
5085 * copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h.
5086
f5fb825b
PA
50872013-04-16 Pedro Alves <[email protected]>
5088
85d494ea 5089 * common/glibc_thread_db.h: Update from upstream glibc
f5fb825b
PA
5090 (git 568035b7874a099087b77f7bba3e36a1173787b0).
5091
e1154999
PA
50922013-04-16 Pedro Alves <[email protected]>
5093
5094 * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: Factor out to ...
5095 * common/glibc_thread_db.h: ... this new file ...
5096 * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: ... and include it.
5097
e3b50a7f
PA
50982013-04-16 Will Newton <[email protected]>
5099 Pedro Alves <[email protected]>
5100
5101 PR build/11881
5102
5103 * common/gdb_thread_db.h (LIBTHREAD_DB_SO)
5104 (LIBTHREAD_DB_SEARCH_PATH): Move outside of #ifdef
5105 HAVE_THREAD_DB_H.
5106
1c2e4450
PA
51072013-04-16 Pedro Alves <[email protected]>
5108 Eli Zaretskii <[email protected]>
5109
5110 * NEWS: Mention "set foo unlimited".
5111
4031ecc5
DE
51122013-04-15 Doug Evans <[email protected]>
5113
19c3d4c9
DE
5114 * dwarf2read.c (struct dwo_file): Replace member "cus" with "cu".
5115 (struct create_dwo_cu_data): Renamed from create_dwo_info_table_data.
5116 (create_dwo_cu_reader): Renamed from
5117 create_dwo_debug_info_hash_table_reader.
5118 (create_dwo_cu): Renamed from create_dwo_debug_info_hash_table.
5119 Remove support for multiple CUs in a DWO file.
5120 (open_and_init_dwo_file, lookup_dwo_cutu): Update.
5121
4031ecc5
DE
5122 * dwarf2read.c (create_debug_types_hash_table): Use hex_string
5123 instead of phex.
5124 (lookup_dwo_unit, create_dwo_debug_info_hash_table_reader): Ditto.
5125 (create_dwo_in_dwp): Ditto.
5126
b340913d
TT
51272013-04-15 Tom Tromey <[email protected]>
5128
5129 * NEWS: Move recent entries into "since 7.6" section.
5130
cc16e6c9
TT
51312013-04-15 Tom Tromey <[email protected]>
5132
5133 PR c++/13588:
5134 * NEWS: Update.
5135 * break-catch-throw.c (struct exception_catchpoint)
5136 <exception_rx, pattern>: New fields.
5137 (fetch_probe_arguments, dtor_exception_catchpoint)
5138 (check_status_exception_catchpoint)
5139 (print_one_detail_exception_catchpoint): New functions.
5140 (handle_gnu_v3_exceptions): Add "except_rx" argument.
5141 Compile regular expression if needed.
5142 (extract_exception_regexp): New function.
5143 (catch_exception_command_1): Use extract_exception_regexp.
5144 (compute_exception): Use fetch_probe_arguments.
5145 (initialize_throw_catchpoint_ops): Set dtor, print_one_detail,
5146 and check_status fields.
5147 * cp-abi.c (cplus_typename_from_type_info): New function.
5148 * cp-abi.h (cplus_typename_from_type_info): Declare.
5149 (struct cp_abi_ops) <get_typename_from_type_info>: New field.
5150 * gdb_regex.h (compile_rx_or_error): Declare.
5151 * gnu-v3-abi.c (gnuv3_get_typename_from_type_info): Update
5152 comment.
5153 (init_gnuv3_ops): Set get_type_from_type_info field.
5154 * probe.c (compile_rx_or_error): Move...
5155 * utils.c (compile_rx_or_error): ... here.
5156
72f1fe8a
TT
51572013-04-15 Tom Tromey <[email protected]>
5158
5159 PR c++/15176:
5160 * NEWS: Update.
5161 * break-catch-throw.c (compute_exception): New function.
5162 (exception_funcs): New global.
5163 (_initialize_break_catch_throw): Create $_exception.
5164 * cp-abi.c (cplus_type_from_type_info): New function.
5165 * cp-abi.h (cplus_type_from_type_info): Declare.
5166 (struct cp_abi_ops) <get_type_from_type_info>: New field.
5167 * gnu-v3-abi.c (gnuv3_get_typename_from_type_info)
5168 (gnuv3_get_type_from_type_info): New functions.
5169 (init_gnuv3_ops): Set get_type_from_type_info ABI field.
5170
fc4746a2
TT
51712013-04-15 Tom Tromey <[email protected]>
5172
5173 * break-catch-throw.c (struct exception_names): New.
5174 (exception_functions): Change type.
5175 (re_set_exception_catchpoint): Look for SDT probes.
5176
15a73f56
TT
51772013-04-15 Tom Tromey <[email protected]>
5178
5179 PR c++/10119:
5180 * break-catch-throw.c (exception_functions): New global.
5181 (gnu_v3_exception_catchpoint_ops): Move earlier.
5182 (struct exception_catchpoint): New.
5183 (classify_exception_breakpoint): Rewrite.
5184 (re_set_exception_catchpoint): New function.
5185 (handle_gnu_v3_exceptions): Return void. Use init_catchpoint.
5186 Allocate a struct exception_catchpoint.
5187 (catch_exception_command_1): Update.
5188 (initialize_throw_catchpoint_ops): Set 're_set' method.
5189
916703c0
TT
51902013-04-15 Tom Tromey <[email protected]>
5191
5192 * Makefile.in (SFILES): Add break-catch-throw.c
5193 (COMMON_OBS): Add break-catch-throw.o.
5194 * break-catch-throw.c: New file.
5195 * breakpoint.c: Move exception-catching code to new file.
5196 (ep_parse_optional_if_clause): No longer static.
5197 * breakpoint.h (ep_parse_optional_if_clause): Declare.
5198
6e72ca20
TT
51992013-04-15 Tom Tromey <[email protected]>
5200
5201 PR c++/9065:
5202 * NEWS: Update.
5203 * breakpoint.c (watchpoint_exp_is_const): Add OP_TYPEID.
5204 * c-exp.y (TYPEID): New token.
5205 (exp): Add new TYPEID productions.
5206 (ident_tokens): Add "typeid".
5207 * cp-abi.c (cplus_typeid, cplus_typeid_type): New functions.
5208 * cp-abi.h (cplus_typeid, cplus_typeid_type): Declare.
5209 (struct cp_abi_ops) <get_typeid, get_typeid_type>: New fields.
5210 * eval.c (evaluate_subexp_standard) <OP_TYPEID>: New case.
5211 * expprint.c (dump_subexp_body_standard) <OP_TYPEID>: New
5212 case.
5213 * gnu-v3-abi.c (std_type_info_gdbarch_data): New global.
5214 (build_std_type_info_type, gnuv3_get_typeid_type)
5215 (gnuv3_get_typeid): New functions.
5216 (init_gnuv3_ops): Initialize std_type_info_gdbarch_data. Set
5217 new fields on ABI object.
5218 * parse.c (operator_length_standard) <OP_TYPEID>: New case.
5219 * std-operator.def (OP_TYPEID): New.
5220
715c6909
TT
52212013-04-15 Tom Tromey <[email protected]>
5222
5223 * elfread.c (elf_symtab_read): Install versioned symbol under
5224 unversioned name as well.
5225
8de20a37
TT
52262013-04-15 Tom Tromey <[email protected]>
5227
5228 PR c++/11990:
5229 * c-lang.c (cplus_language_defn): Use gdb_demangle.
5230 * c-typeprint.c (c_type_print_base): Use gdb_demangle.
5231 * cp-support.c (mangled_name_to_comp): Use gdb_demangle.
5232 (gdb_demangle): New function.
5233 * cp-support.h (gdb_demangle): Declare.
5234 * dwarf2read.c (dwarf2_physname, fixup_partial_die)
5235 (dwarf2_name): Use gdb_demangle.
5236 * gdbtypes.c (check_stub_method): Use gdb_demangle.
5237 * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version
5238 suffixes from name.
5239 (gnuv3_print_method_ptr): Use gdb_demangle.
5240 * jv-lang.c (java_demangle): Use gdb_demangle.
5241 * jv-typeprint.c (java_type_print_base): Use gdb_demangle.
5242 * language.c (unk_lang_demangle): Use gdb_demangle.
5243 * symtab.c (symbol_find_demangled_name)
5244 (demangle_for_lookup): Use gdb_demangle.
5245
591f19e8
TT
52462013-04-15 Tom Tromey <[email protected]>
5247
5248 PR c++/12824:
5249 * NEWS: Update.
5250 * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>:
5251 New constant.
5252 (classify_exception_breakpoint): New function.
5253 (print_it_exception_catchpoint, print_one_exception_catchpoint)
5254 (print_mention_exception_catchpoint)
5255 (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions)
5256 (catch_exception_command_1): Handle "rethrow" catchpoint.
5257 (catch_rethrow_command): New function.
5258 (_initialize_breakpoint): Add "catch rethrow" command.
5259
4d40cad2
PM
52602013-04-15 Pierre Muller <[email protected]>
5261
5262 * contrib/ari/gdb_ari.sh (write_pc rule): Do not consider
5263 set_gdbarch_write_pc as deprecated anymore.
5264
30bcb456
JB
52652013-04-15 Joel Brobecker <[email protected]>
5266
5267 * spu-tdep.c (spu_write_pc): Add empty line after local variable
5268 declarations.
5269
da9160e4
YQ
52702013-04-13 Yao Qi <[email protected]>
5271
5272 * ctf.c (_initialize_ctf): Include "completer.h".
5273 Call add_target_with_completer instead of add_target.
5274
39ed5604
JK
52752013-04-12 Jan Kratochvil <[email protected]>
5276
5277 Fix GDB regression related to PR binutils/14813.
5278 * jit.c (mem_bfd_iovec_close): Return 0 for success.
5279 * minidebug.c (lzma_close): Add return value comment.
5280 * remote.c (remote_bfd_iovec_close): Return 0 for success.
5281 * solib-spu.c (spu_bfd_iovec_close): Likewise.
5282 * spu-linux-nat.c (spu_bfd_iovec_close): Likewise.
5283
52842013-04-12 Jan Kratochvil <[email protected]>
49369217
JK
5285
5286 * config.in: Regenerate.
5287
d521ce57
TT
52882013-04-12 Tom Tromey <[email protected]>
5289
5290 * dwarf2-frame.c (struct comp_unit) <dwarf_frame_buffer>: Now
5291 const.
5292 * dwarf2read.c (struct dwarf2_section_info) <buffer>: Now const.
5293 (struct die_reader_specs) <buffer>: Likewise.
5294 (die_reader_func_ftype): Make 'info_ptr' const.
5295 (struct line_header) <include_dirs, statement_program_start,
5296 statement_program_end>: Now const.
5297 (struct file_entry) <name>: Likewise.
5298 (struct partial_die_info) <sibling>: Likewise.
5299 (struct dwarf_block) <data>: Likewise.
5300 (dwarf2_read_section): Remove cast.
5301 (dwarf2_get_section_info): Make 'bufp' const.
5302 (read_index_from_section): Constify.
5303 (dw2_get_file_names_reader): Make 'info_ptr' const.
5304 (dw2_get_primary_filename_reader): Likewise.
5305 (read_comp_unit_head): Make 'info_ptr' and return type const.
5306 (read_and_check_comp_unit_head, read_and_check_type_unit_head):
5307 Likewise.
5308 (read_abbrev_offset): Constify.
5309 (dwarf2_create_include_psymtab): Make 'name' const.
5310 (create_debug_types_hash_table): Update.
5311 (read_cutu_die_from_dwo): Make 'result_info_ptr' const.
5312 (init_cutu_and_read_dies, init_cutu_and_read_dies_no_follow):
5313 Constify.
5314 (process_psymtab_comp_unit_reader, build_type_psymtabs_reader)
5315 (load_partial_comp_unit_reader): Make 'info_ptr' const.
5316 (read_comp_units_from_section): Constify.
5317 (peek_abbrev_code, peek_die_abbrev, skip_children, skip_one_die)
5318 (locate_pdi_sibling, load_full_comp_unit_reader): Make 'info_ptr'
5319 const.
5320 (dwarf2_compute_name, setup_type_unit_groups): Constify.
5321 (create_dwo_debug_info_hash_table): Make 'info_ptr' const.
5322 (create_dwp_hash_table, dwarf2_ranges_read)
5323 (dwarf2_record_block_ranges): Constify.
5324 (read_die_and_children, read_die_and_siblings_1)
5325 (read_die_and_siblings): Make 'info_ptr' and 'new_info_ptr'
5326 const.
5327 (read_full_die_1, read_full_die): Make 'info_ptr' const.
5328 (abbrev_table_read_table): Constify.
5329 (load_partial_dies): Make 'info_ptr' const.
5330 (read_partial_die, read_attribute_value, read_attribute): Make
5331 'info_ptr' and return type const.
5332 (read_address, read_initial_length)
5333 (read_checked_initial_length_and_offset, read_offset)
5334 (read_offset_1, read_n_bytes, read_direct_string): Make 'buf'
5335 const.
5336 (read_direct_string): Make 'buf' and return type const.
5337 (read_indirect_string_at_offset, read_indirect_string_from_dwz)
5338 (read_indirect_string): Make return type const.
5339 (read_unsigned_leb128, read_signed_leb128): Make 'buf' const.
5340 (read_addr_index_from_leb128, dwarf2_read_addr_index_reader): Make
5341 'info_ptr' const.
5342 (read_str_index): Make return type const.
5343 (add_include_dir): Make 'include_dir' const.
5344 (add_file_name): Make 'name' const.
5345 (dwarf_decode_line_header): Constify.
5346 (psymtab_include_file_name): Make return type const.
5347 (dwarf_decode_lines_1, dwarf_decode_lines): Constify.
5348 (dwarf2_start_subfile): Make 'filename' const.
5349 (dwarf2_const_value_attr): Make 'bytes' const.
5350 (read_signatured_type_reader): Make 'info_ptr' const.
5351 (decode_locdesc): Constify.
5352 (skip_form_bytes): Make 'bytes', 'buffer_end', and return type
5353 const.
5354 (skip_unknown_opcode): Make 'opcode_definitions', 'mac_ptr',
5355 'mac_end', and return type const.
5356 (dwarf_parse_macro_header): Make 'mac_ptr' and return type const.
5357 (dwarf_decode_macro_bytes): Make 'mac_ptr', 'mac_end', and return
5358 type const.
5359 (per_cu_header_read_in): Constify.
5360 * symfile.h (dwarf2_get_section_info): Update.
5361
d47a1bc1
TT
53622013-04-12 Tom Tromey <[email protected]>
5363
5364 * symtab.h (struct general_symbol_info) <value.bytes>: Make const.
5365
6eaaf48b
EZ
53662013-04-12 Eli Zaretskii <[email protected]>
5367
fc4c25bf 5368 * NEWS: Mention "show configuration", --configuration.
6eaaf48b
EZ
5369 * top.c (print_gdb_configuration): New function, displays the
5370 details about GDB configure-time parameters.
5371 (print_gdb_version): Mention "show configuration".
6eaaf48b
EZ
5372 * cli/cli-cmds.c (show_configuration): New function.
5373 (_initialize_cli_cmds): Add the "show configuration" command.
6eaaf48b
EZ
5374 * main.c (captured_main) <print_configuration>: New static var.
5375 <long_options>: Use it.
5376 If --configuration was given, call print_gdb_configuration.
5377
b292c783
JK
53782013-04-11 Jan Kratochvil <[email protected]>
5379 Pedro Alves <[email protected]>
5380
5381 * Makefile.in (HAVE_NATIVE_GCORE_TARGET): New.
5382 (generated_files): Add gcore.
5383 (install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or
5384 HAVE_NATIVE_GCORE_HOST.
5385 (gcore): New.
5386 * NEWS (Changes since GDB 7.6): Mention newly installed gcore.
5387 * config/alpha/alpha-osf3.mh, config/i386/fbsd.mh,
5388 config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh,
5389 config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh,
5390 config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh:
5391 Add HAVE_NATIVE_GCORE_HOST.
5392 * configure: Regenerate.
5393 * configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it.
5394 New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New
5395 AC_CONFIG_FILES for gcore.
5396 * configure.tgt: Add gdb_have_gcore to the initial comment. Set
5397 gdb_have_gcore.
5398 * gdb_gcore.sh: Rename to ...
5399 * gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME
5400 and GCORE_TRANSFORM_NAME substitutions.
5401
c96b3c4f
JK
5402 Fix parsing tabs in ${gdb_target_obs}.
5403 * configure.tgt (gdb_have_gcore): Replace case with for and if.
5404
d6cb50a2
JK
54052013-04-11 Jan Kratochvil <[email protected]>
5406
5407 * remote.c (unpush_and_perror): Add output message final dot.
5408
cf2cb5ec
YQ
54092013-04-11 Yao Qi <[email protected]>
5410
5411 * tracepoint.c (tfile_interp_line): Fit parameters line and
5412 utpp in one line.
5413
07293be4
JB
54142013-04-10 Joel Brobecker <[email protected]>
5415
5416 * solib.c (solib_map_sections): Remove code overwriting
5417 SO->SO_NAME with the bfd's filename.
5418
f81d1120
PA
54192013-04-10 Pedro Alves <[email protected]>
5420
5421 * cli/cli-decode.c (integer_unlimited_completer): New function.
5422 (add_setshow_integer_cmd, add_setshow_uinteger_cmd)
5423 (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited"
5424 completer.
5425 * cli/cli-setshow.c: Include "cli/cli-utils.h".
5426 (is_unlimited_literal): New function.
5427 (do_set_command): Handle literal "unlimited" arguments.
5428 * frame.c (_initialize_frame) <set backtrace limit>: Document
5429 "unlimited".
5430 * printcmd.c (_initialize_printcmd) <set print
5431 max-symbolic-offset>: Add help text.
5432 * record-full.c (_initialize_record_full) <set record full
5433 insn-number-max>: Likewise.
5434 * record.c (_initialize_record) <set record
5435 instruction-history-size, set record function-call-history-size>:
5436 Add help text.
5437 * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add
5438 help text.
5439 * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>:
5440 Likewise.
5441 * source.c (_initialize_source) <set listsize>: Add help text.
5442 * utils.c (initialize_utils) <set height, set width>: Likewise.
5443 <set pagination>: Mention "set height unlimited".
5444 * valprint.c (_initialize_valprint) <set print elements, set print
5445 repeats>: Document "unlimited".
5446
2f9d54cf
PA
54472013-04-10 Pedro Alves <[email protected]>
5448
5449 * cli/cli-cmds.c (quit_command): Call query_if_trace_running
5450 instead of disconnect_tracing.
5451 * infcmd.c (detach_command, disconnect_command): Call
5452 query_if_trace_running. Adjust.
5453 * top.c: Include "tracepoint.h".
5454 (quit_target): Delete. Contents moved ...
5455 (quit_force): ... here. Wrap each stage of teardown in
5456 TRY_CATCH. Call disconnect_tracing before detaching.
5457
393fd4c3
YQ
54582013-04-10 Hui Zhu <[email protected]>
5459 Yao Qi <[email protected]>
5460
5461 * configure.ac: Check libbabeltrace is installed.
5462 * config.in: Regenerate.
5463 * configure: Regenerate.
5464 * Makefile.in (LIBBABELTRACE): New.
5465 (CLIBS): Add LIBBABELTRACE.
5466 * ctf.c: Include "exec.h".
5467 (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
5468 (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
5469 (ctf_save_metadata_header): Define new type aliases in
5470 metadata.
5471 (ctf_write_header): Define event type "tsv_def" and "tp_def"
5472 in metadata. Start a new faked packet for trace status.
5473 (ctf_write_status): Write trace status to CTF.
5474 (ctf_write_uploaded_tsv): Write TSV to CTF.
5475 (ctf_write_uploaded_tp): Write tracepoint definition to CTF.
5476 (ctf_write_definition_end): End the faked packet.
5477
5478 (ctx, ctf_iter, trace_dirname): New.
5479 (start_pos): New variable.
5480 (ctf_destroy, ctf_open_dir, ctf_open): New.
5481 (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
5482 macros.
5483 (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
5484 (ctf_fetch_registers, ctf_xfer_partial): New.
5485 (ctf_get_trace_state_variable_value): New.
5486 (ctf_get_tpnum_from_frame_event): New.
5487 (ctf_get_traceframe_address): New.
5488 (ctf_trace_find, ctf_has_stack): New.
5489 (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
5490 (ctf_get_trace_status, ctf_read_status): New.
5491 (_initialize_ctf): New.
5492 * tracepoint.c (get_tracepoint_number): New
5493 (get_uploaded_tsv): Remove 'static'.
5f8e0b8f 5494 (struct traceframe_info, trace_regblock_size): Move it to ...
393fd4c3
YQ
5495 * tracepoint.h: ... here.
5496 (get_tracepoint_number): Declare it.
5497 (get_uploaded_tsv): Declare it.
5498
5499 * NEWS: Mention new configure option.
5500
5c2b4418
HZ
55012013-04-10 Pedro Alves <[email protected]>
5502 Hui Zhu <[email protected]>
5503
5504 * breakpoint.c (dprintf_re_set): New.
5505 (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
5506 to dprintf_re_set.
5507
a5c66735
JB
55082013-04-09 Joel Brobecker <[email protected]>
5509
5510 * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
5511 Remove solib-svr4.o from the list.
5512
9e77999c
JB
55132013-04-09 Joel Brobecker <[email protected]>
5514
5515 * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
5516 Use gdb_assert_not_reached instead of invalid boolean expression.
5517
1927e618
PA
55182013-04-09 Pedro Alves <[email protected]>
5519
5520 * remote.c (unpush_and_perror): New function.
5521 (readchar, remote_serial_write): Use it.
5522
10782d74
MM
55232013-04-09 Markus Metzger <[email protected]>
5524
5525 * NEWS: Mention new btrace RSP packets.
5526
4c8429ef
TT
55272013-04-08 Tom Tromey <[email protected]>
5528
5529 * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
5530 long.
5531
8625fc1b
TT
55322013-04-08 Tom Tromey <[email protected]>
5533
5534 * maint.c (print_bfd_section_info): Print the section index.
5535 * symmisc.c (dump_msymbols): Print the section index.
5536
e27d198c
TT
55372013-04-08 Tom Tromey <[email protected]>
5538
5539 PR symtab/8424:
5540 * blockframe.c (find_pc_partial_function_gnu_ifunc): Check
5541 SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
5542 * breakpoint.c (resolve_sal_pc): Update.
5543 * elfread.c (elf_gnu_ifunc_record_cache): Update.
5544 * findvar.c (struct minsym_lookup_data) <objfile>: New field.
5545 (minsym_lookup_iterator_cb): Use it.
5546 (default_read_var_value): Update.
5547 * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
5548 Update.
5549 * infcmd.c (jump_command): Update.
5550 * linespec.c (minsym_found): Update.
5551 * maint.c (maintenance_translate_address): Update.
5552 * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
5553 (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
5554 * parse.c (write_exp_msymbol): Update.
5555 * printcmd.c (address_info): Update.
5556 * psymtab.c (find_pc_sect_psymbol): Update.
5557 (fixup_psymbol_section): Check SYMBOL_SECTION, not
5558 SYMBOL_OBJ_SECTION.
5559 (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
5560 Don't initialize SYMBOL_OBJ_SECTION.
5561 * spu-tdep.c (spu_catch_start): Update.
5562 * stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
5563 * symmisc.c (dump_msymbols, print_symbol): Update.
5564 * symtab.c (fixup_section): Don't set 'obj_section'. Change
5565 how fallback section is computed.
5566 (fixup_symbol_section): Update.
5567 (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
5568 Update.
5569 (allocate_symbol, initialize_symbol, allocate_template_symbol):
5570 Initialize SYMBOL_SECTION.
5571 * symtab.h (struct general_symbol_info) <section>: Update comment.
5572 <obj_section>: Remove.
5573 (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite.
5574 (SYMBOL_OBJFILE): New macro.
5575
e6dc44a8
TT
55762013-04-08 Tom Tromey <[email protected]>
5577
5578 * coffread.c (record_minimal_symbol): Update.
5579 * dbxread.c (record_minimal_symbol): Update.
5580 * elfread.c (record_minimal_symbol): Update.
5581 * machoread.c (macho_symtab_add_minsym): Update.
5582 * mdebugread.c (record_minimal_symbol, parse_partial_symbols):
5583 Update.
5584 * minsyms.c (prim_record_minimal_symbol): Update.
5585 (prim_record_minimal_symbol_full): Remove 'bfd_section'
5586 argument.
5587 (prim_record_minimal_symbol_and_info): Likewise.
5588 * minsyms.h (prim_record_minimal_symbol_full)
5589 (prim_record_minimal_symbol_and_info): Update.
5590 * symtab.c (allocate_symbol, initialize_symbol)
5591 (allocate_template_symbol): Initialize SYMBOL_SECTION.
5592 * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
5593 Update.
5594
36192a8d
TT
55952013-04-08 Tom Tromey <[email protected]>
5596
5597 PR symtab/8423:
5598 * solib-som.c (som_solib_section_offsets): Use BFD section
5599 indices. Set offsets for all sections.
5600 * somread.c (som_symtab_read): Compute BFD section for
5601 symbol. Use prim_record_minimal_symbol_and_info.
5602 (som_symfile_read): Fix comment.
5603 (struct find_section_offset_arg): New.
5604 (find_section_offset, set_section_index): New functions.
5605 (som_symfile_offsets): Use set_section_index to compute
5606 section indices.
5607
65cf3563
TT
56082013-04-08 Tom Tromey <[email protected]>
5609
5610 * coffread.c (cs_to_section): Use gdb_bfd_section_index.
5611 * elfread.c (record_minimal_symbol, elf_symtab_read): Use
5612 gdb_bfd_section_index.
5613 * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
5614 New functions.
5615 * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
5616 Declare.
5617 * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
5618 Update.
5619 * objfiles.c (add_to_objfile_sections_full): New function.
5620 (add_to_objfile_sections): Use it.
5621 (build_section_table): Rewrite.
5622 (objfile_relocate1): Use gdb_bfd_section_index. Update.
5623 * objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
5624 (struct objfile) <sections>: Update comment.
5625 (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
5626 is NULL.
5627 (ALL_OBJSECTIONS): Use it.
5628 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
5629 * solib-frv.c (frv_relocate_main_executable): Update.
5630 * solib-target.c (solib_target_relocate_section_addresses):
5631 Use gdb_bfd_section_index.
5632 * symfile.c (build_section_addr_info_from_section_table):
5633 Use gdb_bfd_section_index.
5634 (build_section_addr_info_from_bfd, place_section): Likewise.
5635 * symtab.c (fixup_section): Update.
5636 * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.
5637
7cbd4a93
TT
56382013-04-08 Tom Tromey <[email protected]>
5639
5640 * minsyms.h (struct bound_minimal_symbol): New.
5641 (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
5642 Remove objfile argument.
5643 (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
5644 Return bound_minimal_symbol.
5645 * minsyms.c (lookup_minimal_symbol_by_pc_1)
5646 (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
5647 Return bound_minimal_symbol.
5648 (in_gnu_ifunc_stub): Update.
5649 (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
5650 Remove 'objfile_p' argument.
5651 (lookup_solib_trampoline_symbol_by_pc): Update.
5652 * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
5653 arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c,
5654 c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
5655 glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
5656 i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
5657 linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
5658 mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
5659 ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
5660 stack.c, symtab.c, tui/tui-disasm.c: Update.
5661
f85f34ed
TT
56622013-04-08 Tom Tromey <[email protected]>
5663
5664 * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
5665 Use symbol's obstack, not an objfile.
5666 * coffread.c (process_coff_symbol): Update.
5667 * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
5668 * jv-lang.c (add_class_symbol): Update.
5669 * mdebugread.c (new_symbol): Update.
5670 * minsyms.c (prim_record_minimal_symbol_full)
5671 (terminate_minimal_symbol_table): Update.
5672 * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update.
5673 * stabsread.c (define_symbol, read_enum_type): Update.
5674 * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
5675 Handle Ada specially.
5676 (symbol_set_language): Add 'obstack' argument.
5677 (symbol_set_names): Update.
5678 (symbol_natural_name, symbol_demangled_name): Always use
5679 ada_decode_symbol.
5680 * symtab.h (struct general_symbol_info)
5681 <language_specific::obstack>: New field.
5682 <ada_mangled>: New field.
5683 (SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
5684 (symbol_set_language): Update.
5685
ccde22c0
TT
56862013-04-08 Tom Tromey <[email protected]>
5687
5688 * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
5689 Take an obstack, not an objfile.
5690 (symbol_set_names): Update.
5691 * symtab.h (symbol_set_demangled_name): Update.
5692
e623cf5d
TT
56932013-04-08 Tom Tromey <[email protected]>
5694
5695 * coffread.c (process_coff_symbol, coff_read_enum_type): Call
5696 allocate_symbol.
5697 * dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
5698 (read_func_scope): Call allocate_template_symbol.
5699 (new_symbol_full): Call allocate_symbol.
5700 * jit.c (finalize_symtab): Call allocate_symbol.
5701 * jv-lang.c (add_class_symbol): Call allocate_symbol.
5702 * mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
5703 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
5704 (common_block_end): Call allocate_symbol.
5705 * symtab.c (allocate_symbol, initialize_symbol)
5706 (allocate_template_symbol): New functions.
5707 * symtab.c (allocate_symbol, initialize_symbol)
5708 (allocate_template_symbol): Declare.
5709 * xcoffread.c (process_xcoff_symbol): Call initialize_symbol.
5710
f6de8ec2
PA
57112013-04-08 Pedro Alves <[email protected]>
5712 Keith Seitz <[email protected]>
5713
5714 * breakpoint.c (create_breakpoint): Rename
5715 "parse_condition_and_thread" parameter to "parse_arg". Update
5716 describing comment. If !PARSE_ARG, then error out if ARG is not
5717 the empty string after extracting the location.
5718 * breakpoint.h (create_breakpoint): Rename
5719 "parse_condition_and_thread" parameter to "parse_arg".
5720
f65ce5fb
AR
57212013-04-08 Aleksandar Ristovski <[email protected]
5722
5723 * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
5724
cc5925ad
YQ
57252013-04-07 Yao Qi <[email protected]>
5726
5727 * remote.c (remote_trace_find): Change type of parameters 'addr1'
5728 and 'addr2' to CORE_ADDR.
5729 * target.c (update_current_target): Update.
5730 * target.h (struct target_ops) <to_trace_find>: Change parameter
5731 type to CORE_ADDR.
5732 * tracepoint.c (tfind_1): Change type of parameters 'addr1' and
5733 'addr2' to CORE_ADDR.
5734 (tfile_trace_find): Likewise.
5735 (tfile_get_traceframe_address): Change return type to CORE_ADDR.
5736 Change local variable 'addr' to type CORE_ADDR.
5737 * tracepoint.h (tfind_1): Update declaration.
5738
d9ac0664
EZ
57392013-04-06 Eli Zaretskii <[email protected]>
5740
5741 * windows-nat.c (windows_get_absolute_argv0): Move from here...
5742 * mingw-hdep.c (windows_get_absolute_argv0): ...to here.
5743 Include main.h.
5744
5745 * windows-nat.h (windows_get_absolute_argv0): Move prototype from
5746 here...
5747 * main.h (windows_get_absolute_argv0): ...to here.
5748
02142a6c
DE
57492013-04-05 Doug Evans <[email protected]>
5750
5751 * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment.
5752 (read_cutu_die_from_dwo): Add comments.
5753 (read_structure_type): Update comment.
5754 (read_enumeration_type, read_namespace_type): Update comment.
5755 (read_die_type, get_die_type_at_offset, get_die_type): Update comment.
5756
43662968
JK
57572013-04-05 Jan Kratochvil <[email protected]>
5758
5759 Convert man pages to texinfo, new gdbinit.5 texinfo page.
5760 * Makefile.in (gdb.z): Remove.
5761 (install-only): Remove $(man1dir) and gdb.1 installation.
5762 * gdb.1: Remove.
5763
9ead1b84
JK
57642013-04-05 Jan Kratochvil <[email protected]>
5765
5766 Fix compatibility with Linux kernel 3.8.3.
5767 * linux-tdep.c (linux_find_memory_regions_full): Move variable number
5768 to more inner block. Remove parsing of NUMBER from outer block.
5769 Parse NUMBER only if KEYWORD has been identified.
5770
d1794952
JK
57712013-04-05 Jan Kratochvil <[email protected]>
5772
5773 Fix variable name shadowing.
5774 * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
5775 filename to mapsfilename and update its uses.
5776
9025569e
EZ
57772013-04-05 Eli Zaretskii <[email protected]>
5778
5779 * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
5780 empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
5781 and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
5782 details of the problem.
5783
c9a6ce02
PA
57842013-04-04 Pedro Alves <[email protected]>
5785 Hui Zhu <[email protected]>
5786
5787 * breakpoint.c (validate_commands_for_breakpoint): If validating a
5788 tracepoint, reset its STEP_COUNT and call validate_actionline.
5789
5ff888ce
DE
57902013-04-03 Doug Evans <[email protected]>
5791
bf6af496
DE
5792 * dwarf2read.c (read_die_and_siblings_1): Renamed from
5793 read_die_and_siblings.
5794 (read_die_and_siblings): New function.
5795 (read_cutu_die_from_dwo): Dump die if requested.
5796 (read_die_and_children): Call read_full_die_1 and
5797 read_die_and_siblings_1.
5798 (read_full_die): Dump die if requested.
5799
5800 * dwarf2read.c (read_comp_units_from_section): Add debugging printf.
5801
0ac5b59e
DE
5802 * dwarf2read.c (struct dwo_file): New member comp_dir.
5803 Rename member name to dwo_name. All uses updated.
5804 (hash_dwo_file): Include comp_dir in computation.
5805 (eq_dwo_file): Ditto.
5806 (lookup_dwo_file_slot): New arg comp_dir. All callers updated.
5807 (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto.
5808
5ff888ce
DE
5809 * psymtab.c (read_psymtabs_with_fullname): Don't call
5810 psymtab_to_fullname if the basenames are different.
5811
ec83d211
JK
58122013-04-03 Jan Kratochvil <[email protected]>
5813
5814 * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname".
5815 New entry about "fullname" presence.
5816
4f4352f7
PA
58172013-04-03 Pedro Alves <[email protected]>
5818
5819 * NEWS: Mention x86_64/Cygwin as new native configuration.
5820
3d1d5ea3
DE
58212013-04-02 Doug Evans <[email protected]>
5822
5823 * dwarf2read.c (read_structure_type): Fix typo in comment.
5824
be9a8770
PA
58252013-04-02 Pedro Alves <[email protected]>
5826
5827 * NEWS: Mention "set/show debug aarch64", "set/show debug
5828 coff-pe-read" and "set/show debug mach-o".
5829
a46c1e42
PA
58302013-04-02 Pedro Alves <[email protected]>
5831
5832 * NEWS: Mention "set/show remote trace-buffer-size-packet".
5833
3ad18b19
EZ
58342013-04-02 Eli Zaretskii <[email protected]>
5835
5836 * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h.
5837 gdb_string.h is now in common/.
5838
e9f1758d
PA
58392013-04-02 Pedro Alves <[email protected]>
5840
5841 * NEWS: Move "set debug notification" and "set trace-buffer-size"
5842 under "New options".
5843
049dc89b
JK
58442013-04-02 Jan Kratochvil <[email protected]>
5845
5846 Revert this patch:
5847 PR gdb/15275
5848 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
5849
c33e31fd
PA
58502013-04-02 Pedro Alves <[email protected]>
5851
5852 PR gdb/15275
5853
5854 * remote.c (send_interrupt_sequence): Use remote_serial_write.
5855 (remote_serial_write): New function.
5856 (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write.
5857
ea5f3910
JW
58582013-04-01 Jiong Wang <[email protected]>
5859
5860 * NEWS: Mention TILE-Gx in "New native configurations" and
f5aee5ee 5861 "New targets" sections.
ea5f3910 5862
5c6fa7ab
DE
58632013-04-01 Doug Evans <[email protected]>
5864
c0f78cd4
DE
5865 * dwarf2read.c (lookup_signatured_type_at_offset): Delete.
5866 (process_enumeration_scope): Simplify.
5867
0186c6a7
DE
5868 * dwarf2read.c (struct dwarf2_per_cu_data): Move member
5869 type_unit_group ...
5870 (struct signatured_type): ... to here.
5871 (sig_type_ptr): New typedef.
5872 (type_unit_group): Delete member 't.first_cu'. Move member 'tus'
5873 out of union 't'. All uses updated.
5874 (dw2_get_file_names_reader): Assert not called for a type unit.
5875 (dw2_get_file_names): Assert not called for a type unit or type
5876 unit group.
5877 (build_type_psymtabs_reader): Assert called for a type unit.
5878 (build_type_psymtab_dependencies): Assert called for a type unit group.
5879
5c6fa7ab
DE
5880 * dwarf2read.c (free_dwo_file): Add comment.
5881 (dwarf2_per_objfile_free): Unref dwp bfd.
5882
b3c0ad67 58832013-04-01 Aleksandar Ristovski <[email protected]>
cebca8c1
AR
5884
5885 * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
5886 (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
5887 (read_pe_exported_syms): Remove unused 'exportix'.
5888 (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
5889 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
5890 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.
5891
e2df1547
AR
58922013-04-01 Aleksandar Ristovski <[email protected]>
5893
5894 * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'.
5895 (print_it_watchpoint): Remove unused 'bl'.
5896 (say_where): Remove unused 'uiout'.
5897 (bpstat_remove_breakpoint_callback): Remove unused 'uiout'.
5898 (bkpt_breakpoint_hit): Remove unused 'b'.
5899 (internal_bkpt_print_it): Remove unused 'uiout'.
5900 * buildsym.c (augment_type_symtab): Remove unused 'i'.
5901
d81e75c0
TD
59022013-03-31 Tiago Stürmer Daitx <[email protected]>
5903
5904 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function.
5905 (ppc64_sysv_abi_push_dummy_call): Handle complex arguments.
5906
5a8b3f62
DE
59072013-03-29 Doug Evans <[email protected]>
5908
ab5088bf
DE
5909 * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file.
5910 Delete arg is_dwp. All callers updated.
5911 (open_dwp_file): New function.
5912 (open_and_init_dwp_file): Call it.
5913 (get_dwp_file): New function.
5914 (lookup_dwo_cutu): Call it.
5915
a8ad1e57
DE
5916 * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
5917 unnecessary, cleanup.
5918
6296d8c1
DE
5919 * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
5920
b0c7bfa9
DE
5921 * dwarf2read.c (read_cutu_die_from_dwo): New function.
5922 (lookup_dwo_unit): New function.
5923 (init_cutu_and_read_dies): Move DWO handling to new functions.
5924
c88ee1f0
DE
5925 * dwarf2read.c (struct signatured_type): Tweak comment.
5926 (struct dwo_unit): Tweak comment.
5927 (create_debug_types_hash_table): Tweak comment. Reformat long line.
5928 (create_dwo_debug_info_hash_table): Tweak comment.
5929 (dwarf2_per_cu_offset_and_type): Tweak comment.
5930
5a8b3f62
DE
5931 * dwarf2read.c (lookup_signatured_type): Remove complaint about
5932 missing .debug_types section.
5933
9852c492
YQ
59342013-03-29 Yao Qi <[email protected]>
5935
5936 * corelow.c: Include "completer.h".
5937 (_initialize_corelow): Call add_target_with_completer with
5938 argument 'filename_completer'.
5939 * tracepoint.c: Likewise.
5940 * exec.c (_initialize_exec): Likewise.
5941 * target.c (add_target): Rename to ...
5942 (add_target_with_completer): ... this. Call set_cmd_completer
5943 if parameter completer is not NULL.
5944 (add_target): New.
5945 * target.h: Include "command.h".
5946 (add_target_with_completer): Declare it.
5947
af312be7
JB
59482013-03-28 Joel Brobecker <[email protected]>
5949
5950 * coffread.c (is_import_fixup_symbol): New function.
5951 (record_minimal_symbol): Use is_import_fixup_symbol to
5952 detect import fixup symbols, and discard them.
5953
8a0459fd
DE
59542013-03-28 Doug Evans <[email protected]>
5955
0349ea22
DE
5956 * dwarf2read.c (create_debug_types_hash_table): Don't allocate the
5957 types hash table until we know we need it.
5958
f652bce2
DE
5959 * dwarf2read.c (create_addrmap_from_index): Complain about bad CU
5960 index numbers.
5961
e4a48d9d
DE
5962 * dwarf2read.c (dw2_get_file_names): Delete arg "objfile".
5963 All callers updated.
5964 (dw2_print_stats): Print #read CUs too.
5965 (dump_die_shallow): Print signatured types better.
5966
8a0459fd
DE
5967 * dwarf2read.c (struct dwarf2_per_cu_data): Rename member
5968 info_or_types_section to section. All uses updated.
5969 (struct dwo_unit): Ditto.
5970
bd3eecc3
PA
59712013-03-28 Pedro Alves <[email protected]>
5972
5973 * NEWS (New options): New section.
5974 (New options): Mention set/show remote trace-status-packet.
5975 * remote.c (PACKET_qTStatus): New enumeration value.
5976 (remote_get_trace_status): Skip sending qTStatus if the packet is
5977 disabled. Use packet_ok.
5978 (_initialize_remote): Register a configuration command for
5979 qTStatus packet.
5980
41245087
DE
59812013-03-28 Doug Evans <[email protected]>
5982
7edbb660
DE
5983 * symfile.c (find_separate_debug_file): Add comment.
5984 (terminate_after_last_dir_separator): Tweak comment.
5985
0018ea6f
DE
5986 * dwarf2read.c (create_partial_symtab): Add forward decl.
5987 (create_partial_symtab): Move to be closer to other psymtab functions.
5988 (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto.
5989
ca69b9e6
DE
5990 * dwarf2read.c (dwarf2_physname): Move declaration to better spot.
5991 (compute_symtab_includes): Remove unnecessary forward declaration.
5992 (die_needs_namespace): Add comment marking group of functions for
5993 dwarf2 name computation.
5994
a9375afe
DE
5995 * typeprint.c (_initialize_typeprint): Improve type help text.
5996
41245087
DE
5997 * python/python.c (finish_python_initialization): Provide suggestion
5998 for how to tell gdb to find its python files.
5999
7f7cc265
PA
60002013-03-28 Pedro Alves <[email protected]>
6001
6002 PR gdb/15294
6003
6004 * source.c (_initialize_source): Change back "set listsize" to an
6005 integer command.
6006
ec21308c
JK
60072013-03-27 Gareth McMullin <[email protected]>
6008
6009 PR gdb/15275
6010 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
6011
840a9a1f
PA
60122013-03-27 Pedro Alves <[email protected]>
6013
6014 * top.c (history_size): Rename to ...
6015 (history_size_setshow_var): ... this. Add comment.
6016 (show_commands): Use readline's 'history_length' instead of
6017 computing the history length by calling history_get in a loop.
6018 (set_history_size_command): Error out for sizes over INT_MAX.
6019 Restore previous history size on invalid size.
6020 (init_history): If HISTSIZE is negative, leave the history size as
6021 zero. Add comments.
6022 (init_main): Adjust.
6023
826ecc4d
PA
60242013-03-27 Pedro Alves <[email protected]>
6025
6026 * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
6027 coff_pe_read" command to "set debug coff-pe-read".
6028
0ccfeeae
MM
60292013-03-27 Markus Metzger <[email protected]>
6030
6031 * record.c (command_size_to_target_size): Fix size comparison.
6032 Change parameter type from pointer to integer to integer.
6033 Update all users.
6034
40653b35
PM
60352013-03-27 Pierre Muller <[email protected]>
6036
6037 * windows-nat.c (handle_output_debug_string): Avoid typecast
6038 from integer of different size warning.
6039
c62fa0e2
JB
60402013-03-26 Joel Brobecker <[email protected]>
6041
6042 * windows-nat.c (handle_output_debug_string): Add empty line
6043 after local block variable definition.
6044
2c619be2
PA
60452013-03-26 Pedro Alves <[email protected]>
6046
6047 * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned.
6048 (net_open): Make 'polls' local unsigned.
6049
1b493192
PA
60502013-03-26 Pedro Alves <[email protected]>
6051
6052 * remote.c (_initialize_remote): Make "set remoteaddresssize"
6053 a zuinteger command instead of uinteger.
6054
7ee70bf5
PA
60552013-03-26 Pedro Alves <[email protected]>
6056
6057 * record-full.c (record_full_insn_num): Make it unsigned.
6058 (record_full_check_insn_num, record_full_message)
6059 (record_full_registers_change, record_full_xfer_partial): Remove
6060 record_full_insn_max_num check (it's always != 0).
6061 (record_full_info, record_full_restore): Use %u as format string.
6062 (): Use %u as format string.
6063 (set_record_full_insn_max_num): Remove record_full_insn_max_num
6064 check (it's always != 0).
6065
dfd1f9bb
PA
60662013-03-26 Pedro Alves <[email protected]>
6067
6068 * dcache.c (_initialize_dcache): Make the "set dcache line-size"
6069 and "set dcache size" commands zuinteger instead of uinteger.
6070
addb4faf
PA
60712013-03-26 Pedro Alves <[email protected]>
6072
6073 * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version"
6074 command zuinteger instead of uinteger.
6075
b75bf488
PA
60762013-03-26 Pedro Alves <[email protected]>
6077
6078 * coff-pe-read.c (_initialize_coff_pe_read): Make the command
6079 zuinteger instead of uinteger.
6080
42c634cb
PA
60812013-03-26 Pedro Alves <[email protected]>
6082
6083 * record.c (record_insn_history_size_setshow_var)
6084 (record_call_history_size_setshow_var): New globals.
6085 (command_size_to_target_size): New function.
6086 (cmd_record_insn_history, cmd_record_call_history): Use
6087 command_size_to_target_size instead of cast.
6088 (validate_history_size, set_record_insn_history_size)
6089 (set_record_call_history_size): New functions.
6090 (_initialize_record): Install set_record_insn_history_size and
6091 set_record_call_history_size as "set" hooks of "set record
6092 instruction-history-size" and "set record
6093 function-call-history-size".
6094
1fb2e2b5
PA
60952013-03-26 Pedro Alves <[email protected]>
6096
6097 * top.c (gdb_rl_operate_and_get_next): Replace max_input_history
6098 use with history_max_entries use. Remove FIXME note.
6099
99c819ee
MM
61002013-03-26 Markus Metzger <[email protected]>
6101
6102 * record-btrace.c (record_btrace_close): Call
6103 record_btrace_auto_disable.
6104
9f9e404c
JB
61052013-03-25 Joel Brobecker <[email protected]>
6106
6107 * rs6000-nat.c (fixup_breakpoints): Delete declaration.
6108
ebcdfe33
DE
61092013-03-25 Doug Evans <[email protected]>
6110
6111 * contrib/cc-with-tweaks.sh: Check exit code of dwp.
6112
24955f63
TT
61132013-03-25 Tom Tromey <[email protected]>
6114
6115 PR symtab/11462:
6116 * c-exp.y (exp): Add new productions for destructors after '.' and
6117 '->'.
6118 (write_destructor_name): New function.
6119
fce632b6
TT
61202013-03-25 Tom Tromey <[email protected]>
6121
6122 PR c++/9197:
6123 * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use
6124 value_struct_elt, not lookup_struct_elt_type.
6125 * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
6126 STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type.
6127 * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment.
6128
a4341769
YQ
61292013-03-25 Yao Qi <[email protected]>
6130
6131 * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
6132 instead of '_mkdir'.
6133
b5981e5a
EZ
61342013-03-23 Eli Zaretskii <[email protected]>
6135
6136 * windows-nat.c (windows_get_absolute_argv0): New function.
6137 * windows-nat.h: Add its prototype.
6138
6139 * main.c (get_init_files): Use filename_ncmp instead of strncmp.
6140 Use IS_DIR_SEPARATOR instead of looking for a character inside
6141 SLASH_STRING. Include filenames.h.
6142 (captured_main) [__MINGW32__]: Make argv[0] absolute, so that
6143 relocate_gdb_directory works when passed gdb_program_name.
6144 Include windows-nat.h.
6145
598d3636
JK
61462013-03-22 Jan Kratochvil <[email protected]>
6147
6148 * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
6149 * remote.c (trace_error): Remove the special handling of '2'.
6150 (readchar) <SERIAL_EOF>
6151 (readchar) <SERIAL_ERROR>
6152 (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them.
6153 (remote_get_trace_status): Call throw_exception if EX is
6154 TARGET_CLOSE_ERROR.
6155 * utils.c (perror_with_name): Rename to ...
6156 (throw_perror_with_name): ... here. New parameter errcode, describe it
6157 in the function comment.
6158 (perror_with_name): New function wrapper.
6159 * utils.h (enum errors): New stub declaration.
6160 (throw_perror_with_name): New declaration.
6161
82b821e9
PA
61622013-03-22 Pedro Alves <[email protected]>
6163 Yao Qi <[email protected]>
6164 Mark Kettenis <[email protected]>
6165
6166 * cli/cli-setshow.c (do_set_command) <var_uinteger>:
6167 Don't let the user set the value to UINT_MAX directly.
6168 <var_integer>: Don't let the user set the value to INT_MAX
6169 directly.
6170
78a095c3
JK
61712013-03-22 Jan Kratochvil <[email protected]>
6172
6173 * remote.c (remote_unpush_target): New function.
6174 (remote_open_1): Remove two pop_target calls, update one comment, add
6175 comment to target_preopen call. Replace pop_target call by
6176 remote_unpush_target call.
6177 (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace
6178 pop_target calls by remote_unpush_target calls.
6179
3e74e146
PA
61802013-03-22 Pedro Alves <[email protected]>
6181
6182 * linux-nat.c (linux_child_follow_fork): Don't call
6183 linux_enable_event_reporting.
6184 (linux_handle_extended_wait): Don't call
6185 linux_enable_event_reporting.
6186
a2213dca
PA
61872013-03-22 Pedro Alves <[email protected]>
6188
6189 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro,
6190 use it to rewrite the trampoline buffers with type gdb_byte[], and
6191 undefine the macro. Remove char* cast.
6192
bd712aed
DE
61932013-03-21 Doug Evans <[email protected]>
6194
6195 New commands "mt set per-command {space,time,symtab} {on,off}".
6196 * NEWS: Add entry.
6197 * event-top.c: #include "maint.h".
6198 * main.c: #include "maint.h".
6199 * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h,
6200 timeval-utils.h, maint.h, cli/cli-setshow.h.
6201 (per_command_time, per_command_space): New static globals.
6202 (per_command_symtab): New static global.
6203 (per_command_setlist, per_command_showlist): New static globals.
6204 (struct cmd_stats): Move here from utils.c.
6205 (set_per_command_time): Renamed from set_display_time in utils.c
6206 and moved here. All callers updated.
6207 (set_per_command_space): Renamed from set_display_space in utils.c
6208 and moved here. All callers updated.
6209 (count_symtabs_and_blocks): New function.
6210 (report_command_stats): Moved here from utils.c. Add support for
6211 printing symtab stats. Only print data if enabled before command
6212 executed.
6213 (make_command_stats_cleanup): Ditto.
6214 (sert_per_command_cmd, show_per_command_cmd): New functions.
6215 (_initialize_maint_cmds): Add new commands
6216 mt set per-command {space,time,symtab} {on,off}.
6217 * maint.h: New file.
6218 * top.c: #include "maint.h".
6219 * utils.c (reset_prompt_for_continue_wait_time): New function.
6220 (get_prompt_for_continue_wait_time): New function.
6221 * utils.h (reset_prompt_for_continue_wait_time): Declare
6222 (get_prompt_for_continue_wait_time): Declare.
6223 (make_command_stats_cleanup): Moved to maint.h.
6224 (set_display_time, set_display_space): Moved to maint.h and renamed
6225 to set_per_command_time, set_per_command_space.
6226 * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from
6227 parse_binary_operation and made non-static. Don't call error,
6228 just return an error marker. All callers updated.
6229 * cli/cli-setshow.h (parse_cli_boolean_value): Declare.
6230
d76488d8
TT
62312013-03-21 Tom Tromey <[email protected]>
6232
6233 * symfile.c (alloc_section_addr_info): Update header. Don't set
6234 'num_sections' field.
6235 (build_section_addr_info_from_section_table): Set 'num_sections'.
6236 (build_section_addr_info_from_bfd): Likewise.
6237 (build_section_addr_info_from_objfile): Remove dead loop
6238 condition.
6239 (free_section_addr_info): Unconditionally call xfree.
6240 (relative_addr_info_to_section_offsets, addrs_section_sort)
6241 (addr_info_make_relative, syms_from_objfile_1): Remove dead loop
6242 condition.
6243 (syms_from_objfile_1): Remove dead 'if' condition. Check
6244 'num_sections'.
6245 (add_symbol_file_command): Set 'num_sections'.
6246 * symfile-mem.c (symbol_file_add_from_memory): Set
6247 'num_sections'.
6248 * somread.c (som_symfile_offsets): Remove dead loop condition.
6249 * machoread.c (macho_symfile_offsets): Remove dead 'if'.
6250 * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
6251
a72e5169 62522013-03-21 Tom Tromey <[email protected]>
92bc6a20
TT
6253
6254 * tracepoint.h (decode_agent_options): Add 'trace_string'
6255 argument.
6256 * tracepoint.c (decode_agent_options): Add 'trace_string'
6257 argument.
6258 (validate_actionline): Update.
6259 (collect_symbol): Add 'trace_string' argument.
6260 (struct add_local_symbols_data) <trace_string>: New field.
6261 (do_collect_symbol): Update.
6262 (add_local_symbols): Add 'trace_string' argument.
6263 (encode_actions_1): Update.
6264 (trace_dump_actions): Update.
6265 * dwarf2loc.c (access_memory): Update.
6266 * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
6267 * ax-general.c (new_agent_expr): Update.
6268 * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
6269 (gen_trace_for_return_address): Add argument.
6270 (trace_kludge, trace_string_kludge): Remove.
6271 * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
6272 (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
6273 (gen_trace_for_var): Add 'trace_string' argument.
6274 (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
6275 (gen_printf, agent_eval_command_one): Update.
6276
b2f83c08
TT
62772013-03-21 Tom Tromey <[email protected]>
6278
6279 PR exp/15109:
6280 * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
6281 Handle FILENAME token.
6282
9507860e
TT
62832013-03-21 Tom Tromey <[email protected]>
6284
6285 * c-exp.y (YYPRINT): Define.
6286 (c_print_token): New function.
6287
e403aa4b
TT
62882013-03-21 Tom Tromey <[email protected]>
6289
6290 * c-exp.y (%union) <sym, ivar, ivec>: Remove.
6291
af307d6a
YQ
62922013-03-21 Yao Qi <[email protected]>
6293
6294 * ctf.c: Include "gdb_stat.h".
6295 [USE_WIN32API]: New macro 'mkdir'.
6296 (ctf_start): Use permission bits macros if they are defined.
6297
fb81d016
KS
62982013-03-20 Keith Seitz <[email protected]>
6299
6300 * breakpoint.h (struct breakpoint): Add comment to
6301 extra_string indicating that this member is mallod'd.
6302 * breakpoint.c (base_breakpoint_dtor): Free extra_string.
6303
ef0026f0
PA
63042013-03-20 Pedro Alves <[email protected]>
6305
6306 PR gdb/15289
6307
6308 * cli/cli-setshow.c (do_set_command)
6309 <var_uinteger, var_zuinteger>: Use LONGEST for variable holding
6310 the result of parsing the command argument. Throw error if the
6311 value is greater than UINT_MAX. Print the invalid value with
6312 plongest.
6313 <var_integer, var_zinteger>: Use LONGEST for variable holding the
6314 result of parsing the command argument. Throw error if the value
6315 is greater than INT_MAX, not greater or equal. Also throw error
6316 if the value is less than INT_MIN. Print the invalid value with
6317 plongest.
6318 <var_zuinteger_unlimited>: Throw error if the value is greater
6319 than INT_MAX, not greater or equal.
6320 (do_show_command) <var_integer, var_zinteger,
6321 var_zuinteger_unlimited>: Use %d for printing int, not %u.
6322
24d6c2a0
TT
63232013-03-20 Tom Tromey <[email protected]>
6324
6325 * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
6326 if possible.
6327 * dwarf2read.c (read_func_scope): Remove old FIXME.
6328 * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
6329 not LOC_COMPUTED.
6330 * findvar.c (symbol_read_needs_frame, default_read_var_value):
6331 Unconditionally call via computed ops, if possible.
6332 * printcmd.c (address_info): Unconditionally call via computed ops,
6333 if possible.
6334 * stack.c (read_frame_arg): Unconditionally call via computed ops,
6335 if possible.
6336 * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
6337 * tracepoint.c (scope_info): Unconditionally call via computed ops,
6338 if possible.
6339
f1e6e072
TT
63402013-03-20 Jan Kratochvil <[email protected]>
6341 Tom Tromey <[email protected]>
6342
6343 PR symtab/8421:
6344 * coffread.c (coff_register_index): New global.
6345 (process_coff_symbol, coff_read_enum_type): Set
6346 SYMBOL_ACLASS_INDEX.
6347 (_initialize_coffread): Initialize new global.
6348 * dwarf2loc.c (locexpr_find_frame_base_location)
6349 (dwarf2_block_frame_base_locexpr_funcs)
6350 (loclist_find_frame_base_location)
6351 (dwarf2_block_frame_base_loclist_funcs): New.
6352 (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
6353 (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
6354 * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
6355 (dwarf2_block_frame_base_loclist_funcs): New.
6356 * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
6357 (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
6358 globals.
6359 (read_func_scope): Update.
6360 (fixup_go_packaging, mark_common_block_symbol_computed)
6361 (var_decode_location, new_symbol_full, dwarf2_const_value):
6362 Set SYMBOL_ACLASS_INDEX.
6363 (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument.
6364 (_initialize_dwarf2_read): Initialize new globals.
6365 * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
6366 * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
6367 * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
6368 globals.
6369 (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
6370 (_initialize_mdebugread): Initialize new globals.
6371 * psympriv.h (struct partial_symbol) <aclass>: Update comment.
6372 * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
6373 (stab_register_index, stab_regparm_index): New globals.
6374 (define_symbol, read_enum_type, common_block_end): Set
6375 SYMBOL_ACLASS_INDEX.
6376 (_initialize_stabsread): Initialize new globals.
6377 * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
6378 globals.
6379 (MAX_SYMBOL_IMPLS): New define.
6380 (register_symbol_computed_impl, register_symbol_block_impl)
6381 (register_symbol_register_impl)
6382 (initialize_ordinary_address_classes): New functions.
6383 (_initialize_symtab): Call initialize_ordinary_address_classes.
6384 * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
6385 (struct symbol_impl): New.
6386 (SYMBOL_ACLASS_BITS): New define.
6387 (struct symbol) <aclass, ops>: Remove fields.
6388 <aclass_index>: New field.
6389 (symbol_impls): Declare.
6390 (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
6391 (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
6392 (register_symbol_computed_impl, register_symbol_block_impl)
6393 (register_symbol_register_impl): Declare.
6394 (struct symbol_computed_ops): Add location_has_loclist.
6395 (struct symbol_block_ops): New.
6396 (SYMBOL_BLOCK_OPS): New.
6397 * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
6398
dbccfd4c
TT
63992013-03-20 Tom Tromey <[email protected]>
6400
6401 * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
6402 (print_partial_symbols, recursively_search_psymtabs): Use
6403 PSYMBOL_CLASS.
6404
e3f1ad4f
PM
64052013-03-20 Pierre Muller <[email protected]>
6406
6407 * contrib/ari/gdb_ari.sh (OP eol rule): Also check
6408 addtion, subtraction, multiplication and division binary operator.
6409
460014f5
JK
64102013-03-20 Jan Kratochvil <[email protected]>
6411
6412 Code cleanup.
6413 * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
6414 * bsd-kvm.c (bsd_kvm_close): Likewise.
6415 * bsd-uthread.c (bsd_uthread_close): Likewise.
6416 * corelow.c (core_close): Likewise.
6417 (core_close_cleanup): Remove parameter quitting from a caller.
6418 * event-top.c (async_disconnect): Likewise.
6419 * exec.c (exec_close_1): Remove parameter quitting.
6420 * go32-nat.c (go32_close): Likewise.
6421 * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove
6422 parameter quitting from a caller.
6423 * mips-linux-nat.c (super_close): Remove parameter quitting from the
6424 variable.
6425 (mips_linux_close): Remove parameter quitting. Remove parameter
6426 quitting from a caller.
6427 * monitor.c (monitor_close): Remove parameter quitting.
6428 * monitor.h (monitor_close): Likewise.
6429 * record-btrace.c (record_btrace_close): Likewise.
6430 * record-full.c (record_full_close): Likewise.
6431 * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
6432 it also from fprintf_unfiltered.
6433 * remote-mips.c (mips_close): Remove parameter quitting.
6434 (mips_detach): Remove parameter quitting from a caller.
6435 * remote-sim.c (gdbsim_close): Remove parameter quitting.
6436 (gdbsim_close): Remove duplicate function comment. Remove parameter
6437 quitting and remove it also from printf_filtered.
6438 * remote.c (remote_close): Remove parameter quitting.
6439 * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
6440 * target.c (update_current_target): Remove parameter int from to_close
6441 de_fault.
6442 (push_target, unpush_target, pop_target): Remove parameter quitting from
6443 a caller.
6444 (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
6445 Remove parameter quitting from a caller.
6446 (target_preopen): Remove parameter quitting from a caller.
6447 (target_close): Remove parameter quitting. Remove parameter quitting
6448 from a caller two times. Remove parameter quitting also from
6449 fprintf_unfiltered.
6450 * target.h (struct target_ops): Remove parameter quitting and as int
6451 from fields to_xclose and to_close.
6452 (extern struct target_ops current_target):
6453 (target_close, pop_all_targets): Remove parameter quitting. Update the
6454 comment.
6455 (pop_all_targets_above): Remove parameter quitting.
6456 * top.c (quit_target): Remove parameter quitting from a caller.
6457 * tracepoint.c (tfile_close): Remove parameter quitting.
6458 * windows-nat.c (windows_close): Remove parameter quitting.
6459
35a7120b
CV
64602013-03-20 Corinna Vinschen <[email protected]>
6461
6462 * windows-nat.c (handle_output_debug_string): Replace call
6463 to string_to_core_addr with call to strtoull.
6464
8249a5a9
YQ
64652013-03-20 Yao Qi <[email protected]>
6466
6467 * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
6468 and write it to CTF metadata.
6469
2c15ef43
CV
64702013-03-19 Corinna Vinschen <[email protected]>
6471
6472 * windows-nat.c (handle_output_debug_string): Change type of n to
6473 SIZE_T to avoid crash on 64 bit systems.
6474
1cdd3232
EZ
64752013-03-17 Eli Zaretskii <[email protected]>
6476
6477 * python/python-internal.h (HAVE_SNPRINTF)
6478 [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
6479 about redefinition of snprintf by pyerrors.h.
6480
3cb2ab1a
SE
64812013-03-15 Steve Ellcey <[email protected]>
6482
6483 * remote-sim.c (sim_command_completer): Make char arguments const.
6484
9ce98649
TT
64852013-03-15 Tom Tromey <[email protected]>
6486
6487 PR c++/15116:
6488 * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
6489
dccee2de
TT
64902013-03-14 Tom Tromey <[email protected]>
6491
6492 * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
6493 New fields.
6494 (get_file_crc): Move from symfile.c.
6495 (gdb_bfd_crc): New function.
6496 * gdb_bfd.h (gdb_bfd_crc): Declare.
6497 * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
6498 * symfile.c (get_file_crc): Move to gdb_bfd.c.
6499 (separate_debug_file_exists): Use gdb_bfd_crc.
6500
cc0ea93c
TT
65012013-03-14 Tom Tromey <[email protected]>
6502
6503 * symfile.c (get_debug_link_info): Remove.
6504 (find_separate_debug_file_by_debuglink): Use
6505 bfd_get_debug_link_info.
6506
08c23b0d
TT
65072013-03-14 Tom Tromey <[email protected]>
6508
6509 * symtab.c (error_in_psymtab_expansion): New function.
6510 (lookup_symbol_aux_quick)
6511 (basic_lookup_transparent_type_quick): Remove "last resort"
6512 code. Use error_in_psymtab_expansion.
6513
288e77a7
JK
65142013-03-14 Doug Evans <[email protected]>
6515 Jan Kratochvil <[email protected]>
6516
6517 * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
6518 any successful compare_filenames_for_search or FILENAME_CMP.
6519 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
6520 * symtab.c (iterate_over_some_symtabs): Likewise.
6521
8f1b8b82
JK
65222013-03-14 Jan Kratochvil <[email protected]>
6523
6524 * source.c (print_source_lines_base): Make a local copy of
6525 symtab_to_fullname.
6526
23eb71e4
JK
65272013-03-14 Hui Zhu <[email protected]>
6528 Jan Kratochvil <[email protected]>
6529
6530 * source.c (print_source_lines_base): Suppress "file" for TUI.
6531
bb869963
SDJ
65322013-03-14 Keith Seitz <[email protected]>
6533 Alan Matsuoka <[email protected]>
6534
6535 PR c++/15203
6536 PR c++/15210
6537 * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
6538 TYPE_CODE_METHOD.
6539 * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
6540 symbols.
6541
d6682f9e
YQ
65422013-03-14 Yao Qi <[email protected]>
6543
6544 * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
6545 status to tfile if trace is stopped by command 'tstop'.
6546
a22fa6e4
YQ
65472013-03-14 Yao Qi <[email protected]>
6548
6549 * tracepoint.c (tfile_write_status): Write trace notes and user
6550 name into tfile if they are not NULL.
6551
d0353e76
YQ
65522013-03-14 Hui Zhu <[email protected]>
6553 Yao Qi <[email protected]>
6554
6555 * Makefile.in (REMOTE_OBS): Add ctf.o.
6556 (SFILES): Add ctf.c.
6557 (HFILES_NO_SRCDIR): Add ctf.h.
6558 * ctf.c, ctf.h: New files.
6559 * tracepoint.c: Include 'ctf.h'.
6560 (collect_pseudocommand): Remove static.
6561 (trace_save_command): Parse option "-ctf".
6562 Produce different trace file writers per option.
6563 Adjust output message.
6564 (trace_save_tfile, trace_save_ctf): New.
6565 * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
6566 * mi/mi-main.c: Include 'ctf.h'.
6567 (mi_cmd_trace_save): Handle option '-ctf'. Call either
6568 trace_save_tfile or trace_save_ctf.
6569 * NEWS: Mention these changes.
6570
3f43bc09
YQ
65712013-03-14 Yao Qi <[email protected]>
6572
6573 * tracepoint.c (trace_file_writer_xfree): New.
6574 (struct tfile_writer_data): New.
6575 (tfile_dtor, tfile_can_target_save, tfile_start): New.
6576 (tfile_write_header, tfile_write_regblock_type): New.
6577 (tfile_write_status, tfile_write_uploaded_tsv): New.
6578 (tfile_write_uploaded_tp, tfile_write_definition_end): New.
6579 (tfile_write_raw_data, (tfile_end): New.
6580 (tfile_write_ops): New global variable.
6581 (TRACE_WRITE_R_BLOCK): New macro.
6582 (TRACE_WRITE_M_BLOCK_HEADER): New macro.
6583 (TRACE_WRITE_M_BLOCK_MEMORY): New macro.
6584 (TRACE_WRITE_V_BLOCK): New macro.
6585 (trace_save): Add extra one parameter WRITER. Make it static.
6586 Use WRITER to writer trace.
6587 (tfile_trace_file_writer_new): New.
6588 (trace_save_command): Caller update.
6589 (trace_save_tfile): Write trace data in TFILE format.
6590 * tracepoint.h (struct trace_frame_write_ops): New.
6591 (struct trace_file_write_ops): New.
6592 (struct trace_file_writer): New.
6593 (trace_save): Remove its declaration.
6594 (trace_save_tfile): Declare it.
6595 * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile
6596 instead of trace_save.
6597
58665b40
PA
65982013-03-13 Pedro Alves <[email protected]>
6599
6600 * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static.
6601
10217050
PA
66022013-03-13 Pedro Alves <[email protected]>
6603
6604 * dbxread.c (read_ofile_symtab, process_one_symbol): Remove
6605 commented out code.
6606 * demangle.c (current_demangling_style_string): Make it const.
6607 (set_demangling_command): Assert the demangling style is known.
6608 Remove all handling of unknown styles. Set
6609 'current_demangling_style_string' to an element of the
6610 demangling_style_names array.
6611 (set_demangling_style): Delete.
6612 (_initialize_demangler): Set current_demangling_style_string to the
6613 element of the demangling_style_names array that corresponds to
6614 the default demangling style. Remove FIXME note. Don't call
6615 set_demangling_style.
6616 * gdb-demangle.h (set_demangling_style): Remove declaration.
6617
6f937416
PA
66182013-03-13 Pedro Alves <[email protected]>
6619
6620 * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make
6621 fields const.
6622 (ada_make_symbol_completion_list): Make "text0" parameter const.
6623 * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const.
6624 * breakpoint.c (condition_completer): Make "text" and "word"
6625 parameters const. Adjust.
6626 (check_tracepoint_command): Adjust to validate_actionline
6627 prototype change.
6628 (catch_syscall_completer): Make "text" and "word" parameters
6629 const.
6630 * cli/cli-cmds.c (show_user): Make "comname" local const.
6631 (valid_command_p): Make "command" parameter const.
6632 (alias_command): Make "alias_prefix" and "command_prefix" locals
6633 const.
6634 * cli/cli-decode.c (add_cmd): Make "name" parameter const.
6635 (add_alias_cmd): Make "name" and "oldname" parameters const.
6636 Adjust. No longer make copy of OLDNAME.
6637 (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd)
6638 (add_setshow_cmd_full, add_setshow_enum_cmd)
6639 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
6640 (add_setshow_filename_cmd, add_setshow_string_cmd)
6641 (add_setshow_string_noescape_cmd)
6642 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
6643 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
6644 (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd)
6645 (delete_cmd, add_info, add_info_alias, add_com, add_com_alias):
6646 Make "name" parameter const.
6647 (help_cmd): Rename "command" parameter to "arg". New const local
6648 "command".
6649 (find_cmd): Make "command" parameter const.
6650 (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to
6651 deprecated_cmd_warning prototype change.
6652 (undef_cmd_error): Make "cmdtype" parameter const.
6653 (lookup_cmd): Make "line" parameter const.
6654 (deprecated_cmd_warning): Change type of "text" parameter to
6655 pointer to const char, from pointer to pointer to char. Adjust.
6656 (lookup_cmd_composition): Make "text" parameter const.
6657 (complete_on_cmdlist, complete_on_enum): Make "text" and "word"
6658 parameters const.
6659 * cli/cli-decode.h (struct cmd_list_element) <name>: Make field
6660 const.
6661 * cli/cli-script.c (validate_comname): Make "tem" local const.
6662 (define_command): New const local "tem_c". Use it in calls to
6663 lookup_cmd.
6664 (document_command): Make "tem" and "comfull" locals const.
6665 (show_user_1): Make "prefix" and "name" parameters const.
6666 * cli-script.h (show_user_1): Make "prefix" and "name" parameters
6667 const.
6668 * command.h (add_cmd, add_alias_cmd, add_prefix_cmd)
6669 (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1)
6670 (deprecated_cmd_warning, lookup_cmd_composition, add_com)
6671 (add_com_alias, add_info, add_info_alias, complete_on_cmdlist)
6672 (complete_on_enum, add_setshow_enum_cmd)
6673 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
6674 (add_setshow_filename_cmd, add_setshow_string_cmd)
6675 (add_setshow_string_noescape_cmd)
6676 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
6677 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
6678 (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
6679 Change prototypes, constifying strings.
6680 * completer.c (noop_completer, filename_completer): Make "text"
6681 and "prefix" parameters const.
6682 (location_completer, expression_completer)
6683 (complete_line_internal): Make "text" and "prefix" parameters
6684 const and adjust.
6685 (command_completer, signal_completer): Make "text" and "prefix"
6686 parameters const.
6687 * completer.h (noop_completer, filename_completer)
6688 (expression_completer, location_completer, command_completer)
6689 (signal_completer): Change prototypes.
6690 * corefile.c (complete_set_gnutarget): Make "text" and "word"
6691 parameters const.
6692 * cp-abi.c (cp_abi_completer): Likewise.
6693 * expression.h (parse_expression_for_completion): Change
6694 prototype.
6695 * f-lang.c (f_make_symbol_completion_list): Make "text" and "word"
6696 parameters const.
6697 * infcmd.c (_initialize_infcmd): Make "cmd_name" local const.
6698 * infrun.c (handle_completer): Make "text" and "word" parameters
6699 const.
6700 * interps.c (interpreter_completer): Make "text" and "word"
6701 parameters const.
6702 * language.h (struct language_defn)
6703 <la_make_symbol_completion_list>: Make "text" and "word"
6704 parameters const.
6705 * parse.c (parse_exp_1): Move const hack to parse_exp_in_context.
6706 (parse_exp_in_context): Rename to ...
6707 (parse_exp_in_context_1): ... this.
6708 (parse_exp_in_context): Reimplement, with const hack from
6709 parse_exp_1.
6710 (parse_expression_for_completion): Make "string" parameter const.
6711 * printcmd.c (decode_format): Make "string_ptr" parameter pointer
6712 to pointer to const char. Adjust.
6713 (print_command_1): Make "exp" parameter const.
6714 (output_command): Rename to ...
6715 (output_command_const): ... this. Make "exp" parameter const.
6716 (output_command): Reimplement.
6717 (x_command): Adjust.
6718 (display_command): Rename "exp" parameter to "arg". New "exp"
6719 local, const version of "arg".
6720 * python/py-auto-load.c (gdbpy_initialize_auto_load): Make
6721 "cmd_name" local const.
6722 * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree
6723 call.
6724 (cmdpy_completer): Make "text" and "word" parameters const.
6725 (gdbpy_parse_command_name): Make "prefix_text2" local const.
6726 * python/py-param.c (add_setshow_generic): Make "tmp_name" local
6727 const.
6728 * remote.c (_initialize_remote): Make "cmd_name" local const.
6729 * symtab.c (language_search_unquoted_string): Make "text" and "p"
6730 parameters const. Adjust.
6731 (completion_list_add_fields): Make "sym_text", "text" and "word"
6732 parameters const.
6733 (struct add_name_data) <sym_text, text, word>: Make fields const.
6734 (default_make_symbol_completion_list_break_on): Make "text" and
6735 "word" parameters const. Adjust locals.
6736 (default_make_symbol_completion_list)
6737 (make_symbol_completion_list, make_symbol_completion_type)
6738 (make_symbol_completion_list_fn): Make "text" and "word"
6739 parameters const.
6740 (make_file_symbol_completion_list): Make "text", "word" and
6741 "srcfile" parameters const. Adjust locals.
6742 (add_filename_to_list): Make "text" and "word" parameters const.
6743 (struct add_partial_filename_data) <text, word>: Make fields
6744 const.
6745 (make_source_files_completion_list): Make "text" and "word"
6746 parameters const.
6747 * symtab.h (default_make_symbol_completion_list_break_on)
6748 (default_make_symbol_completion_list, make_symbol_completion_list)
6749 (make_symbol_completion_type enum type_code)
6750 (make_symbol_completion_list_fn make_file_symbol_completion_list)
6751 (make_source_files_completion_list): Change prototype.
6752 * top.c (execute_command): Adjust to pass pointer to pointer to
6753 const char to lookup_cmd, and to deprecated_cmd_warning prototype
6754 change.
6755 (set_verbose): Make "cmdname" local const.
6756 * tracepoint.c (decode_agent_options): Make "exp" parameter const,
6757 and adjust.
6758 (validate_actionline): Make "line" parameter a pointer to const
6759 char, and adjust.
6760 (encode_actions_1): Make "action_exp" local const, and adjust.
6761 (encode_actions): Adjust.
6762 (replace_comma): Delete.
6763 (trace_dump_actions): Make "action_exp" and "next_comma" locals
6764 const, and adjust. Don't frob the action string while splitting
6765 it at commas. Instead, make a copy of each split substring in
6766 turn.
6767 (trace_dump_command): Adjust to validate_actionline prototype
6768 change.
6769 * tracepoint.h (decode_agent_options, decode_agent_options)
6770 (encode_actions, validate_actionline): Change prototypes.
6771 * valprint.h (output_command): Delete declaration.
6772 (output_command_const): Declare.
6773 * value.c (function_destroyer): Cast const away in xfree call.
6774
a0bcdaa7
PA
67752013-03-13 Pedro Alves <[email protected]>
6776
6777 * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL
6778 rather than casting 'const char * const *' to 'const char **'.
6779 * ada-lex.l (processInt): Make "trailer" local const. Remove
6780 'const char **' cast.
6781 * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *'
6782 locals, and use those as strtol output pointer, instead than doing
6783 invalid casts to from 'const char **' to 'char **'.
6784 (_initialize_demangle): Remove cast.
6785 * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *'
6786 locals, and use those as strtol output pointer, instead than doing
6787 invalid casts to from 'const char **' to 'char **'.
6788 * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**'
6789 casts.
6790 * stap-probe.c (stap_parse_register_operand)
6791 (stap_parse_single_operand): Likewise.
6792
8ddb1965
YQ
67932013-03-13 Yao Qi <[email protected]>
6794
6795 * tracepoint.c (tfile_get_trace_state_variable_value): Look for
6796 the last matched 'V' blcok in trace frame.
6797
2d450646
JB
67982013-03-12 Joel Brobecker <[email protected]>
6799
6800 * NEWS: Create a new section for the next release branch.
6801 Rename the section of the current branch, now that it has
6802 been cut.
6803
b4b79973 68042013-03-12 Joel Brobecker <[email protected]>
6805
6806 GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
6807 * version.in: Bump version to 7.6.50.20130312-cvs.
6808
ee047554
KS
68092013-03-12 Keith Seitz <[email protected]>
6810
6811 * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
6812 * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
6813 Remove temporary copy of input string.
6814 (mi_execute_command_wrapper): Make "cmd" const.
6815 * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
6816 * mi/mi-parse.c (mi_parse_argv): Make "args" const.
6817 Use const strings.
6818 (mi_parse): Make "cmd" const.
6819 Use const strings.
6820 * mi/mi-parse.h (mi_parse): Make "cmd" const.
6821
bbc13ae3
KS
68222013-03-12 Keith Seitz <[email protected]>
6823
6824 * ada-lang.c (ada_read_renaming_var_value): Pass const
6825 pointer to expression string to parse_exp_1.
6826 (create_excep_cond_exprs): Likewise.
6827 * ax-gdb.c (agent_eval_command_one): Likewise.
6828 (maint_agent_printf_command): Likewise.
6829 Constify much of the string handling/parsing.
6830 * breakpoint.c (set_breakpoint_condition): Pass const
6831 pointer to expression string to parse_exp_1.
6832 (update_watchpoint): Likewise.
6833 (parse_cmd_to_aexpr): Constify string handling.
6834 Pass const pointer to parse_exp_1.
6835 (init_breakpoint_sal): Pass const pointer to parse_exp_1.
6836 (find_condition_and_thread): Likewise.
6837 Make TOK const.
6838 (watch_command_1): Make "arg" const.
6839 Constify string handling.
6840 Copy the expression string instead of changing the input
6841 string.
6842 (update_breakpoint_location): Pass const pointer to
6843 parse_exp_1.
6844 * eval.c (parse_and_eval_address): Make "exp" const.
6845 (parse_to_comma_and_eval): Make "expp" const.
6846 (parse_and_eval): Make "exp" const.
6847 * expression.h (parse_expression): Make argument const.
6848 (parse_exp_1): Make first argument const.
6849 * findcmd.c (parse_find_args): Treat "args" as const.
6850 * linespec.c (parse_linespec): Pass const pointer to
6851 linespec_expression_to_pc.
6852 (linespec_expression_to_pc): Make "exp_ptr" const.
6853 * parse.c (parse_exp_1): Make "stringptr" const.
6854 Make a copy of the expression to pass to parse_exp_in_context until
6855 this whole interface can be constified.
6856 (parse_expression): Make "string" const.
6857 * printcmd.c (ui_printf): Treat "arg" as const.
6858 Handle const strings.
6859 * tracepoint.c (validate_actionline): Pass const pointer to
6860 all calls to parse_exp_1.
6861 (encode_actions_1): Likewise.
6862 * value.h (parse_to_comma_and_eval): Make argument const.
6863 (parse_and_eval_address): Likewise.
6864 (parse_and_eval): Likewise.
6865 * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
6866 (varobj_set_value): Likewise.
6867 * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
6868 constify string handling.
6869 Pass const pointers to parse_and_eval_address and
6870 parse_to_comman_and_eval.
6871 * cli/cli-utils.c (skip_to_space): Rename to ...
6872 (skip_to_space_const): ... this. Handle const strings.
6873 * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
6874 skip_to_space_const.
6875 (skip_to_space_const): Declare.
6876 * common/format.c (parse_format_string): Make "arg" const.
6877 Handle const strings.
6878 * common/format.h (parse_format_string): Make "arg" const.
6879 * gdbserver/ax.c (ax_printf): Make "format" const.
6880 * python/python.c (gdbpy_parse_and_eval): Do not make a copy
6881 of the expression string.
6882
f3cec7e6
HZ
68832013-03-12 Hui Zhu <[email protected]>
6884
6885 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
6886
9df7235c
HZ
68872013-03-12 Yao Qi <[email protected]>
6888 Hui Zhu <[email protected]>
6889
6890 * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
6891 (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
6892 DW_OP_deref_size.
6893
82d049ab
PH
68942013-03-12 Paul Hilfinger <[email protected]>
6895
5f8e0b8f
MF
6896 * ada-lex.l (rules): Only recognize 'thread' as a
6897 delimiter when followed by numerals, as for c-exp.y.
6898 Use new rewind_to_char function to rewind the input for
6899 expression-delimiting tokens.
6900 (rewind_to_char): New function.
82d049ab 6901
8c1fb155
JK
69022013-03-11 Pedro Alves <[email protected]>
6903 Jan Kratochvil <[email protected]>
6904
6905 * configure: Regenerate.
6906 * configure.ac (check dynamic export flag): Link python test with
6907 $PYTHON_LIBS.
6908
cc81e1c6
DE
69092013-03-11 Doug Evans <[email protected]>
6910 Keith Seitz <[email protected]>
6911
6912 * linespec.c (find_linespec_symbols): Call find_function_symbols
6913 first, and then call lookup_prefix_sym/find_method.
6914
39086a0e
PA
69152013-03-11 Pedro Alves <[email protected]>
6916
6917 * charset.c (convert_between_encodings): Don't cast between
6918 different pointer to pointer types. Instead, make the 'inp' local
6919 be of the type iconv expects.
6920 (wchar_iterate): Don't cast between different pointer to pointer
6921 types. Instead, use new pointer local of the type iconv expects.
6922 * target.c (target_read_stralloc, target_fileio_read_stralloc):
6923 Add new local of type char pointer, and use it to get a
6924 char/string view of the byte buffer, instead of casting between
6925 pointer to pointer types.
6926
90585175
HAQ
69272013-03-11 Hafiz Abid Qadeer <[email protected]>
6928
6929 * remote.c (remote_set_trace_buffer_size): Move != operator
6930 to the start of next line to fix an ARI warning.
6931
59ea5688
MM
69322013-03-11 Markus Metzger <[email protected]>
6933
6934 * NEWS: Add record changes.
6935
946287b7
MM
69362013-03-11 Markus Metzger <[email protected]>
6937
6938 * record-btrace.c (btrace_insn_history): Omit the pc prefix in
6939 the instruction history disassembly.
6940 * disasm.c (dump_insns): Omit the pc prefix, if requested.
6941 * disasm.h (DISASSEMBLY_OMIT_PC): New.
6942
afedecd3
MM
69432013-03-11 Markus Metzger <[email protected]>
6944
6945 * Makefile.in (SFILES): Add record-btrace.c
6946 (COMMON_OBS): Add record-btrace.o
6947 * record-btrace.c: New.
6948 * objfiles.c: Include btrace.h.
6949 (free_objfile): call btrace_free_objfile.
6950
15984c13
MM
69512013-03-11 Markus Metzger <[email protected]>
6952
6953 * target.c (target_call_history, target_call_history_from,
6954 target_call_history_range): New.
6955 * target.h (target_ops) <to_call_history, to_call_history_from,
6956 to_call_history_range>: New fields.
6957 (target_call_history, target_call_history_from,
6958 target_call_history_range): New declaration.
6959 * record.c (get_call_history_modifiers, cmd_record_call_history,
6960 record_call_history_size): New.
6961 (_initialize_record): Add the "record function-call-history" command.
6962 Add "set/show record function-call-history-size" commands.
6963 * record.h (record_print_flag): New.
6964
67c86d06
MM
69652013-03-11 Markus Metzger <[email protected]>
6966
6967 * target.h (target_ops) <to_insn_history, to_insn_history_from,
6968 to_insn_history_range>: New fields.
6969 (target_insn_history): New.
6970 (target_insn_history_from): New.
6971 (target_insn_history_range): New.
6972 * target.c (target_insn_history): New.
6973 (target_insn_history_from): New.
6974 (target_insn_history_range): New.
6975 * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
6976 (record_insn_history_size): New.
6977 (get_insn_number): New.
6978 (get_context_size): New.
6979 (no_chunk): New.
6980 (get_insn_history_modifiers): New.
6981 (cmd_record_insn_history): New.
6982 (_initialize_record): Add "set/show record instruction-history-size"
6983 command. Add "record instruction-history" command.
6984
7c1687a9
MM
69852013-03-11 Markus Metzger <[email protected]>
6986
6987 * record.h (record_disconnect): New.
6988 (record_detach): New.
6989 (record_mourn_inferior): New.
6990 (record_kill): New.
6991 * record-full.c (record_disconnect, record_detach,
6992 record_mourn_inferior, record_kill): Move to...
6993 * record.c: ...here.
6994 (DEBUG): New.
6995 (record_stop): New.
6996 (record_unpush): New.
6997 (cmd_record_stop): Call record_stop. Replace unpush_target
6998 call with record_unpush call.
6999 (record_disconnect, record_detach): Assert that the target
7000 is of record stratum. Call record_unpush, record_stop, and
7001 DEBUG.
7002 (record_mourn_inferior, record_kill): Assert that the target
7003 is of record stratum. Call record_unpush and DEBUG.
7004
25ea693b
MM
70052013-03-11 Markus Metzger <[email protected]>
7006
7007 * record-full.h, record-full.c (record_memory_query): Rename
7008 to ...
7009 (record_full_memory_query): ...this. Update all users.
7010 (record_arch_list_add_reg): Rename to ...
7011 (record_full_arch_list_add_reg): ...this. Update all users.
7012 (record_arch_list_add_mem): Rename to ...
7013 (record_full_arch_list_add_mem): ...this. Update all users.
7014 (record_arch_list_add_end): Rename to ...
7015 (record_full_arch_list_add_end): ...this. Update all users.
7016 (record_gdb_operation_disable_set): Rename to ...
7017 (record_full_gdb_operation_disable_set): ...this.
7018 Update all users.
7019
88d1aa9d
MM
70202013-03-11 Markus Metzger <[email protected]>
7021
7022 * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
7023 (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
7024 (RECORD_IS_REPLAY): Renamed to ...
7025 (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
7026 (RECORD_FILE_MAGIC): Renamed to ...
7027 (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
7028 (record_mem_entry): Renamed to ...
7029 (record_full_mem_entry): ... this. Updated all users.
7030 (record_reg_entry): Renamed to ...
7031 (record_full_reg_entry): ... this. Updated all users.
7032 (record_end_entry): Renamed to ...
7033 (record_full_end_entry): ... this. Updated all users.
7034 (record_type) <record_end, record_reg, record_mem>: Renamed
7035 to ...
7036 (record_full_type) <record_full_end, record_full_reg,
7037 record_full_mem>: ... this. Updated all users.
7038 (record_entry): Renamed to ...
7039 (record_full_entry): ... this. Updated all users.
7040 (record_core_buf_entry): Renamed to ...
7041 (record_full_core_buf_entry): ... this. Updated all users.
7042 (record_core_regbuf): Renamed to ...
7043 (record_full_core_regbuf): ... this. Updated all users.
7044 (record_core_start): Renamed to ...
7045 (record_full_core_start): ... this. Updated all users.
7046 (record_core_end): Renamed to ...
7047 (record_full_core_end): ... this. Updated all users.
7048 (record_core_buf_list): Renamed to ...
7049 (record_full_core_buf_list): ... this. Updated all users.
7050 (record_first): Renamed to ...
7051 (record_full_first): ... this. Updated all users.
7052 (record_list): Renamed to ...
7053 (record_full_list): ... this. Updated all users.
7054 (record_arch_list_head): Renamed to ...
7055 (record_full_arch_list_head): ... this. Updated all users.
7056 (record_arch_list_tail): Renamed to ...
7057 (record_full_arch_list_tail): ... this. Updated all users.
7058 (record_stop_at_limit): Renamed to ...
7059 (record_full_stop_at_limit): ... this. Updated all users.
7060 (record_insn_max_num): Renamed to ...
7061 (record_full_insn_max_num): ... this. Updated all users.
7062 (record_insn_num): Renamed to ...
7063 (record_full_insn_num): ... this. Updated all users.
7064 (record_insn_count): Renamed to ...
7065 (record_full_insn_count): ... this. Updated all users.
7066 (record_ops): Renamed to ...
7067 (record_full_ops): ... this. Updated all users.
7068 (record_core_ops): Renamed to ...
7069 (record_full_core_ops): ... this. Updated all users.
7070 (set_record_cmdlist): Renamed to ...
7071 (set_record_full_cmdlist): ... this. Updated all users.
7072 (show_record_cmdlist): Renamed to ...
7073 (show_record_full_cmdlist): ... this. Updated all users.
7074 (record_cmdlist): Renamed to ...
7075 (record_full_cmdlist): ... this. Updated all users.
7076 (record_beneath_to_resume_ops): Renamed to ...
7077 (record_full_beneath_to_resume_ops): ... this. Updated all users.
7078 (record_beneath_to_resume): Renamed to ...
7079 (record_full_beneath_to_resume): ... this. Updated all users.
7080 (record_beneath_to_wait_ops): Renamed to ...
7081 (record_full_beneath_to_wait_ops): ... this. Updated all users.
7082 (record_beneath_to_wait): Renamed to ...
7083 (record_full_beneath_to_wait): ... this. Updated all users.
7084 (record_beneath_to_store_registers_ops): Renamed to ...
7085 (record_full_beneath_to_store_registers_ops): ... this.
7086 Updated all users.
7087 (record_beneath_to_store_registers): Renamed to ...
7088 (record_full_beneath_to_store_registers): ... this.
7089 Updated all users.
7090 (record_beneath_to_xfer_partial_ops): Renamed to ...
7091 (record_full_beneath_to_xfer_partial_ops): ... this.
7092 Updated all users.
7093 (record_beneath_to_xfer_partial): Renamed to ...
7094 (record_full_beneath_to_xfer_partial): ... this.
7095 Updated all users.
7096 (record_beneath_to_insert_breakpoint): Renamed to ...
7097 (record_full_beneath_to_insert_breakpoint): ... this.
7098 Updated all users.
7099 (record_beneath_to_stopped_by_watchpoint): Renamed to ...
7100 (record_full_beneath_to_stopped_by_watchpoint): ... this.
7101 Updated all users.
7102 (record_beneath_to_stopped_data_address): Renamed to ...
7103 (record_full_beneath_to_stopped_data_address): ... this.
7104 Updated all users.
7105 (record_beneath_to_async): Renamed to ...
7106 (record_full_beneath_to_async): ... this. Updated all users.
7107 (record_goto_insn): Renamed to ...
7108 (record_full_goto_insn): ... this. Updated all users.
7109 (record_save): Renamed to ...
7110 (record_full_save): ... this. Updated all users.
7111 (record_reg_alloc): Renamed to ...
7112 (record_full_reg_alloc): ... this. Updated all users.
7113 (record_reg_release): Renamed to ...
7114 (record_full_reg_release): ... this. Updated all users.
7115 (record_mem_alloc): Renamed to ...
7116 (record_full_mem_alloc): ... this. Updated all users.
7117 (record_mem_release): Renamed to ...
7118 (record_full_mem_release): ... this. Updated all users.
7119 (record_end_alloc): Renamed to ...
7120 (record_full_end_alloc): ... this. Updated all users.
7121 (record_end_release): Renamed to ...
7122 (record_full_end_release): ... this. Updated all users.
7123 (record_entry_release): Renamed to ...
7124 (record_full_entry_release): ... this. Updated all users.
7125 (record_list_release): Renamed to ...
7126 (record_full_list_release): ... this. Updated all users.
7127 (record_list_release_following): Renamed to ...
7128 (record_full_list_release_following): ... this.
7129 Updated all users.
7130 (record_list_release_first): Renamed to ...
7131 (record_full_list_release_first): ... this. Updated all users.
7132 (record_arch_list_add): Renamed to ...
7133 (record_full_arch_list_add): ... this. Updated all users.
7134 (record_get_loc): Renamed to ...
7135 (record_full_get_loc): ... this. Updated all users.
7136 (record_check_insn_num): Renamed to ...
7137 (record_full_check_insn_num): ... this. Updated all users.
7138 (record_arch_list_cleanups): Renamed to ...
7139 (record_full_arch_list_cleanups): ... this. Updated all users.
7140 (record_message): Renamed to ...
7141 (record_full_message): ... this. Updated all users.
7142 (record_message_wrapper): Renamed to ...
7143 (record_full_message_wrapper): ... this. Updated all users.
7144 (record_message_wrapper_safe): Renamed to ...
7145 (record_full_message_wrapper_safe): ... this. Updated all users.
7146 (record_gdb_operation_disable): Renamed to ...
7147 (record_full_gdb_operation_disable): ... this. Updated all users.
7148 (record_hw_watchpoint): Renamed to ...
7149 (record_full_hw_watchpoint): ... this. Updated all users.
7150 (record_exec_insn): Renamed to ...
7151 (record_full_exec_insn): ... this. Updated all users.
7152 (record_restore): Renamed to ...
7153 (record_full_restore): ... this. Updated all users.
7154 (record_async_inferior_event_token): Renamed to ...
7155 (record_full_async_inferior_event_token): ... this.
7156 Updated all users.
7157 (record_async_inferior_event_handler): Renamed to ...
7158 (record_full_async_inferior_event_handler): ... this.
7159 Updated all users.
7160 (record_core_open_1): Renamed to ...
7161 (record_full_core_open_1): ... this. Updated all users.
7162 (record_open_1): Renamed to ...
7163 (record_full_open_1): ... this. Updated all users.
7164 (record_open): Renamed to ...
7165 (record_full_open): ... this. Updated all users.
7166 (record_close): Renamed to ...
7167 (record_full_close): ... this. Updated all users.
7168 (record_resume_step): Renamed to ...
7169 (record_full_resume_step): ... this. Updated all users.
7170 (record_resumed): Renamed to ...
7171 (record_full_resumed): ... this. Updated all users.
7172 (record_execution_dir): Renamed to ...
7173 (record_full_execution_dir): ... this. Updated all users.
7174 (record_resume): Renamed to ...
7175 (record_full_resume): ... this. Updated all users.
7176 (record_get_sig): Renamed to ...
7177 (record_full_get_sig): ... this. Updated all users.
7178 (record_sig_handler): Renamed to ...
7179 (record_full_sig_handler): ... this. Updated all users.
7180 (record_wait_cleanups): Renamed to ...
7181 (record_full_wait_cleanups): ... this. Updated all users.
7182 (record_wait_1): Renamed to ...
7183 (record_full_wait_1): ... this. Updated all users.
7184 (record_wait): Renamed to ...
7185 (record_full_wait): ... this. Updated all users.
7186 (record_stopped_by_watchpoint): Renamed to ...
7187 (record_full_stopped_by_watchpoint): ... this. Updated all users.
7188 (record_disconnect): Renamed to ...
7189 (record_full_disconnect): ... this. Updated all users.
7190 (record_detach): Renamed to ...
7191 (record_full_detach): ... this. Updated all users.
7192 (record_mourn_inferior): Renamed to ...
7193 (record_full_mourn_inferior): ... this. Updated all users.
7194 (record_kill): Renamed to ...
7195 (record_full_kill): ... this. Updated all users.
7196 (record_stopped_data_address): Renamed to ...
7197 (record_full_stopped_data_address): ... this. Updated all users.
7198 (record_registers_change): Renamed to ...
7199 (record_full_registers_change): ... this. Updated all users.
7200 (record_store_registers): Renamed to ...
7201 (record_full_store_registers): ... this. Updated all users.
7202 (record_xfer_partial): Renamed to ...
7203 (record_full_xfer_partial): ... this. Updated all users.
7204 (record_breakpoint): Renamed to ...
7205 (record_full_breakpoint): ... this. Updated all users.
7206 (record_breakpoint_p): Renamed to ...
7207 (record_full_breakpoint_p): ... this. Updated all users.
7208 (record_breakpoints): Renamed to ...
7209 (record_full_breakpoints): ... this. Updated all users.
7210 (record_sync_record_breakpoints): Renamed to ...
7211 (record_full_sync_record_breakpoints): ... this.
7212 Updated all users.
7213 (record_init_record_breakpoints): Renamed to ...
7214 (record_full_init_record_breakpoints): ... this.
7215 Updated all users.
7216 (record_insert_breakpoint): Renamed to ...
7217 (record_full_insert_breakpoint): ... this. Updated all users.
7218 (record_remove_breakpoint): Renamed to ...
7219 (record_full_remove_breakpoint): ... this. Updated all users.
7220 (record_can_execute_reverse): Renamed to ...
7221 (record_full_can_execute_reverse): ... this. Updated all users.
7222 (record_get_bookmark): Renamed to ...
7223 (record_full_get_bookmark): ... this. Updated all users.
7224 (record_goto_bookmark): Renamed to ...
7225 (record_full_goto_bookmark): ... this. Updated all users.
7226 (record_async): Renamed to ...
7227 (record_full_async): ... this. Updated all users.
7228 (record_can_async_p): Renamed to ...
7229 (record_full_can_async_p): ... this. Updated all users.
7230 (record_is_async_p): Renamed to ...
7231 (record_full_is_async_p): ... this. Updated all users.
7232 (record_execution_direction): Renamed to ...
7233 (record_full_execution_direction): ... this. Updated all users.
7234 (record_info): Renamed to ...
7235 (record_full_info): ... this. Updated all users.
7236 (record_delete): Renamed to ...
7237 (record_full_delete): ... this. Updated all users.
7238 (record_is_replaying): Renamed to ...
7239 (record_full_is_replaying): ... this. Updated all users.
7240 (record_goto_entry): Renamed to ...
7241 (record_full_goto_entry): ... this. Updated all users.
7242 (record_goto_begin): Renamed to ...
7243 (record_full_goto_begin): ... this. Updated all users.
7244 (record_goto_end): Renamed to ...
7245 (record_full_goto_end): ... this. Updated all users.
7246 (record_goto): Renamed to ...
7247 (record_full_goto): ... this. Updated all users.
7248 (init_record_ops): Renamed to ...
7249 (init_record_full_ops): ... this. Updated all users.
7250 (record_core_resume): Renamed to ...
7251 (record_full_core_resume): ... this. Updated all users.
7252 (record_core_kill): Renamed to ...
7253 (record_full_core_kill): ... this. Updated all users.
7254 (record_core_fetch_registers): Renamed to ...
7255 (record_full_core_fetch_registers): ... this. Updated all users.
7256 (record_core_prepare_to_store): Renamed to ...
7257 (record_full_core_prepare_to_store): ... this. Updated all users.
7258 (record_core_store_registers): Renamed to ...
7259 (record_full_core_store_registers): ... this. Updated all users.
7260 (record_core_xfer_partial): Renamed to ...
7261 (record_full_core_xfer_partial): ... this. Updated all users.
7262 (record_core_insert_breakpoint): Renamed to ...
7263 (record_full_core_insert_breakpoint): ... this. Updated all users.
7264 (record_core_remove_breakpoint): Renamed to ...
7265 (record_full_core_remove_breakpoint): ... this. Updated all users.
7266 (record_core_has_execution): Renamed to ...
7267 (record_full_core_has_execution): ... this. Updated all users.
7268 (init_record_core_ops): Renamed to ...
7269 (init_record_full_core_ops): ... this. Updated all users.
7270 (cmd_record_restore): Renamed to ...
7271 (cmd_record_full_restore): ... this. Updated all users.
7272 (record_save_cleanups): Renamed to ...
7273 (record_full_save_cleanups): ... this. Updated all users.
7274 (cmd_record_start): Renamed to ...
7275 (cmd_record_full_start): ... this. Updated all users.
7276 (set_record_insn_max_num): Renamed to ...
7277 (set_record_full_insn_max_num): ... this. Updated all users.
7278 (set_record_command): Renamed to ...
7279 (set_record_full_command): ... this. Updated all users.
7280 (show_record_command): Renamed to ...
7281 (show_record_full_command): ... this. Updated all users.
7282 (_initialize_record): Renamed to ...
7283 (_initialize_record_full): ... this. Updated all users.
7284
d02ed0bb
MM
72852013-03-11 Markus Metzger <[email protected]>
7286
7287 * record.h: Split into this and ...
7288 * record-full.h: ... this.
7289 * record.c: Split into this and ...
7290 * record-full.c: ... this.
7291 * target.h (target_ops): Add new fields to_info_record,
7292 to_save_record, to_delete_record, to_record_is_replaying,
7293 to_goto_record_begin, to_goto_record_end, to_goto_record.
7294 (target_info_record): New.
7295 (target_save_record): New.
7296 (target_supports_delete_record): New.
7297 (target_delete_record): New.
7298 (target_record_is_replaying): New.
7299 (target_goto_record_begin): New.
7300 (target_goto_record_end): New.
7301 (target_goto_record): New.
7302 * target.c (target_info_record): New.
7303 (target_save_record): New.
7304 (target_supports_delete_record): New.
7305 (target_delete_record): New.
7306 (target_record_is_replaying): New.
7307 (target_goto_record_begin): New.
7308 (target_goto_record_end): New.
7309 (target_goto_record): New.
7310 * record.h: Declare struct cmd_list_element.
7311 (record_cmdlist): New declaration.
7312 (set_record_cmdlist): New declaration.
7313 (show_record_cmdlist): New declaration.
7314 (info_record_cmdlist): New declaration.
7315 (cmd_record_goto): New declaration.
7316 * record.c: Remove unnecessary includes.
7317 Include inferior.h.
7318 (cmd_record_goto): Remove declaration.
7319 (record_cmdlist): Now extern. Initialize.
7320 (set_record_cmdlist): Now extern. Initialize.
7321 (show_record_cmdlist): Now extern. Initialize.
7322 (info_record_cmdlist): Now extern. Initialize.
7323 (find_record_target): New.
7324 (require_record_target): New.
7325 (cmd_record_start): Update.
7326 (cmd_record_delete): Remove target-specific code.
7327 Call target_delete_record.
7328 (cmd_record_stop): Unpush any record target.
7329 (set_record_insn_max_num): Move to record-full.c
7330 (set_record_command): Add comment.
7331 (show_record_command): Add comment.
7332 (info_record_command): Update comment.
7333 Remove target-specific code.
7334 Call the record target's to_info_record.
7335 (cmd_record_start): New.
7336 (cmd_record_goto): Now extern.
7337 Remove target-specific code.
7338 Call target_goto_begin, target_goto_end, or target_goto.
7339 (_initialize_record): Move record target ops initialization to
7340 record-full.c.
7341 Change "record" command help text.
7342 Move "record restore", "record set", and "record show" commands to
7343 record-full.c.
7344 * Makefile.in (SFILES): Add record-full.c.
7345 (HFILES_NO_SRCDIR): Add record-full.h.
7346 (COMMON_OBS): Add record-full.o.
7347 * amd64-linux-tdep.c: Include record-full.h instead of record.h.
7348 * arm-tdep.c: Include record-full.h.
7349 * i386-linux-tdep.c: Include record-full.h instead of record.h.
7350 * i386-tdep.c: Include record-full.h.
7351 * infrun.c: Include record-full.h.
7352 * linux-record.c: Include record-full.h.
7353 * moxie-tdep.c: Include record-full.h.
7354 * record-full.c: Include record-full.h.
7355 Change module comment.
7356 (set_record_full_cmdlist): New.
7357 (show_record_full_cmdlist): New.
7358 (record_full_cmdlist): New.
7359 (record_goto_insn): New declaration.
7360 (record_save): New declaration.
7361 (record_check_insn_num): Change query string.
7362 (record_info): New.
7363 (record_delete): New.
7364 (record_is_replaying): New.
7365 (record_goto_entry): New.
7366 (record_goto_begin): New.
7367 (record_goto_end): New.
7368 (record_goto): New.
7369 (init_record_ops): Update.
7370 (init_record_core_ops): Update.
7371 (cmd_record_save): Rename to record_save. Remove target and arg checks.
7372 (cmd_record_start): New.
7373 (set_record_insn_max_num): Moved from record.c
7374 (set_record_full_command): New.
7375 (show_record_full_command): New.
7376 (_initialize_record_full): New.
7377
b48d48eb
MM
73782013-03-11 Markus Metzger <[email protected]>
7379
7380 * target.h (add_deprecated_target_alias): New.
7381 * target.c (add_deprecated_target_alias): New.
7382
a950d57c
MM
73832013-03-11 Markus Metzger <[email protected]>
7384
7385 * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
7386 and signal.h.
7387 (linux_supports_btrace): Add kernel and
7388 cpuid check.
7389 (kernel_supports_btrace): New function.
7390 (cpu_supports_btrace): New function.
7391 (intel_supports_btrace): New function.
7392
9accd112
MM
73932013-03-11 Markus Metzger <[email protected]>
7394
7395 * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
7396 * remote.c: Include btrace.h.
7397 (struct btrace_target_info): New struct.
7398 (remote_supports_btrace): New function.
7399 (send_Qbtrace): New function.
7400 (remote_enable_btrace): New function.
7401 (remote_disable_btrace): New function.
7402 (remote_teardown_btrace): New function.
7403 (remote_read_btrace): New function.
7404 (init_remote_ops): Add btrace ops.
7405 (enum <unnamed>): Add btrace packets.
7406 (struct protocol_feature remote_protocol_features[]): Add btrace packets.
7407 (_initialize_remote): Add packet configuration for branch tracing.
7408
c12a2917
MM
74092013-03-11 Markus Metzger <[email protected]>
7410
7411 * features/btrace.dtd: New file.
7412 * Makefile.in (XMLFILES): Add btrace.dtd.
7413 * btrace.h (parse_xml_btrace): New declaration.
7414 * btrace.c: Include xml-support.h.
7415 (parse_xml_btrace): New function.
7416 (parse_xml_btrace_block): New function.
7417 (block_attributes): New struct.
7418 (btrace_attributes): New struct.
7419 (btrace_children): New struct.
7420 (btrace_elements): New struct.
7421
3e3aea48
MM
74222013-03-11 Markus Metzger <[email protected]>
7423
7424 * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
7425 (amd64_linux_enable_btrace): New.
7426 (amd64_linux_disable_btrace): New.
7427 (amd64_linux_teardown_btrace): New.
7428 (_initialize_amd64_linux_nat): Initialize btrace ops.
7429 * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
7430 (i386_linux_enable_btrace): New.
7431 (i386_linux_disable_btrace): New.
7432 (i386_linux_teardown_btrace): New.
7433 (_initialize_i386_linux_nat): Initialize btrace ops.
7434 * config/i386/linux.mh: Add linux-btrace.o.
7435 * config/i386/linux64.mh: Add linux-btrace.o.
7436
7c97f91e
MM
74372013-03-11 Markus Metzger <[email protected]>
7438
7439 * common/linux_btrace.h: New file.
7440 * common/linux_btrace.c: New file.
7441 * Makefile.in (SFILES): Add btrace.c.
7442 (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
7443 (COMMON_OBS): Add btrace.o.
7444 (linux-btrace.o): New rule.
7445
1999790b 74462013-03-11 Markus Metzger <[email protected]>
02d27625
MM
7447
7448 * target.h: Include btrace.h.
7449 (struct target_ops) <to_supports_btrace, to_enable_btrace,
7450 to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
7451 * target.c (target_supports_btrace): New function.
7452 (target_enable_btrace): New function.
7453 (target_disable_btrace): New function.
7454 (target_teardown_btrace): New function.
7455 (target_read_btrace): New function.
7456 * btrace.h: New file.
7457 * btrace.c: New file.
7458 * Makefile.in: Add btrace.c.
7459 * gdbthread.h: Include btrace.h.
7460 (struct thread_info): Add btrace field.
7461 * thread.c: Include btrace.h.
7462 (clear_thread_inferior_resources): Call target_teardown_btrace.
7463 * common/btrace-common.h: New file.
7464
61a31a67
JK
74652013-03-10 Jan Kratochvil <[email protected]>
7466
7467 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
7468 for CHILD, ignore PTRACE_KILL errors, move the inner block variable
7469 kill_status to outer block.
7470
05c56a9d
JK
74712013-03-10 Jan Kratochvil <[email protected]>
7472
7473 Fix entry-values if the callee called a noreturn function.
7474 * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
7475 get_frame_address_in_block. Add new comment.
7476
9112db09
JK
74772013-03-10 Jan Kratochvil <[email protected]>
7478
7479 Fix entry-values in C++ across CUs.
7480 * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
7481 lookup_minimal_symbol. Add a comment.
7482 * dwarf2read.c
7483 (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
7484 DW_AT_linkage_name.
7485
9b67fcec
YQ
74862013-03-08 Yao Qi <[email protected]>
7487
7488 * tracepoint.c (_initialize_tracepoint): Indent the code.
7489
6221be90
PA
74902013-03-08 Pedro Alves <[email protected]>
7491
7492 * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
7493 (parse_find_args, find_command): Change type of pattern buffer
7494 locals to 'gdb_byte *'.
7495
be9a119c 74962013-03-08 Stan Shebs <[email protected]>
f6f899bf
HAQ
7497 Hafiz Abid Qadeer <[email protected]>
7498
7499 * NEWS: Mention set and show trace-buffer-size commands.
7500 Mention new packet.
7501 * target.h (struct target_ops): New method
7502 to_set_trace_buffer_size.
7503 (target_set_trace_buffer_size): New macro.
7504 * target.c (update_current_target): Set up new method.
7505 * tracepoint.c (trace_buffer_size): New global.
7506 (start_tracing): Send it to the target.
7507 (set_trace_buffer_size): New function.
7508 (_initialize_tracepoint): Add new setshow for trace-buffer-size.
7509 * remote.c (remote_set_trace_buffer_size): New function.
7510 (_initialize_remote): Use it.
7511 (QTBuffer:size) New remote command.
7512 (PACKET_QTBuffer_size): New enum.
7513 (remote_protocol_features): Add an entry for
7514 PACKET_QTBuffer_size.
7515
7da3ab79
TT
75162013-03-08 Tom Tromey <[email protected]>
7517
7518 * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
7519 variable.
7520
0c1f71e7
PA
75212013-03-07 Pedro Alves <[email protected]>
7522
7523 * target.c (target_read_stralloc, target_fileio_read_alloc):
7524 *Cast pointer to 'gdb_byte *' in target call.
7525
c8af03a2
PA
75262013-03-07 Pedro Alves <[email protected]>
7527
7528 * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
7529 call.
7530
529480d0
KS
75312013-03-07 Keith Seitz <[email protected]>
7532
7533 * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
7534 (trace_pass_command): Likewise.
7535 * cli/cli-cmds.c: Include cli/cli-utils.h.
7536 (source_command): Use skip-spaces.
7537 (disassemble_command): Likewise.
7538 * findcmd.c: Include cli/cli-utils.h.
7539 (parse_find_args): Use skip_spaces.
7540 * go32-nat.c: Include cli/cli-utils.h.
7541 (go32_sldt): Use skip_spaces.
7542 (go32_sgdt): Likewise.
7543 (go32_sidt): Likewise.
7544 (go32_pde): Likewise.
7545 (go32_pte): Likewise.
7546 (go32_pte_for_address): Likewise.
7547 * infcmd.c: Include cli/cli-utils.h.
7548 (registers_info): Use skip_spaces.
7549 * linux-tdep.c (read_mapping): Use skip_spaces_const.
7550 (linux_info_proc): Likewise.
7551 * linux-thread-db.c: Include cli/cli-utils.h.
7552 (info_auto_load_libthread_db): Use skip_spaces_const.
7553 * m32r-rom.c: Include cli/cli-utils.h.
7554 (m32r_upload_command): Use skip_spaces.
7555 * maint.c: Include cli/cli-utils.h.
7556 (maintenance_translate_address): Use skip_spaces.
7557 * mi/mi-parse.c: Include cli/cli-utils.h.
7558 (mi_parse_argv): Use skip_spaces.
7559 (mi_parse): Likewise.
7560 * minsyms.c: Include cli/cli-utils.h.
7561 (msymbol_hash_iw): Use skip_spaces_const.
7562 * objc-lang.c: Include cli/cli-utils.h.
7563 (parse_selector): Use skip_spaces.
7564 (parse_method): Likewise.
7565 * python/python.c: Include cli/cli-utils.h.
7566 (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
7567 (python_command)[HAVE_PYTHON]: Likewise.
7568 (python_interactive_command)[!HAVE_PYTHON]: Likewise.
7569 * remote-m32r-sdi.c: Include cli/cli-utils.h.
7570 (m32r_load): Use skip_spaces.
7571 * serial.c: Include cli/cli-utils.h.
7572 (serial_open): Use skip_spaces_const.
7573 * stack.c: Include cli/cli-utils.h.
7574 (parse_frame_specification_1): Use skip_spaces_const.
7575 * symfile.c: Include cli/cli-utils.h.
7576 (set_ext_lang_command): Use skip_spaces.
7577 * symtab.c: Include cli/cli-utils.h.
7578 (rbreak_command): Use skip_spaces.
7579 * thread.c (thread_name_command): Use skip_spaces.
7580 * tracepoint.c (validate_actionline): Use skip_spaces.
7581 (encode_actions_1): Likewise.
7582 (trace_find_range_command): Likewise.
7583 (trace_find_outside_command): Likewise.
7584 (trace_dump_actions): Likewise.
7585
ac91cd70
PA
75862013-03-07 Pedro Alves <[email protected]>
7587
7588 * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
7589 * expprint.c (print_subexp_standard): Likewise.
7590 * utils.c (host_char_to_target): Likewise.
7591 * valprint.c (generic_emit_char, generic_printstr): Likewise.
7592 * varobj.c (value_get_print_value): Change type of local to char*.
7593 Cast it gdb_byte * in call to language printer.
7594
2898e560
PA
75952013-03-07 Pedro Alves <[email protected]>
7596
7597 * charset.c (struct wchar_iterator) <input>: Change type to 'const
7598 gdb_byte *'.
7599 (make_wchar_iterator): Remove cast to char*.
7600 (wchar_iterate): Change type of local.
7601
a09b4448
PA
76022013-03-07 Pedro Alves <[email protected]>
7603
7604 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
7605 for 'regcache->register_status'.
7606
20ced3e4
PA
76072013-03-07 Pedro Alves <[email protected]>
7608
c2d6a675 7609 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
20ced3e4
PA
7610 int.
7611
fe106009
PA
76122013-03-07 Pedro Alves <[email protected]>
7613
7614 * stap-probe.c (handle_stap_probe): Add cast to char*.
7615
8ac2c12b
PA
76162013-03-07 Pedro Alves <[email protected]>
7617
7618 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
7619 RECORD_MSGRCV>: Pass a signed variable to
7620 regcache_raw_read_signed, instead of an unsigned one.
7621
99f0a309
PA
76222013-03-07 Pedro Alves <[email protected]>
7623
7624 * remote-notif.c (notif_debug): Change type to int.
7625 * remote-notif.h (notif_debug): Likewise.
7626
964b8317
PA
76272013-03-07 Pedro Alves <[email protected]>
7628
7629 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
7630
f0cc8ad4
PA
76312013-03-07 Pedro Alves <[email protected]>
7632
7633 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
7634 * remote.h (hex2bin, bin2hex): ... here.
7635 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
7636
77dec115
EZ
76372013-03-07 Eli Zaretskii <[email protected]>
7638
7639 * utils.c (initialize_utils): Improve doc strings of "set/show
7640 width", "set/show height", and "set/show pagination".
7641
741d92cf
KS
76422013-03-06 Keith Seitz <[email protected]>
7643
7644 * ax-gdb.c (gen_printf): Make FORMAT const.
7645 * ax-gdb.h (gen_printf): Likewise.
7646 * ax-general.c (ax_string): Make STR const.
7647 * ax.h (ax_string): Likewise.
7648
7b6c814e
DE
76492013-03-06 Doug Evans <[email protected]>
7650
7651 * elfread.c (elf_symfile_read): Move debugging printf to more
7652 logical location.
7653
634334ab
PA
76542013-03-06 Pedro Alves <[email protected]>
7655
7656 * python/py-utils.c (target_string_to_unicode): Delete function.
7657 * python/python-internal.h (target_string_to_unicode): Delete
7658 declaration.
7659
e482a1a7
PM
76602013-03-06 Pierre Muller <[email protected]>
7661
7662 * linespec.c (get_current_search_block): ARI fix, use (void)
7663 for empty parameter list.
7664
4eeaa230
DE
76652013-03-05 Doug Evans <[email protected]>
7666
7667 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
7668 of old ada_lookup_symbol_list. In !full_search case, don't
7669 search superblocks.
7670 (ada_lookup_symbol_list): Delete arg full_search, all callers
7671 updated. Call ada_lookup_symbol_list_worker.
7672 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
7673 * ada-lang.h (ada_lookup_symbol_list): Update.
7674 * language.h (language_defn): Update comment for
7675 la_iterate_over_symbols.
7676 * linespec.c (iterate_over_file_blocks): New function.
7677 (iterate_over_all_matching_symtabs): Call it.
7678 (lookup_prefix_sym): Ditto.
7679 (get_current_search_block): New function.
7680 (get_search_block): Delete.
7681 (find_label_symbols): Call get_current_search_block.
7682 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
7683 * symtab.c (iterate_over_symbols): Don't search superblocks.
7684
b69b1fb1
YQ
76852013-03-05 Yao Qi <[email protected]>
7686
7687 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
7688 parameter VAR's type from "unsigned int" to "int".
7689 * command.h (var_zuinteger_unlimited): Update its comments.
7690 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
7691
3c095f49
CV
76922013-03-05 Corinna Vinschen <[email protected]>
7693
7694 * NEWS: Mention new target x86_64-*-cygwin*.
7695
b5b0b0af
CV
76962013-03-05 Corinna Vinschen <[email protected]>
7697
7698 * configure.host: Add x86_64-*-cygwin* as host.
7699 * configure.tgt: Add x86_64-*-cygwin* as target.
7700 * config/i386/cygwin64.mh: New file.
7701
f6f99966
JK
77022013-03-04 Jan Kratochvil <[email protected]>
7703
7704 * linespec.c (decode_line_2): Fix duplicate request off by two message.
7705
33f448b1
JK
77062013-03-04 Jan Kratochvil <[email protected]>
7707
7708 * linespec.c (struct linespec_canonical_name): New.
7709 (struct linespec_state): Change canonical_names type to it.
7710 (add_sal_to_sals): Change variable canonical_name to canonical. Change
7711 xrealloc element size. Initialize the different CANONICAL fields.
7712 (canonical_to_fullform): New.
7713 (filter_results): Use it. Add variables canonical, fullform and
7714 cleanup.
7715 (struct decode_line_2_item, decode_line_2_compare_items): New.
7716 (decode_line_2): Remove variables iter and item_names, add variables
7717 items and items_count. Modify the code for these new variables.
7718
feb14725
CV
77192013-03-04 Corinna Vinschen <[email protected]>
7720
7721 * coff-pe-read.c (read_pe_exported_syms): Don't return without
7722 calling do_cleanup.
7723
e83b17ba
HZ
77242013-03-04 Luis Machado <[email protected]>
7725
7726 * tracepoint.c (build_traceframe_info): Add code for byte order.
7727
a2d13a0d
KB
77282013-03-02 Kevin Buettner <[email protected]>
7729
8dddcae8
KB
7730 * v850-tdep.c: (v850e2_register_name): Revise system register
7731 names to match current V850E2M architecture specifications.
7732 Update register number enum comments too.
f5aee5ee 7733
d79e58d8
JW
77342013-03-01 Jiong Wang <[email protected]>
7735 Pedro Alves <[email protected]>
7736
7737 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
7738 to END_ADDR.
7739 (tilegx_skip_prologue): Limit prologue analysis to section end.
7740
c4be5165
JK
77412013-03-01 Jan Kratochvil <[email protected]>
7742
7743 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
7744 use it.
7745
e362b510
PA
77462013-03-01 Pedro Alves <[email protected]>
7747
7748 Use gdb_byte for bytes from the program being debugged.
7749
7750 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
7751 Change type of local 'buf' to gdb_byte.
7752 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
7753 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
7754 * cris-tdep.c (cris_sigcontext_addr)
7755 (cris_sigtramp_frame_unwind_cache): Likewise.
7756 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
7757 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
7758 Likewise.
7759 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
7760 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
7761 (hppa32_hpux_search_dummy_call_sequence)
7762 (hppa_hpux_supply_save_state): Likewise.
7763 * hppa-linux-tdep.c (insns_match_pattern)
7764 (hppa_linux_find_global_pointer): Likewise.
7765 * hppa-tdep.c (hppa_in_function_epilogue_p)
7766 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
7767 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
7768 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
7769 (i386fbsd_collect_uthread): Likewise.
7770 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
7771 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
7772 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
7773 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
7774 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
7775 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
7776 (ia64_libunwind_frame_prev_register)
7777 (ia64_libunwind_sigtramp_frame_this_id)
7778 (ia64_find_global_pointer_from_dynamic_section)
7779 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
7780 (ia64_unwind_pc): Likewise.
7781 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
7782 * m68hc11-tdep.c (m68hc11_push_dummy_call)
7783 (m68hc11_extract_return_value): Likewise.
7784 * m68klinux-nat.c (fetch_register, store_register): Likewise.
7785 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
7786 (mep_get_insn, mep_push_dummy_call): Likewise.
7787 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
7788 (mips_linux_in_dynsym_stub): Likewise.
7789 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
7790 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
7791 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
7792 to gdb_byte.
7793 * remote-mips.c (mips_set_register): Likewise.
7794 * remote-sim.c (gdbsim_fetch_register): Likewise.
7795 * score-tdep.c (score7_fetch_inst): Change type of parameter
7796 'memblock' and local 'buf' to gdb_byte.
7797 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
7798 Change type of local 'buf' to gdb_byte. Adjust.
7799 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
7800 to gdb_byte**.
7801 (score7_analyze_prologue): Change type of 'memblock' and
7802 'memblock_ptr' locals to gdb_byte*.
7803 * sh64-tdep.c (sh64_extract_return_value)
7804 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
7805 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
7806 * solib-pa64.c (pa64_solib_create_inferior_hook)
7807 (pa64_open_symbol_file_object): Remove local 'buf'.
7808 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
7809 (som_open_symbol_file_object): Likewise.
7810 * solib-spu.c (spu_current_sos): Likewise.
7811 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
7812 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
7813 (spu_store_registers): Likewise.
7814 * target.c (debug_print_register): Likewise.
7815 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
7816 * xstormy16-tdep.c (xstormy16_store_return_value)
7817 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
7818 (xstormy16_find_jmp_table_entry): Likewise.
7819
75cc61ca 78202013-03-01 Jiong Wang <[email protected]>
61d8bd0e
JW
7821
7822 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
7823 (tilegx_gdbarch_init): Install it.
7824
ddb08e9c
TT
78252013-02-28 Tom Tromey <[email protected]>
7826
7827 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
7828 PyLong_Check.
7829
62d7fb51
DE
78302013-02-28 Doug Evans <[email protected]>
7831
7832 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
7833 * python/python.c (gdbpy_find_pc_line): Ditto.
7834
c4a9e8b4
TT
78352013-02-28 Tom Tromey <[email protected]>
7836
7837 * contrib/excheck.py: New file.
7838 * contrib/exsummary.py: New file.
7839 * contrib/gcc-with-excheck: New file.
7840
7f6a5dde
TT
78412013-02-28 Tom Tromey <[email protected]>
7842
7843 * python/python.c (gdbpy_print_stack): Call begin_line and
7844 fprintf_filtered inside TRY_CATCH.
7845
9e974e55
TT
78462013-02-28 Tom Tromey <[email protected]>
7847
7848 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
7849 inside TRY_CATCH.
7850
dd5fa3e7
TT
78512013-02-28 Tom Tromey <[email protected]>
7852
7853 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
7854 frame_object_to_frame_info inside TRY_CATCH.
7855
86a3263f
TT
78562013-02-28 Tom Tromey <[email protected]>
7857
7858 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
7859 TRY_CATCH.
7860
81b52a3a
TT
78612013-02-28 Tom Tromey <[email protected]>
7862
7863 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
7864
d50a0ce2
CV
78652013-02-27 Corinna Vinschen <[email protected]>
7866
7867 * windows-nat.c: Throughout, fix format strings and casts of
7868 printf-like functions to avoid type related warnings on all
7869 platforms.
7870 (handle_output_debug_string): Fetch context information address
7871 from debug string using string_to_core_addr.
7872
e1f58301
JW
78732013-02-27 Jiong Wang <[email protected]>
7874
7875 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
7876 * regformats/reg-tilegx32.dat: New.
7877
4fcd89fc
JW
78782013-02-27 Jiong Wang <[email protected]>
7879
7880 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
7881
748d24e6
JW
78822013-02-27 Jiong Wang <[email protected]>
7883
7884 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
7885
6c8e944d
YQ
78862013-02-27 Yao Qi <[email protected]>
7887 Pedro Alves <[email protected]>
7888
7889 * tracepoint.c (tfile_trace_find): For tfind
5f8e0b8f
MF
7890 pc/tp/range/outside, look for the next trace frame instead of
7891 always starting from frame 0.
6c8e944d 7892
acd7db30
AG
78932013-02-26 Anthony Green <[email protected]>
7894
7895 * configure.tgt: Add support for moxie-*-rtems* target.
7896
025e6dce
PA
78972013-02-25 Pedro Alves <[email protected]>
7898
7899 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
7900 warning text.
7901
ca9c94ef
MR
79022013-02-24 Maciej W. Rozycki <[email protected]>
7903
7904 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
7905 if $fp is used as the virtual frame pointer.
7906
24c274a1
AM
79072013-02-23 Alan Modra <[email protected]>
7908
7909 * elfread.c (elf_symtab_read): Do not use udata.p here to find
7910 symbol size.
7911 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
7912 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
7913 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
7914 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
7915
bfada189
JK
79162013-02-22 Jan Kratochvil <[email protected]>
7917
7918 Code cleanup.
7919 * elfread.c (build_id_bfd_get): Make the return type const.
7920 (build_id_verify): Make the check parameter const.
7921 (build_id_to_debug_filename): Make the build_id parameter and variable
7922 data const.
7923 (find_separate_debug_file_by_buildid): Make the variable build_id const.
7924
c0355132
AM
79252013-02-21 Alan Modra <[email protected]>
7926
7927 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
7928
9f44fbc0
SCR
79292013-02-20 Siva Chandra Reddy <[email protected]>
7930
7931 Add a new method 'disassemble' to gdb.Architecture class.
7932 * python/py-arch.c (archpy_disassmble): Implementation of the
7933 new method gdb.Architecture.disassemble.
7934 (arch_object_methods): Add entry for the new method.
7935
b74ea3eb
JW
79362013-02-20 Jiong Wang <[email protected]>
7937
7938 * MAINTAINERS (Write After Approval): Add myself to the list.
7939
61a672f1
PA
79402013-02-19 Pedro Alves <[email protected]>
7941
7942 Garbage collect 'struct monitor_ops'::load_routine.
7943
7944 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
7945 * monitor.c (monitor_load): No longer call
7946 current_monitor->load_routine.
7947 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
7948 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
7949 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
7950
40e397df
PA
79512013-02-19 Pedro Alves <[email protected]>
7952
7953 PR gdb/15161
7954
7955 Harmonize with generic_load.
7956
7957 * monitor.c: Include "readline/readline.h".
7958 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
7959 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
7960 long/strtol for the 'load_offset' local. Error out if no argument
7961 is given or if too many arguments are given. Tilde expand the
7962 passed in file name.
7963
f698ca8e
KT
79642013-02-19 Kai Tietz <[email protected]>
7965
7966 PR gdb/15161
7967 * symfile.c (load_section_data): Change type of load_offset
7968 to CORE_ADDR.
7969 (generic_load): User strtoulst instead of strtoul for conversion
7970 of load_offset.
7971
3361b059
WL
79722013-02-19 Jiong Wang <[email protected]>
7973
7974 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
7975 for return address, "lr" register, saved on stack.
7976 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
7977 after we invoke tilegx_analyze_prologue.
7978
3e9d5130
WL
79792013-02-19 Jiong Wang <[email protected]>
7980
bb1bcd86
WL
7981 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
7982
3361b059 79832013-02-19 Jiong Wang <[email protected]>
bb1bcd86 7984
b74ea3eb 7985 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
3e9d5130 7986
4aaf2503
WL
79872013-02-19 Jiong Wang <[email protected]>
7988
b74ea3eb 7989 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
4aaf2503
WL
7990 (tilegx_write_pc): New function.
7991 (tilegx_cannot_reference_register): Return zero if REGNO
7992 is TILEGX_FAULTNUM_REGNUM.
7993 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
7994 (tilegx_register_name): Add handling of "faultnum" register.
7995 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
7996 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
7997 handling of TILEGX_FAULTNUM_REGNUM.
7998 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
7999
bc23a956
WL
80002013-02-19 Jiong Wang <[email protected]>
8001
8002 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
b74ea3eb 8003 should be aligned to 64bit.
bc23a956 8004
42f45f1a
KT
80052013-02-19 Kai Tietz <[email protected]>
8006
8007 * windows-nat.c (windows_xfer_memory): Fix debug-output
8008 for LLP64.
8009
6ce4c112
LL
80102013-02-19 Lei Liu <[email protected]>
8011
8012 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
8013 Don't check DSP register number if HAVE_DSP is not set.
8014
30e8ee25
AM
80152013-02-19 Alan Modra <[email protected]>
8016
8017 * elfread.c (struct build_id): Delete. Use struct elf_build_id
8018 throughout file instead.
8019 (build_id_bfd_get): Update to use new elf_tdata build_id field.
8020 Don't xmalloc return value.
8021 (build_id_verify): Similarly. Don't xfree.
8022 (build_id_to_debug_filename): Update.
8023 (find_separate_debug_file_by_buildid): Update, don't xfree.
8024
4c9ad8c2
TT
80252013-02-18 Tom Tromey <[email protected]>
8026
8027 PR gdb/15102:
8028 * dwarf2read.c (read_subrange_type): Use result of
8029 'check_typedef'.
8030
983dc440
YQ
80312013-02-16 Yuanhui Zhang <[email protected]>
8032
8033 * frame.c: Remove one extra white space after #include
8034 directive.
8035
7fb2b84a
JK
80362013-02-15 Jan Kratochvil <[email protected]>
8037
8038 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
8039
edceb2a9
JK
80402013-02-15 Jan Kratochvil <[email protected]>
8041
8042 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
8043 and dir commands into an if block.
8044
e81b7af8
TT
80452013-02-15 Sanimir Agovic <[email protected]>
8046
8047 * python/py-breakpoint (struct pybp_code): Use int instead of
8048 enum type_code.
8049
f5911ea1
HAQ
80502013-02-15 Pedro Alves <[email protected]>
8051 Hafiz Abid Qadeer <[email protected]>
8052
8053 * NEWS: Mention new field "trace-file".
8054 * tracepoint.c (trace_status_mi): Output "trace-file" field.
8055 (tfile_open): Record the trace file's filename in the trace
8056 status.
8057 (tfile_files_info): Mention the name of the trace file.
8058 Check the "filename" field explicitely.
8059 (trace_status_command): Explicitely check "filename" field.
8060 (trace_find_command): Ditto.
8061 (trace_find_pc_command): Ditto.
8062 (trace_find_tracepoint_command): Ditto.
8063 (trace_find_line_command): Ditto.
8064 (trace_find_range_command): Ditto.
8065 (trace_find_outside_command): Ditto.
8066 * tracepoint.h (struct trace_status) <from_file>: Rename it
8067 to "filename" and make it hold the trace file's filename
8068 instead of a boolean.
8069 * remote.c (remote_get_trace_status): Initialize "filename"
8070 field with NULL instead of 0.
8071
796cb314
YQ
80722013-02-15 Yao Qi <[email protected]>
8073
8074 * remote.c: Fix a typo.
8075
42e79b1d
PM
80762013-02-14 Pierre Muller <[email protected]>
8077
8078 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
8079
baea0dae
PA
80802013-02-14 Pedro Alves <[email protected]>
8081
8082 * utils.c (savestring): Don't #undef it. Move function to
8083 common/common-utils.c.
8084 * common/common-utils.c: Include gdb_string.h.
8085 (savestring): Move here from utils.c.
8086 * common/common-utils.h (savestring): Declare.
8087
57c3b6ed
PA
80882013-02-14 Pedro Alves <[email protected]>
8089
8090 * utils.c (savestring): Rename parameter 'size' to 'len'.
8091
d6c44983
YZ
80922013-02-14 Pedro Alves <[email protected]>
8093 Yufeng Zhang <[email protected]>
8094
8095 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
8096 (aarch64_inferior_data, struct aarch64_inferior_data):
8097 Delete.
8098 (struct aarch64_process_info): New.
8099 (aarch64_process_list): New global.
8100 (aarch64_find_process_pid, aarch64_add_process)
8101 (aarch64_process_info_get): New functions.
8102 (aarch64_inferior_data_get): Delete.
8103 (aarch64_process_info_get): New function.
8104 (aarch64_forget_process): New function.
8105 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
8106 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
8107 aarch64_get_debug_reg_state.
8108 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
8109 instead of linux_nat_iterate_watchpoint_lwps.
8110 (aarch64_linux_new_fork): New function.
8111 (aarch64_linux_child_post_startup_inferior): Use
8112 aarch64_forget_process instead of aarch64_init_debug_reg_state.
8113 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
8114 (aarch64_linux_remove_hw_breakpoint)
8115 (aarch64_handle_aligned_watchpoint)
8116 (aarch64_handle_unaligned_watchpoint)
8117 (aarch64_linux_insert_watchpoint)
8118 (aarch64_linux_remove_watchpoint)
8119 (aarch64_linux_stopped_data_address): Adjust to pass the current
8120 process id to aarch64_debug_reg_state.
8121 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
8122 linux_nat_new_fork hook, and aarch64_forget_process as
8123 linux_nat_forget_process hook; remove the call to
8124 register_inferior_data_with_cleanup.
8125
4819b3f8
PA
81262013-02-14 Pedro Alves <[email protected]>
8127
8128 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
8129 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
8130 lval_memory.
8131
1773c82c
HAQ
81322013-02-14 Pedro Alves <[email protected]>
8133 Hafiz Abid Qadeer <[email protected]>
8134
8135 * tracepoint.h (validate_trace_state_variable_name): Declare.
8136 * tracepoint.c (validate_trace_state_variable_name): New.
8137 (trace_variable_command): Parse the trace state variable's name
8138 without using parse_expression. Do several validations.
8139 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
8140 trace state variable's name with parse_expression. Validate it.
8141
53778a97
YQ
81422013-02-14 Yao Qi <[email protected]>
8143
8144 * infcmd.c (breakpoint_proceeded): Remove it.
8145
7b3ae3a6
YQ
81462013-02-14 Yao Qi <[email protected]>
8147
8148 * tracepoint.c (end_actions_pseudocommand): Make it static.
8149 (while_stepping_pseudocommand): Likewise.
8150 * tracepoint.h (end_actions_pseudocommand): Remove the
8151 declaration.
8152 (while_stepping_pseudocommand): Likewise.
8153
64580925
YQ
81542013-02-14 Yao Qi <[email protected]>
8155
8156 * cli/cli-decode.c (help_cmd): Remove the declaration of
8157 "cmdlist".
8158 (help_all): Likewise.
8159
26cb8b7c
PA
81602013-02-13 Pedro Alves <[email protected]>
8161
8162 * amd64-linux-nat.c (update_debug_registers_callback):
8163 Update comment.
8164 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
8165 iterate_over_lwps.
8166 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
8167 i386_debug_reg_state.
8168 (amd64_linux_new_fork): New function.
8169 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
8170 linux_nat_new_fork hook, and i386_forget_process as
8171 linux_nat_forget_process hook.
8172 * i386-linux-nat.c (update_debug_registers_callback):
8173 Update comment.
a8256ea1 8174 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
8175 iterate_over_lwps.
8176 (i386_linux_prepare_to_resume): Pass the lwp's pid to
8177 i386_debug_reg_state.
8178 (i386_linux_new_fork): New function.
8179 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
8180 linux_nat_new_fork hook, and i386_forget_process as
8181 linux_nat_forget_process hook.
8182 * i386-nat.c (i386_init_dregs): Delete.
8183 (i386_inferior_data, struct i386_inferior_data):
8184 Delete.
8185 (struct i386_process_info): New.
8186 (i386_process_list): New global.
8187 (i386_find_process_pid, i386_add_process, i386_process_info_get):
8188 New functions.
8189 (i386_inferior_data_get): Delete.
8190 (i386_process_info_get): New function.
8191 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
8192 (i386_forget_process): New function.
8193 (i386_cleanup_dregs): Rewrite.
8194 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
8195 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
8196 (i386_stopped_data_address, i386_insert_hw_breakpoint)
8197 (i386_remove_hw_breakpoint): Adjust to pass the current process id
8198 to i386_debug_reg_state.
8199 (i386_use_watchpoints): Don't register inferior data.
8200 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
8201 adjust comment.
8202 (i386_forget_process): Declare.
8203 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
8204 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
8205 New static globals.
8206 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
8207 (add_initial_lwp): New, factored out from ...
8208 (add_lwp): ... this. Don't check the number of lwps before
8209 calling linux_nat_new_thread.
8210 (linux_nat_iterate_watchpoint_lwps): Delete.
8211 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
8212 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
8213 forks and vforks.
8214 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
8215 initial lwp.
8216 (linux_nat_kill, linux_nat_mourn_inferior): Call
8217 linux_nat_forget_process.
8218 (linux_nat_set_new_fork, linux_nat_set_forget_process)
8219 (linux_nat_forget_process): New functions.
8220 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
8221 type.
8222 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
8223 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
8224 types.
8225 (linux_nat_set_new_fork, linux_nat_set_forget_process)
8226 (linux_nat_forget_process): New declarations.
8227
8228 * amd64fbsd-nat.c (super_mourn_inferior): New global.
8229 (amd64fbsd_mourn_inferior): New function.
8230 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
8231 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
8232
5befea72
MS
82332013-02-13 Marcus Shawcroft <[email protected]>
8234
55015247
YQ
8235 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
8236 Adding _().
5befea72 8237
1d3ffd6b
MS
82382013-02-13 Marcus Shawcroft <[email protected]>
8239
8240 * aarch64-linux-nat.c (debug_reg_change_callback)
8241 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
8242 %s and phex().
8243
6eb04473
MS
82442013-02-13 Marcus Shawcroft <[email protected]>
8245
8246 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
8247 with LONGEST.
8248
a016fc87
HAQ
82492013-02-13 Pedro Alves <[email protected]>
8250 Hafiz Abid Qadeer <[email protected]>
8251
8252 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
8253
e234dfaf
TT
82542013-02-12 Tom Tromey <[email protected]>
8255
8256 PR symtab/11464:
8257 * c-exp.y (lex_one_token): Initialize other fields of yylval on
8258 NAME return.
8259 (classify_inner_name): Remove 'first_name' argument, add
8260 'context'. Remove unused variable.
8261 (yylex): Explicitly maintain the context type. Exit loop earlier
8262 if NAME result is seen.
8263
0b1afbb3
PA
82642013-02-12 Pedro Alves <[email protected]>
8265
8266 * amd64-darwin-tdep.c: Add (C) after Copyright.
8267 * cli/cli-cmds.h: Ditto.
8268 * cli/cli-decode.c: Ditto.
8269 * cli/cli-decode.h: Ditto.
8270 * cli/cli-dump.c: Ditto.
8271 * cli/cli-dump.h: Ditto.
8272 * cli/cli-interp.c: Ditto.
8273 * cli/cli-logging.c: Ditto.
8274 * cli/cli-script.c: Ditto.
8275 * cli/cli-script.h: Ditto.
8276 * cli/cli-setshow.c: Ditto.
8277 * cli/cli-setshow.h: Ditto.
8278 * cli/cli-utils.c: Ditto.
8279 * cli/cli-utils.h: Ditto.
8280 * config/alpha/nm-osf3.h: Ditto.
8281 * config/djgpp/djconfig.sh: Ditto.
8282 * config/i386/nm-fbsd.h: Ditto.
8283 * config/i386/nm-i386gnu.h: Ditto.
8284 * config/nm-linux.h: Ditto.
8285 * config/nm-nto.h: Ditto.
8286 * config/rs6000/nm-rs6000.h: Ditto.
8287 * config/sparc/nm-sol2.h: Ditto.
8288 * darwin-nat-info.c: Ditto.
8289 * dfp.c: Ditto.
8290 * dfp.h: Ditto.
8291 * gdb-demangle.h: Ditto.
8292 * i386-darwin-nat.c: Ditto.
8293 * i386-darwin-tdep.c: Ditto.
8294 * linux-fork.h: Ditto.
8295 * m32c-tdep.c: Ditto.
8296 * microblaze-linux-tdep.c: Ditto.
8297 * microblaze-rom.c: Ditto.
8298 * microblaze-tdep.c: Ditto.
8299 * microblaze-tdep.h: Ditto.
8300 * mips-linux-tdep.h: Ditto.
8301 * ppc-ravenscar-thread.c: Ditto.
8302 * ppc-ravenscar-thread.h: Ditto.
8303 * prologue-value.c: Ditto.
8304 * prologue-value.h: Ditto.
8305 * ravenscar-thread.c: Ditto.
8306 * ravenscar-thread.h: Ditto.
8307 * sparc-ravenscar-thread.c: Ditto.
8308 * sparc-ravenscar-thread.h: Ditto.
8309 * tilegx-linux-tdep.c: Ditto.
8310 * unwind_stop_reasons.def: Ditto.
8311 * windows-nat.h: Ditto.
8312 * xtensa-linux-tdep.c: Ditto.
8313 * xtensa-xtregs.c: Ditto.
8314 * regformats/regdat.sh: Ditto.
8315 * regformats/regdef.h: Ditto.
8316
6c01dd94
PA
83172013-02-12 Pedro Alves <[email protected]>
8318
8319 * break-catch-sig.c: Update copyright years.
8320
b65a2bd9
SCR
83212013-02-11 Siva Chandra Reddy <[email protected]>
8322
8323 Add support for a destructor for ui_out data and use it to
8324 provide a ui_out destructor.
8325 * ui-out.h: Declare the new ui_out destructor.
8326 (ui_out_impl): Add a field for data destructor in ui_out_impl.
8327 * ui-out.c (default_data_destroy): Add a default data destructor
8328 which does nothing.
8329 (default_ui_out_impl): Set the new data_destroy field to
8330 default_data_destroy
8331 (uo_data_destroy): Local function which invokes the data
8332 destructor if present.
8333 (clear_table): Local function which clears the table data of a
8334 ui_out object.
8335 (ui_out_destroy): Public function which frees a ui_out object.
8336 (ui_out_table_end): Use the new clear_table function.
8337 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
8338 NULL.
8339 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
8340 to NULL.
8341
c2792f5a
DE
83422013-02-11 Doug Evans <[email protected]>
8343
8344 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
8345 (printf_decfloat): New function. Broken out from ui_printf.
8346 Remove unnecessary code to shift the entire format string down.
8347 (printf_pointer): New function.
8348 (ui_printf): Code to print C strings, wide C strings, decfloats,
8349 and pointers moved to separate functions.
8350
d9e98382
SDJ
83512013-02-11 Sergio Durigan Junior <[email protected]>
8352
8353 * valops.c (value_assign): Handling bitfield offset in
8354 `lval_internalvar_component' case.
8355
4ff3ce77
DE
83562013-02-08 Doug Evans <[email protected]>
8357
8358 * common/format.c (parse_format_string): Fix whitespace.
8359
901900c4
MGD
83602013-02-08 Matthew Gretton-Dann <[email protected]>
8361
8362 * stack.c (return_command): Work around uninitialized variable
8363 warning.
8364
b5dbc8d4
YZ
83652013-02-08 Yufeng Zhang <[email protected]>
8366
8367 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
8368 number of the registers from 36 to 34.
8369
51d66578
MS
83702013-02-08 Marcus Shawcroft <[email protected]>
8371
8372 * NEWS: Mention new AArch64 native and target support.
8373
176b1c95
MS
83742013-02-08 Marcus Shawcroft <[email protected]>
8375
8376 * MAINTAINERS (Write After Approval): Add myself.
8377
9d19df75
MS
83782013-02-08 Jim MacArthur <[email protected]>
8379 Marcus Shawcroft <[email protected]>
8380 Nigel Stephens <[email protected]>
8381 Yufeng Zhang <[email protected]>
8382
8383 * aarch64-linux-nat.c: New file.
8384 * config/aarch64/linux.mh: New file.
8385 * configure.host: Add AArch64.
8386 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
8387
7e1e0340
DE
83882013-02-07 Doug Evans <[email protected]>
8389
8390 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
8391 disassemble command.
8392
45e25a36
MS
83932013-02-07 Marcus Shawcroft <[email protected]>
8394
8395 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
8396 set_gdbarch_fetch_tls_load_module_address.
8397
bbfdfe1c
DM
83982013-02-06 David S. Miller <[email protected]>
8399
8400 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
8401 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
8402 * value.c (struct_return_convention): New function.
8403 (using_struct_return): Implement in terms of struct_return_convention.
8404 * value.h (struct_return_convention): Declare.
8405 * stack.c (return_command): Allow successful overriding of the return
8406 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
8407
bc9abe4a
TT
84082013-02-06 Tom Tromey <[email protected]>
8409
8410 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
8411 outside of TRY_CATCH.
8412
134a2066
YQ
84132013-02-06 Yao Qi <[email protected]>
8414
8415 * mi/mi-interp.c: Include "tracepoint.h".
8416 (mi_tsv_modified): Declare.
8417 (mi_tsv_created, mi_tsv_deleted): Update declaration.
8418 (mi_interpreter_init): Call observer_attach_tsv_modified.
8419 (mi_tsv_modified): New.
8420 (mi_tsv_created, mi_tsv_deleted): Update.
8421 * tracepoint.c (trace_variable_command): Call
8422 observer_notify_tsv_modified if the initial value of tsv is
8423 changed.
8424 (delete_trace_state_variable): Call
8425 observer_notify_tsv_deleted earlier.
8426 (trace_variable_command): Caller update.
8427 (create_tsv_from_upload): Likewise.
8428 * observer.sh: Declare "struct trace_state_variable".
8429
8430 * NEWS: Mention the new MI notification "=tsv-modified".
8431
59be2b6a
DE
84322013-02-05 Doug Evans <[email protected]>
8433
8434 * completer.c (location_completer): Fix typo in comment.
8435
d30113d4
JK
84362013-02-05 Jan Kratochvil <[email protected]>
8437
8438 * breakpoint.c (add_location_to_breakpoint): Insert the location with
8439 ADDRESS sorted.
8440
14ac654f
MS
84412013-02-05 Marcus Shawcroft <[email protected]>
8442
8443 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
8444 Refactor if statement to avoid trailing || operator.
8445
543bf33d
AT
84462013-02-05 Andreas Tobler <[email protected]>
8447
8448 * NEWS: Add PowerPC FreeBSD as a new native configuration.
8449
dc18f110
AT
84502013-02-04 Andreas Tobler <[email protected]>
8451
8452 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
8453 * configure.host: Add powerpc*-*-freebsd* target.
8454 * configure.tgt: Add target info for powerpc*-*-freebsd*.
8455 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
8456 * config/powerpc/fbsd.mh: New file.
8457
b3ac9c77
SDJ
84582013-02-04 Sergio Durigan Junior <[email protected]>
8459 Denys Vlasenko <[email protected]>
8460 Pedro Alves <[email protected]>
8461
8462 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
8463 (struct elf_internal_linux_prpsinfo): Forward declare.
8464 * gdbarch.h, gdbarch.c: Regenerate.
8465 * linux-tdep.c: Include `cli/cli-utils.h'.
8466 (linux_fill_prpsinfo): New function.
8467 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
8468 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
8469 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
8470 depending on gdbarch pointer bitness.
8471 * ppc-linux-tdep.c: Include elf-bfd.h.
8472 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
8473 on 32-bit.
8474
176eb98c
MS
84752013-02-04 Jim MacArthur <[email protected]>
8476 Marcus Shawcroft <[email protected]>
8477 Nigel Stephens <[email protected]>
8478 Yufeng Zhang <[email protected]>
8479
8480 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
8481
cf0dbd6f
MS
84822013-02-04 Jim MacArthur <[email protected]>
8483 Marcus Shawcroft <[email protected]>
8484 Nigel Stephens <[email protected]>
8485 Yufeng Zhang <[email protected]>
8486
8487 * aarch64-newlib-tdep.c: New file.
8488 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
8489 aarch64*-*-elf.
8490 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
8491 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
8492 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
8493 * osabi.c (gdb_osabi_names): Add "Newlib".
8494
1ae3db19
MS
84952013-02-04 Jim MacArthur <[email protected]>
8496 Marcus Shawcroft <[email protected]>
8497 Nigel Stephens <[email protected]>
8498 Yufeng Zhang <[email protected]>
8499
8500 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
8501 (ALLDEPFILES): Add aarch64-linux-tdep.c.
8502 * aarch64-linux-tdep.c: New file.
8503 * aarch64-linux-tdep.h: New file.
8504 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
8505 * configure.tgt: Add aarch64-none-linux-gnu.
8506
07b287a0
MS
85072013-02-04 Jim MacArthur <[email protected]>
8508 Marcus Shawcroft <[email protected]>
8509 Nigel Stephens <[email protected]>
8510 Yufeng Zhang <[email protected]>
8511
8512 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
8513 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
8514 (ALLDEPFILES): Add aarch64-tdep.c.
8515 * aarch64-tdep.c: New file.
8516 * aarch64-tdep.h: New file.
8517 * configure.tgt: Add AArch64.
8518 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
8519 (aarch64-expedite): New definition.
8520 * features/aarch64-core.xml: New file.
8521 * features/aarch64-fpu.xml: New file.
8522 * features/aarch64-without-fpu.c: New file (generated).
8523 * features/aarch64-without-fpu.xml: New file.
8524 * features/aarch64.c: New file (generated).
8525 * features/aarch64.xml: New file.
8526 * regformats/aarch64-without-fpu.dat: New file (generated).
8527 * regformats/aarch64.dat: New file (generated).
8528
0f1b18ab
JK
85292013-02-03 Jan Kratochvil <[email protected]>
8530
8531 * contrib/expect-read1.c: New file.
8532 * contrib/expect-read1.sh: New file.
8533
233d95b5
JK
85342013-02-03 Jan Kratochvil <[email protected]>
8535
8536 * dwarf2read.c (file_file_name): New function with code from
8537 file_full_name.
8538 (file_full_name): Move most of the code to file_file_name.
8539 (macro_start_file): Rename variable full_name to file_name and use
8540 file_file_name for it. Add comp_dir parameter to new_macro_table.
8541 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
8542 macro_source_file->filename access by macro_source_fullname call.
8543 * macroscope.c (_initialize_macroscope): Update the new_macro_table
8544 caller.
8545 * macrotab.c (struct macro_table): New field comp_dir.
8546 (macro_include): New variables link_fullname and source_fullname.
8547 Replace any macro_source_file->filename access by macro_source_fullname
8548 call.
8549 (macro_lookup_inclusion): Remove the partial filenames checking code.
8550 (check_for_redefinition): New variables source_fullname and
8551 found_key_fullname. Replace any macro_source_file->filename access by
8552 macro_source_fullname call.
8553 (macro_undef): New variables source_fullname and key_fullname. Replace
8554 any macro_source_file->filename access by macro_source_fullname call.
8555 (macro_lookup_definition): New variables retval and source_fullname.
8556 Replace any macro_source_file->filename access by macro_source_fullname
8557 call.
8558 (foreach_macro): New variable key_fullname. Replace any
8559 macro_source_file->filename access by macro_source_fullname call.
8560 (foreach_macro_in_scope): New variable datum_fullname. Replace any
8561 macro_source_file->filename access by macro_source_fullname call.
8562 (new_macro_table): Add parameter comp_dir. Initialize T with it.
8563 (macro_source_fullname): New function.
8564 * macrotab.h (struct macro_source_file): Extent the filename field
8565 comment.
8566 (new_macro_table): New parameter comp_dir, add a comment for it.
8567 (macro_source_fullname): new declaration.
8568
da235a7c
JK
85692013-02-03 Jan Kratochvil <[email protected]>
8570
8571 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
8572 this_real_name to outer block. Use it also for
8573 compare_filenames_for_search.
8574 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
8575 with dw2_get_real_path for file_matcher, considering also
8576 BASENAMES_MAY_DIFFER.
8577 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
8578
fbd9ab74
JK
85792013-02-03 Jan Kratochvil <[email protected]>
8580
8581 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
8582 to the file_matcher parameter. Pass 0 to it.
8583 (dwarf2_create_include_psymtab): Copy also DIRNAME.
8584 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
8585 NULL psymtab_to_fullname result.
8586 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
8587 an expected filename instead.
8588 (expand_symtabs_matching_via_partial): Add basenames parameter to the
8589 file_matcher parameter. Call also psymtab_to_fullname, after newly
8590 considering BASENAMES_MAY_DIFFER.
8591 * source.c (rewrite_source_path): Remove static.
8592 * source.h (rewrite_source_path): New declaration.
8593 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
8594 the expand_symtabs_matching field. Comment it.
8595 * symtab.c (file_matches): New function comment. Add parameter
8596 basenames, implement it.
8597 (search_symbols_file_matches): Add basenames parameter. Update the
8598 file_matches caller.
8599 (search_symbols): Match FILES also against symtab_to_fullname.
8600 Optimize it for BASENAMES_MAY_DIFFER.
8601
56d397a3
JK
86022013-02-03 Jan Kratochvil <[email protected]>
8603
8604 * source.c (print_source_lines_base): Print for TUI also "fullname".
8605 * tui/tui-data.c (init_content_element): Change tui_locator_element
8606 field to full_name.
8607 * tui/tui-data.h (struct tui_locator_element): Likewise.
8608 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
8609 tui_update_locator_filename calls to tui_update_locator_fullname.
8610 Replace symtab->filename refererence by symtab_to_fullname call.
8611 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
8612 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
8613 field to full_name. Replace symtab->filename refererence by
8614 symtab_to_fullname call.
8615 (tui_show_symtab_source): Rename parameter to fullname. Change
8616 tui_locator_element field to full_name.
8617 * tui/tui-stack.c: Include source.h.
8618 (tui_set_locator_filename): Rename the declaration to ...
8619 (tui_set_locator_fullname): ... here. Rename its parameter to
8620 fullname, updates its comment.
8621 (tui_set_locator_info): Rename its parameter to fullname.
8622 (tui_set_locator_filename): Rename the definition to ...
8623 (tui_set_locator_fullname): ... here. Rename its parameter to
8624 fullname, updates its comment. Change tui_locator_element field to
8625 full_name.
8626 (tui_set_locator_info): Rename its parameter to fullname.
8627 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
8628 (tui_update_locator_filename): Rename to ...
8629 (tui_update_locator_fullname): ... here. Rename callee to
8630 tui_set_locator_fullname.
8631 (tui_show_frame_info): Replace symtab->filename refererence by
8632 symtab_to_fullname call.
8633 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
8634 (tui_update_locator_fullname): ... here.
8635 * tui/tui-winsource.c (tui_display_main): Rename the callee to
8636 tui_update_locator_fullname. Replace symtab->filename refererence by
8637 symtab_to_fullname call.
8638 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
8639 Rename the callee to tui_update_locator_fullname.
8640 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
8641
05cba821
JK
86422013-02-03 Jan Kratochvil <[email protected]>
8643
8644 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
8645 by symtab_to_filename_for_display calls.
8646 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
8647 (clear_command): New variable sal_fullname, initialize it. Replace
8648 compare_filenames_for_search by filename_cmp with sal_fullname.
8649 (say_where, update_static_tracepoint): Replace symtab->filename
8650 refererences by symtab_to_filename_for_display calls.
8651 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
8652 Likewise.
8653 * dwarf2read.c: Include source.h.
8654 (fixup_go_packaging): Replace symtab->filename refererences by
8655 symtab_to_filename_for_display calls.
8656 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
8657 Replace symtab->filename refererences by symtab_to_filename_for_display
8658 calls.
8659 (create_sals_line_offset, convert_linespec_to_sals): New variable
8660 fullname, initialize it, replace symtab->filename reference by the
8661 variable.
8662 * linux-fork.c: Include source.h.
8663 (info_checkpoints_command): Replace symtab->filename refererences by
8664 symtab_to_filename_for_display calls.
8665 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
8666 by symtab_to_filename_for_display calls.
8667 * mdebugread.c: Include source.h.
8668 (psymtab_to_symtab_1): Replace symtab->filename refererences by
8669 symtab_to_filename_for_display calls.
8670 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
8671 (mi_cmd_file_list_exec_source_files): Likewise.
8672 * printcmd.c: Include source.h.
8673 (build_address_symbolic): Replace symtab->filename refererences by
8674 symtab_to_filename_for_display calls.
8675 * psymtab.c (partial_map_symtabs_matching_filename)
8676 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
8677 with psymtab_to_fullname.
8678 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
8679 by symtab_to_filename_for_display calls.
8680 (stpy_get_filename): New variable filename, initialize it, use instead
8681 of symtab->filename refererences.
8682 (salpy_str): Make variable filename const char *. Replace
8683 symtab->filename refererences by symtab_to_filename_for_display calls.
8684 * skip.c: Include source.h and filenames.h.
8685 (skip_file_command): Remove const from the symtab variable. Replace
8686 symtab->filename refererences by symtab_to_fullname call.
8687 (function_name_is_marked_for_skip): New variables searched_for_fullname
8688 and fullname. Use them to search also with symtab's fullname.
8689 * source.c (find_source_lines): Replace symtab->filename refererences
8690 by symtab_to_filename_for_display calls.
8691 (print_source_lines_base): New variable filename, use it instead of
8692 symtab->filename. Replace symtab->filename refererences by
8693 symtab_to_filename_for_display calls.
8694 (line_info, forward_search_command): Replace symtab->filename
8695 refererences by symtab_to_filename_for_display calls.
8696 (reverse_search_command): Replace symtab->filename refererences by
8697 symtab_to_filename_for_display calls. New variable filename for it.
8698 * stack.c (frame_info): Likewise.
8699 * symmisc.c: Include source.h.
8700 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
8701 (maintenance_info_symtabs): Replace symtab->filename refererences by
8702 symtab_to_filename_for_display calls.
8703 * symtab.c (iterate_over_some_symtabs): Call
8704 compare_filenames_for_search also with symtab_to_fullname.
8705 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
8706 symtab->filename refererences by symtab_to_filename_for_display calls.
8707 (find_line_symtab): Replace symtab->filename refererences by
8708 symtab_to_filename_for_display calls.
8709 (file_matches): Replace filename_cmp by compare_filenames_for_search.
8710 (print_symbol_info): Make the last parameter const char *. New
8711 variable s_filename. Use it in the function.
8712 (symtab_symbol_info): Make the last_filename variable const char *.
8713 Replace symtab->filename refererences by symtab_to_filename_for_display
8714 calls.
8715 (rbreak_command): New variable fullname. Use it. Replace
8716 symtab->filename refererence by symtab_to_filename_for_display call.
8717 * tracepoint.c (set_traceframe_context, trace_find_line_command)
8718 (print_one_static_tracepoint_marker): Replace symtab->filename
8719 refererences by symtab_to_filename_for_display calls.
8720 * tui/tui-source.c (tui_set_source_content): New variables filename and
8721 s_filename. Replace symtab->filename refererences by this variable.
8722 Replace other symtab->filename refererences by
8723 symtab_to_filename_for_display calls.
8724
1b56eb55
JK
87252013-02-03 Eldar Gaynetdinov <[email protected]>
8726 Jan Kratochvil <[email protected]>
8727
8728 Add a new variable that controls a way in which filenames are
8729 displayed.
8730 * NEWS (set filename-display): New entry.
8731 * source.c (filename_display_basename, filename_display_relative)
8732 (filename_display_absolute, filename_display_kind_names)
8733 (filename_display_string, show_filename_display_string)
8734 (symtab_to_filename_for_display): New.
8735 (_initialize_source): Added initialization of 'filename-display'
8736 variable.
8737 * source.h (symtab_to_filename_for_display): Added declaration.
8738 * stack.c (print_frame): Added new variable and calling of a new
8739 function and condition with this variable. Changed third argument of
8740 calling of a function.
8741
aa079c93
JK
87422013-02-03 Jan Kratochvil <[email protected]>
8743
8744 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
8745 Rename field reference filename to fullname.
8746 * tui/tui-data.h (struct tui_source_info): Rename field filename to
8747 fullname. New comment for it.
8748 * tui/tui-source.c (tui_set_source_content): Rename field reference
8749 filename to fullname. Initialize field by symtab_to_fullname now.
8750 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
8751 reference filename to fullname. Use symtab_to_fullname during
8752 comparison.
8753
652a8996
JK
87542013-02-03 Jan Kratochvil <[email protected]>
8755
8756 Code cleanup.
8757 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
8758 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
8759 filename to fullname. Rename variable this_name to this_fullname.
8760 Lowercase FILENAME_CMP call.
8761 (dw2_find_symbol_file): New comment for the returned string.
8762 (dwarf2_gdb_index_functions): Rename the function to
8763 dw2_expand_symtabs_with_fullname.
8764 * psymtab.c (read_psymtabs_with_filename): Rename to ...
8765 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
8766 fullname.
8767 (psym_functions): Rename the function to read_psymtabs_with_fullname.
8768 * symfile.h (struct quick_symbol_functions): Rename field
8769 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
8770 parameter filename to fullname. Document returned string meaning for
8771 find_symbol_file.
8772 * symtab.c (find_line_symtab): Rename the called function to
8773 expand_symtabs_with_fullname.
8774
af529f8f
JK
87752013-02-03 Jan Kratochvil <[email protected]>
8776
8777 Code cleanup.
8778 * breakpoint.c (clear_command): Remove variable is_abs, unify the
8779 call of filename_cmp with compare_filenames_for_search.
8780 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
8781 is_abs, unify the call of FILENAME_CMP with
8782 compare_filenames_for_search. New gdb_asserts for real_path and name.
8783 Unify the call of compare_filenames_for_search with FILENAME_CMP.
8784 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
8785 * symfile.h (struct quick_symbol_functions): Extend the comment for
8786 map_symtabs_matching_filename.
8787 * symtab.c (compare_filenames_for_search): Remove the function comment
8788 relative path requirement. Handle absolute filenames, with a comment.
8789 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
8790 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
8791 real_path and name. Unify the call of compare_filenames_for_search
8792 with FILENAME_CMP.
8793 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
8794
2f202fde
JK
87952013-02-03 Jan Kratochvil <[email protected]>
8796
8797 Code cleanup.
8798 * breakpoint.c (print_breakpoint_location): Replace bp_location field
8799 source_file references by symtab field references. Remove variables
8800 sal and fullname.
8801 (momentary_breakpoint_from_master, add_location_to_breakpoint):
8802 (clear_command, say_where): Replace bp_location field source_file
8803 references by symtab field references.
8804 (bp_location_dtor): Remove the source_file reference.
8805 (update_static_tracepoint): Replace bp_location field source_file
8806 references by symtab field references.
8807 (breakpoint_free_objfile): New function.
8808 * breakpoint.h (struct bp_location): Extend the comment for line_number.
8809 Replace the field source_file by field symtab, extend its comment.
8810 (breakpoint_free_objfile): New declaration.
8811 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
8812 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
8813 field source_file references by symtab field references.
8814
f5b95b50
JK
88152013-02-03 Jan Kratochvil <[email protected]>
8816
8817 Replace xfullpath calls by gdb_realpath calls.
8818 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
8819 function comment.
8820 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
8821 Remove it from the iterate_over_some_symtabs call.
8822 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
8823 Remove it from the dw2_map_expand_apply calls, remove a block handling
8824 it.
8825 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
8826 Remove it from the iterate_over_some_symtabs call.
8827 (partial_map_symtabs_matching_filename): Remove parameter full_path.
8828 Remove it from the partial_map_expand_apply calls, remove a block
8829 handling it. Drop gdb_realpath call and cleanups from the real_path
8830 handling.
8831 * source.c (openp): Drop the comment part about xfullpath. Replace
8832 xfullpath calls by gdb_realpath calls.
8833 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
8834 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
8835 from method map_symtabs_matching_filename and its comment.
8836 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
8837 gdb_realpath call.
8838 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
8839 remove it also from the function comment, remove a block handling it.
8840 Drop gdb_realpath call and cleanups from the real_path handling.
8841 (iterate_over_symtabs): Drop variable full_path and its use.
8842 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
8843 * utils.c (xfullpath): Remove.
8844 * utils.h (xfullpath): Remove.
8845
d78489bf
AT
88462013-02-01 Andreas Tobler <[email protected]>
8847
8848 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
8849 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
8850 (ALLDEPFILES): Add ppc64-tdep.c.
8851 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
8852 ppc64-tdep.o to gdb_target_obs.
8853 * ppc64-tdep.h: New file.
8854 * ppc64-tdep.c: New file.
8855 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
8856 ppc-linux-tdep.c to here.
8857 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
8858 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
8859 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
8860 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
8861 from ppc-linux-tdep.c to here.
8862 (ppc64_convert_from_func_ptr_addr): Rename from
8863 ppc64_linux_convert_from_func_ptr_addr to
8864 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
8865 here.
8866 * rs6000-tdep.c:
8867 (read_insn): Move from ppc-linux-tdep.c to here.
8868 (insns_match_pattern, insn_d_field, insn_ds_field): Move
8869 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
8870 * ppc-linux-tdep.c: Include ppc64-tdep.h.
8871 Removed above functions.
8872 (ppc_linux_init_abi): Adjust.
8873
8db60374
AR
88742013-02-01 Aleksandar Ristovski <[email protected]>
8875
8876 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
8877
f2e5f4ce
AR
88782013-02-01 Aleksandar Ristovski <[email protected]>
8879
8880 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
8881
c1f7d745
PA
88822013-02-01 Pedro Alves <[email protected]>
8883
8884 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
8885 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
8886
8a92335b
JK
88872013-02-01 Jan Kratochvil <[email protected]>
8888
8889 * elfread.c (elf_symfile_read): Limit separate debug info additions to
8890 files with no separate debug info.
8891 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
8892 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
8893 only for files with no separate debug info.
8894
8eacb197
TT
88952013-01-31 Tom Tromey <[email protected]>
8896
8897 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
8898 change type.
8899 (struct jit_program_space_data): Rename from jit_inferior_data.
8900 Update comments.
8901 (get_jit_program_space_data): Rename from get_jit_inferior_data.
8902 Change return type. Attach data to program space.
8903 (jit_program_space_data_cleanup): Rename from
8904 jit_inferior_data_cleanup; change argument type.
8905 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
8906 change type.
8907 (jit_register_code): Update.
8908 (jit_update_inferior_cache): Remove.
8909 (jit_breakpoint_deleted): Get jit data from the location's program
8910 space.
8911 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
8912 'ps_data', change type.
8913 (jit_inferior_init, jit_breakpoint_re_set_internal)
8914 (jit_event_handler): Update.
8915 (free_objfile_data): Get data from objfile's program space.
8916 (_initialize_jit): Update.
8917
f25c0135
TT
89182013-01-31 Tom Tromey <[email protected]>
8919
8920 PR gdb/13987:
8921 * jit.c (struct jit_inferior_data) <cached_code_address,
8922 jit_breakpoint>: New fields.
8923 (jit_breakpoint_re_set_internal): Fix logging. Only create
8924 breakpoint if cached address has changed.
8925 (jit_update_inferior_cache, jit_breakpoint_deleted): New
8926 functions.
8927 (_initialize_jit): Register breakpoint deleted observer.
8928
974a734b
AR
89292013-01-31 Aleksandar Ristovski <[email protected]>
8930
8931 * infrun.c (handle_syscall_event): Remove unused gdbarch.
8932 (save_infcall_suspend_state): Ifdef out unused inf.
8933 (restore_infcall_suspend_state): Ifdef out unused inf.
8934 * jit.c (jit_register_code): Remove unused i, b, inf_data.
8935 (jit_frame_sniffer): Remove unused inf_data.
8936
df54f8eb
AR
89372013-01-31 Aleksandar Ristovski <[email protected]>
8938
8939 * c-exp.y (classify_inner_name): Remove unused type.
8940 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
8941 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
8942 need_escape.
8943 (c_get_string): Remove unused kind.
8944 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
8945
5799c0b9
AR
89462013-01-31 Aleksandar Ristovski <[email protected]>
8947
8948 * charset.c (intermediate_encoding): Remove unused i.
8949 * completer.c (signal_completer): Remove unused i.
8950 * continuations.c (discard_my_continuations_1): Remove unused
8951 continuation_ptr.
8952 * corelow.c (core_close): Remove unuseD name.
8953 (get_core_siginfo): Remove unused pid.
8954 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
8955 i, cps.
8956 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
8957 (loclist_describe_location): Remove unused first.
8958 * event-top.c (command_line_handler): Remove unused got_eof.
8959 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
8960 (resize_section_table): Remove unused old_value.
8961 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
8962 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
8963 * i386-tdep.c (i386_process_record): Remove unused rex.
8964 * infcmd.c (get_return_value): Remove unused uiout.
8965 * jv-lang.c (type_from_class): Remove unused is_array.
8966 * jv-valprint.c (java_val_print): Remove unused i.
8967 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
8968 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
8969 * m2-typeprint.c (m2_print_type): Remove unused code.
8970 * macroexp.c (get_character_constant): Remove unused body_start.
8971 (macro_stringify): Remove unused result.
8972 * objc-lang.c (find_methods): Remove unused gdbarch.
8973 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
8974 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
8975 * stack.c (print_frame_args): Remove unused summary.
8976 * thread.c (thread_apply_command): Remove unused p.
8977 * valarith.c (value_x_unop): Remove unused mangle_ptr.
8978 * valops.c (search_struct_method): Remove unused skip.
8979 * valprint.c (generic_val_print): Remove unused byte_order.
8980 * varobj.c (varobj_update): Remove unused changed.
8981 * cli/cli-cmds.c (complete_command): Remove unused next_item.
8982 (alias_command): Remove unused c.
8983 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
8984 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
8985 format.
8986 (mi_cmd_data_write_memory): Remove unused word_format.
8987 (mi_cmd_data_write_memory_bytes): Remove unused r.
8988 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
8989 p_start, p_end.
8990 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
8991 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
8992 line_width.
8993
c656bca5
AR
89942013-01-31 Aleksandar Ristovski <[email protected]>
8995
8996 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
8997 * symtab.c (iterate_over_symtabs): Remove unused s.
8998 (find_pc_sect_symtab): Remove unused pspAce.
8999 (find_pc_sect_line): Remove unused alt_symtab.
9000 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
9001 (completion_list_add_name): Remove unused newsize.
9002
7078baeb
TT
90032013-01-31 Tom Tromey <[email protected]>
9004
9005 PR c++/14998:
9006 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
9007 TYPE_CODE_FUNC.
9008
c2e8b827
AR
90092013-01-31 Aleksandar Ristovski <[email protected]>
9010
9011 * target.c (target_read_string): Remove unused origlen.
9012
0e43993a
AR
90132013-01-31 Aleksandar Ristovski <[email protected]>
9014
9015 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
9016 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
9017 * ax-general.c (ax_print): Remove unused is_float.
9018 * blockframe.c (block_innermost_frame): Remove unused start, end.
9019 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
9020
765a97ab
AR
90212013-01-31 Aleksandar Ristovski <[email protected]>
9022
9023 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
9024 (svr4_read_so_list): Remove unused lmo.
9025 * solib-target.c (solib_target_relocate_section_addresses): Remove
9026 unused flags.
9027
a99dad3d
TT
90282013-01-30 Tom Tromey <[email protected]>
9029
9030 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
9031
3bff1ecd
TT
90322013-01-30 Tom Tromey <[email protected]>
9033
9034 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
9035 * utils.c (gnu_debuglink_crc32): Remove.
9036 * utils.h (gnu_debuglink_crc32): Don't declare.
9037
7d455152
TT
90382013-01-30 Tom Tromey <[email protected]>
9039
9040 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
9041 (read_structure_type, read_enumeration_type): Remove cast.
9042
abee88f2
TT
90432013-01-30 Tom Tromey <[email protected]>
9044
9045 * dwarf2read.c (read_namespace_type): Remove cast.
9046 (read_typedef): Likewise.
9047
8d9878a4
TT
90482013-01-29 Tom Tromey <[email protected]>
9049
9050 * dwarf2read.c (free_dwo_file): Remove assert.
9051
a543d2a9
TT
90522013-01-29 Tom Tromey <[email protected]>
9053
9054 * value.c (deprecated_set_value_modifiable): Remove.
9055 * value.h (deprecated_set_value_modifiable): Remove.
9056
bed911e5
DE
90572013-01-28 Doug Evans <[email protected]>
9058
9059 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
9060 to addresses from dwo files.
9061
28c64fc2
SCR
90622013-01-25 Siva Chandra Reddy <[email protected]>
9063
9064 * valops.c (find_overload_match): Remove unused argument 'lax'.
9065 * value.h: Remove unused argument 'lax' from the declaration of
9066 find_overload_match.
9067 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
9068 to find_overload_match.
9069 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
9070 argument to find_overload_match.
9071
4d4ec4e5
TT
90722013-01-25 Tom Tromey <[email protected]>
9073
9074 * dwarf2read.c (processing_has_namespace_info): Remove.
9075 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
9076 (process_die, read_func_scope, dwarf2_start_symtab)
9077 (new_symbol_full): Update.
9078
195a3f6c
TT
90792013-01-25 Tom Tromey <[email protected]>
9080
9081 * cp-namespace.c (cp_set_block_scope): Remove.
9082 * cp-support.h (cp_set_block_scope): Remove.
9083 * dbxread.c: Include block.h.
9084 (cp_set_block_scope): New function.
9085 (process_one_symbol): Update.
9086 * dwarf2read.c (read_func_scope): Use block_set_scope.
9087
8ba0730a
PA
90882013-01-25 Pedro Alves <[email protected]>
9089
9090 * remote.c (add_current_inferior_and_thread): Tweak comment.
9091
12aaed36
TT
90922013-01-25 Tom Tromey <[email protected]>
9093
9094 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
9095 (cp_add_using_directive): Add 'copy_names' argument.
9096 * cp-support.h (cp_add_using_directive): Update.
9097 (struct using_direct) <import_src, import_dest, alias,
9098 declaration>: Now const.
9099 * dwarf2read.c (read_import_statement): Use obconcat.
9100 Don't copy names passed to cp_add_using_directive.
9101
7fc75ca7
TT
91022013-01-25 Tom Tromey <[email protected]>
9103
9104 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
9105
3405876a
PA
91062013-01-25 Pedro Alves <[email protected]>
9107
9108 * remote.c (stop_reply_extract_thread): New.
9109 (add_current_inferior_and_thread): New parameter 'wait_status'.
9110 Handle it.
9111 (remote_start_remote): Pass wait status to
9112 add_current_inferior_and_thread.
9113 (extended_remote_run): Update comment.
9114 (extended_remote_create_inferior_1): Pass wait status to
9115 add_current_inferior_and_thread.
9116
8954db33
AB
91172013-01-25 Andrew Burgess <[email protected]>
9118 Ulrich Weigand <[email protected]>
9119
9120 * valarith.c (value_vector_widen): New function for replicating a
9121 scalar into a vector.
9122 (value_binop): Use value_vector_widen to widen scalar to vector
9123 rather than casting, this better matches gcc C behaviour.
9124 * valops.c (value_casst): Update logic for casting between vector
9125 types, and for casting from scalar to vector, try to match gcc C
9126 behaviour.
9127 * value.h (value_vector_widen): Declare.
9128 * opencl-lang.c (opencl_value_cast): New opencl specific casting
9129 function, handle special case for casting scalar to vector.
9130 (opencl_relop): Use opencl_value_cast.
9131 (evaluate_subexp_opencl): Use opencl_value_cast instead of
9132 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
9133 in order to use opencl_value_cast.
9134
843b20dc
YQ
91352013-01-25 Yao Qi <[email protected]>
9136
9137 * event-loop.c: Include "queue.h".
9138 (gdb_event_p): New typedef.
9139 (DECLARE_QUEUE_P): Use.
9140 (DEFINE_QUEUE_P): Use.
9141 (async_queue_event): Remove.
9142 (gdb_event_xfree): New.
9143 (initialize_event_loop): New.
9144 (process_event): Use QUEUE macros.
9145 (event_queue): Remove.
9146 (gdb_wait_for_event): Caller update.
9147 (check_async_event_handlers): Likewise.
9148 (poll_timers): Likewise.
9149 * event-loop.h (initialize_event_loop): Declare.
9150 * event-loop.c (gdb_event_xfree): New.
9151 * top.c (gdb_init): Call initialize_event_loop.
9152
20ad8856
YQ
91532013-01-25 Yao Qi <[email protected]>
9154
9155 * event-loop.c (async_queue_event): Remove one parameter
9156 'position'. Remove code handling 'position' == TAIL.
9157 (gdb_wait_for_event): Caller update.
9158 (check_async_event_handlers): Caller update.
9159 (poll_timers): Caller update.
9160 * event-loop.h (enum queue_position): Remove.
9161
3bbbe775
MK
91622013-01-25 Maxim Kuvyrkov <[email protected]>
9163
9164 * MAINTAINERS: Update my email.
9165
a87d9ac4
YQ
91662013-01-25 Yao Qi <[email protected]>
9167
9168 * main.c (print_gdb_help): Remove "--epoch" from the help
9169 message.
9170
2077afdd
TD
91712013-01-24 Ulrich Weigand  <[email protected]>
9172
9173 * symtab.c (skip_prologue_using_sal): Consider a file
9174 change the same as an increased line number
9175
63da4037
TD
91762013-01-24 Tiago Stürmer Daitx  <[email protected]>
9177
30e8ee25 9178 * MAINTAINERS (Write After Approval): Add myself to the list.
63da4037 9179
45e6c716
TT
91802013-01-24 Tom Tromey <[email protected]>
9181
9182 * ada-lang.h (ada_decode_symbol): Make return type const.
9183 * ada-lang.c (ada_decode_symbol): Likewise.
9184
b1ae631a
DE
91852013-01-23 Doug Evans <[email protected]>
9186
9187 * linespec.c (find_linespec_symbols): Make static.
9188
55a78401
SDJ
91892013-01-23 Tiago Stürmer Daitx <[email protected]>
9190
9191 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
9192 type on float conversion for complex type.
9193
bea883fd
SCR
91942013-01-23 Siva Chandra Reddy <[email protected]>
9195
9196 Add a new class gdb.Architecture which exposes GDB's
9197 internal representation of architecture via GDB Python API.
9198 * Makefile.in: Add entries corresponding to the new file
9199 python/py-arch.c.
9200 * NEWS (Python Scripting): Add entries for the new class
9201 gdb.Architecture and the new method gdb.Frame.architecture.
9202 * python/py-arch.c: Implement gdb.Architecture class.
9203 * python/py-frame.c (frapy_arch): Implement the method
9204 gdb.Frame.architecture().
9205 (frame_object_methods): Add 'architecture' to the method table.
9206 * python/python-internal.h: Add declarations of new utility
9207 functions.
9208 * python/python.c (_initialize_python): Initialize
9209 gdb.Architecture class.
9210
796a7ff8
DE
92112013-01-23 Doug Evans <[email protected]>
9212
9213 Work around binutils/15021.
9214 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
9215 type_unit_group out of union s. All uses updated.
9216 (read_index_from_section): Watch for index version 8.
9217 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
9218 an imported symtab.
9219 (write_psymtabs_to_index): Increment version number to 8.
9220
0928e93d
PA
92212013-01-22 Pedro Alves <[email protected]>
9222
9223 * annotate.c (breakpoint_changed): Skip if breakpoint is not
9224 user-visible.
9225
9c97429f
PA
92262013-01-22 Pedro Alves <[email protected]>
9227
9228 * annotate.c (annotate_breakpoints_changed): Rename to ...
9229 (annotate_breakpoints_invalid): ... this. Make static.
9230 (breakpoint_changed): Adjust.
9231 (_initialize_annotate): Always install the observers. Install a
9232 "breakpoint_created" observer.
9233 * annotate.h (annotate_breakpoints_changed): Delete declaration.
9234 * breakpoint.c (set_breakpoint_condition)
9235 (breakpoint_set_commands, do_map_commands_command)
9236 (init_raw_breakpoint, clear_command, set_ignore_count)
9237 (enable_breakpoint_disp): No longer call
9238 annotate_breakpoints_changed.
9239
bd00c694
PA
92402013-01-22 Pedro Alves <[email protected]>
9241
9242 * annotate.c: Include "inferior.h".
9243 (frames_invalid_emitted)
9244 (breakpoints_invalid_emitted): New globals.
9245 (async_background_execution_p): New function.
9246 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
9247 emitting the annotation if it has already been emitted.
9248 (annotate_display_prompt): New function.
9249 * annotate.h (annotate_display_prompt): New declaration.
9250 * event-top.c: Include annotate.h.
9251 (display_gdb_prompt): Call annotate_display_prompt.
9252
187d10dd
PA
92532013-01-22 Pedro Alves <[email protected]>
9254
9255 * annotate.c (ignore_count_changed): Delete.
9256 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
9257 (annotate_ignore_count_change): Delete.
9258 (annotate_stopped): Don't emit a delayed breakpoints-changed
9259 annotation.
9260 * annotate.h (annotate_ignore_count_change): Delete.
9261 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
9262 annotate_ignore_count_change.
9263
d84cf7eb
TT
92642013-01-22 Tom Tromey <[email protected]>
9265
9266 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
9267 require_rvalue for a register location.
9268
8f1d5693
MK
92692013-01-21 Marc Khouzam <[email protected]>
9270
9271 * breakpoint.c (print_one_breakpoint_location): Add MI
9272 field 'thread-groups' when printing a breakpoint.
9273 (output_thread_groups): New function.
9274
aa6199c6
SCR
92752013-01-21 Siva Chandra Reddy <[email protected]>
9276
9277 * python/lib/gdb/commands/explore.py
9278 (CompoundExplorer.explore_expr): Correct the name of a method
9279 being invoked.
9280 (ExploreTypeCommand.invoke): Add a missing 'return'.
9281
d2afef13
TT
92822013-01-21 Tom Tromey <[email protected]>
9283
9284 * gdb_obstack.h (obconcat): Move declaration here, from...
9285 * symfile.h (obconcat): ... here.
9286 * gdb_obstack.c: New file.
9287 (obconcat): Move from...
9288 * symfile.c (obconcat): ... here.
9289 * Makefile.in (SFILES): Add gdb_obstack.c.
9290 (COMMON_OBS): Add gdb_obstack.o.
9291
10f0c4bb
TT
92922013-01-21 Tom Tromey <[email protected]>
9293
9294 * symfile.h (obsavestring): Don't declare.
9295 * symfile.c (obsavestring): Remove.
9296 * ada-exp.y: Use obstack_copy0, not obsavestring.
9297 * ada-lang.c: Use obstack_copy0, not obsavestring.
9298 * coffread.c: Use obstack_copy0, not obsavestring.
9299 * cp-namespace.c: Use obstack_copy0, not obsavestring.
9300 * dbxread.c: Use obstack_copy0, not obsavestring.
9301 * dwarf2read.c: Use obstack_copy0, not obsavestring.
9302 * jit.c: Use obstack_copy0, not obsavestring.
9303 * mdebugread.c: Use obstack_copy0, not obsavestring.
9304 * psymtab.c: Use obstack_copy0, not obsavestring.
9305 * stabsread.c: Use obstack_copy0, not obsavestring.
9306 * xcoffread.c: Use obstack_copy0, not obsavestring.
9307
86f62fd7
TT
93082013-01-21 Tom Tromey <[email protected]>
9309
9310 * dwarf2read.c (fixup_go_packaging): Save package name
9311 on objfile obstack.
9312 * gdbtypes.c (init_type): Don't copy name.
9313
15d034d0
TT
93142013-01-21 Tom Tromey <[email protected]>
9315
9316 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
9317 const.
9318 (struct attribute) <u.str>: Now const.
9319 (struct fnfieldlist) <name>: Now const.
9320 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
9321 (partial_die_parent_scope): Make return type const.
9322 (partial_die_full_name, add_partial_symbol): Update.
9323 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
9324 'name' const.
9325 (find_file_and_directory): Make 'name' and 'comp_dir' const.
9326 (read_file_scope, read_func_scope, dwarf2_add_field)
9327 (dwarf2_add_member_fn, read_structure_type)
9328 (process_enumeration_scope, read_array_type, read_module_type)
9329 (read_base_type, read_subrange_type): Update.
9330 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
9331 (new_symbol_full, guess_full_die_structure_name): Update.
9332 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
9333 (dwarf2_name): Return const type.
9334 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
9335 const.
9336
748e18ae
TT
93372013-01-21 Tom Tromey <[email protected]>
9338
9339 * gdbtypes.c (init_type): Make 'name' const.
9340 * gdbtypes.h (init_type): Update.
9341
46212e0b
TT
93422013-01-21 Tom Tromey <[email protected]>
9343
9344 * buildsym.c (patch_subfile_names): Use set_last_source_file.
9345 (start_symtab): Make 'name' and 'dirname' const. Use
9346 set_last_source_file.
9347 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
9348 (last_source_file): Define. Now static.
9349 (set_last_source_file, get_last_source_file): New functions.
9350 * buildsym.h (last_source_file): Don't declare.
9351 (start_symtab): Update.
9352 (set_last_source_file, get_last_source_file): Declare.
9353 * coffread.c (complete_symtab): Use set_last_source_file.
9354 (coff_end_symtab): Likewise.
9355 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
9356 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
9357 set_last_source_file.
9358 (process_one_symbol): Use get_last_source_file.
9359 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
9360 (psymtab_to_symtab_1): Use get_last_source_file.
9361 * xcoffread.c (process_linenos): Use get_last_source_file.
9362 (complete_symtab): Use set_last_source_file.
9363 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
9364 (scan_xcoff_symtab): Use set_last_source_file.
9365
9d2ceabe
TT
93662013-01-21 Tom Tromey <[email protected]>
9367
9368 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
9369 (symbol_set_names): Remove casts. Handle field const-ness.
9370
cfc594ee
TT
93712013-01-21 Tom Tromey <[email protected]>
9372
9373 * dwarf2read.c (new_symbol_full): Remove cast.
9374 * symtab.c (symbol_set_demangled_name): Make 'name' const.
9375 * symtab.h (symbol_set_demangled_name): Update.
9376
5484b13a
TT
93772013-01-21 Tom Tromey <[email protected]>
9378
9379 * main.c (captured_main): Call bfd_init.
9380
1605ef26
TT
93812013-01-21 Tom Tromey <[email protected]>
9382
9383 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
9384 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
9385 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
9386 * NEWS: Update.
9387
3b74cdc3
JK
93882013-01-21 Jan Kratochvil <[email protected]>
9389
9390 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
9391
5a352474
JK
93922013-01-21 Jan Kratochvil <[email protected]>
9393
9394 Fix gdb.fortran/common-block.exp crash in PIE mode.
9395 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
9396 LOC_COMMON_BLOCK.
9397 * f-valprint.c (info_common_command_for_block): Expect
9398 LOC_COMMON_BLOCK in gdb_assert.
9399 * symtab.h (struct general_symbol_info): Update comment for the
9400 common_block member.
9401 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
9402 (enum address_class): New member LOC_COMMON_BLOCK.
9403
c60797fd
DB
94042013-01-18 David Blaikie <[email protected]>
9405
9406 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 9407
46f35228
TT
94082013-01-18 Tom Tromey <[email protected]>
9409
9410 PR c++/14999:
9411 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
9412 Call require_rvalue.
9413
257e7a09
YQ
94142013-01-18 Yao Qi <[email protected]>
9415
9416 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
9417 (dbx_read_symtab): New declaration.
9418 (dbx_psymtab_to_symtab): Delete.
9419 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
9420 Rename parameter PST to SELF. Exchanged two parameters.
9421 (start_psymtab): Caller update.
9422 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
9423 (dwarf2_read_symtab): New declaration.
9424 (dwarf2_psymtab_to_symtab): Delete.
9425 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
9426 Rename parameter PST to SELF. Exchanged two parameters.
9427 (create_partial_symtab): Caller update.
9428 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
9429 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
9430 Rename parameter PST to SELF. Exchanged two parameters.
9431 (parse_partial_symbols, new_psymtab): Caller update.
9432 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
9433 two parameters.
9434 * psymtab.c (psymtab_to_symtab): Caller update.
9435 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
9436 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
9437 Rename parameter PST to SELF. Exchanged two parameters.
9438 (xcoff_start_psymtab): Caller update.
9439
0de5618e
YQ
94402013-01-18 Yao Qi <[email protected]>
9441
9442 * infrun.c (proceed): Rename local variable 'oneproc' to
9443 'force_step'.
9444
5c04624b
DE
94452013-01-17 Doug Evans <[email protected]>
9446
848e3e78
DE
9447 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
9448 (dw2_build_type_unit_groups): Delete. All uses updated.
9449
5c04624b
DE
9450 * symtab.h (struct symbol_search): Add comment.
9451
d84fca2c
JK
94522013-01-17 Jan Kratochvil <[email protected]>
9453
9454 * symtab.c (compare_filenames_for_search): New comment for
9455 HAS_DRIVE_SPEC.
9456
6108433d
TT
94572013-01-17 Tom Tromey <[email protected]>
9458
9459 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
9460
c89ffd86
JK
94612013-01-17 Jan Kratochvil <[email protected]>
9462
9463 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
9464 initialize it by existing make_cleanup. Call new do_cleanups.
9465
db2b2972
TT
94662013-01-17 Tom Tromey <[email protected]>
9467
9468 * cp-abi.c (cp_abi_completer): New function.
9469 (_initialize_cp_abi): Set completer for "set cp-abi".
9470
be7d37a2
TT
94712013-01-17 Tom Tromey <[email protected]>
9472
9473 * mem-break.c: Remove obsolete comment.
9474 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
9475
c9fb1240
SD
94762012-01-17 Sanjoy Das <[email protected]>
9477
9478 * jit.c (jit_reader_load_command): Interpret the jit reader name
9479 as an absolute path if it begins with a forward slash.
9480
db334a01
SD
94812012-01-17 Sanjoy Das <[email protected]>
9482
9483 PR gdb/14550
9484
9485 * jit.c (finalize_symtab): Ensure that only the global block has a
9486 NULL superblock.
9487
7d928dac
PA
94882013-01-17 Pedro Alves <[email protected]>
9489
9490 * acinclude.m4: Include ../config/plugins.m4,
9491 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
9492 * Makefile.in (aclocal_m4_deps): Update.
9493 * aclocal.m4: Renegerate.
9494
fb8cf7c5
DE
94952013-01-16 Doug Evans <[email protected]>
9496
9497 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
9498
ab04a2af
TT
94992013-01-16 Pedro Alves <[email protected]>
9500 Tom Tromey <[email protected]>
9501
9502 PR cli/7221:
9503 * NEWS: Add "catch signal".
9504 * breakpoint.c (base_breakpoint_ops): No longer static.
9505 (bpstat_explains_signal): New function.
9506 (init_catchpoint): No longer static.
9507 (base_breakpoint_explains_signal): New function.
9508 (base_breakpoint_ops): Initialize new field.
9509 * breakpoint.h (enum bpstat_signal_value): New.
9510 (struct breakpoint_ops) <explains_signal>: New field.
9511 (bpstat_explains_signal): Remove macro, declare as function.
9512 (base_breakpoint_ops, init_catchpoint): Declare.
9513 * break-catch-sig.c: New file.
9514 * inferior.h (signal_catch_update): Declare.
9515 * infrun.c (signal_catch): New global.
9516 (handle_syscall_event): Update for change to
9517 bpstat_explains_signal.
9518 (handle_inferior_event): Likewise. Always handle random signals
9519 via bpstats.
9520 (signal_cache_update): Check signal_catch.
9521 (signal_catch_update): New function.
9522 (_initialize_infrun): Initialize signal_catch.
9523 * Makefile.in (SFILES): Add break-catch-sig.c.
9524 (COMMON_OBS): Add break-catch-sig.o.
9525
8ac3646f
TT
95262013-01-16 Tom Tromey <[email protected]>
9527
9528 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
9529 (print_one_catch_solib, print_one_catch_syscall)
9530 (print_one_catch_exec, print_one_exception_catchpoint): Emit
9531 "catch-type".
9532
5a18e302
YQ
95332013-01-16 Yao Qi <[email protected]>
9534
9535 * printcmd.c (current_display_number): Make it static.
9536
3f01d0d0
YQ
95372013-01-16 Yao Qi <[email protected]>
9538
9539 * infcmd.c (step_once): Don't check '!single_inst' as it was
9540 checked before.
9541
1ed59174
JK
95422013-01-15 Jan Kratochvil <[email protected]>
9543
9544 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
9545
44478ab3
TT
95462013-01-14 Tom Tromey <[email protected]>
9547
9548 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
9549 set command.
9550 * command.h (add_setshow_string_noescape_cmd): Update.
9551 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
9552 (complete_set_gnutarget): New function.
9553 (_initialize_core): Set the "set gnutarget" completer.
9554
06d66ee9
TT
95552013-01-14 Tom Tromey <[email protected]>
9556
9557 PR symtab/14442:
9558 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
9559 (c_type_print_modifier): Likewise.
9560 * dwarf2read.c (read_tag_restrict_type): New function.
9561 (read_type_die_1): Handle DW_TAG_restrict_type.
9562 * gdbtypes.c (make_restrict_type): New function.
9563 (recursive_dump_type): Handle TYPE_RESTRICT.
9564 * gdbtypes.h (enum type_flag_values): Renumber.
9565 (enum type_instance_flag_value): Add
9566 TYPE_INSTANCE_FLAG_RESTRICT.
9567 (TYPE_RESTRICT): New macro.
9568 (make_restrict_type): Declare.
9569
c9bf0622
TT
95702013-01-14 Tom Tromey <[email protected]>
9571
9572 PR symtab/14931:
9573 * psymtab.c (struct psymtab_state): New.
9574 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
9575 functions.
9576 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
9577 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
9578
44d594fd
PA
95792013-01-14 Richard Sharman <[email protected]>
9580 Pedro Alves <[email protected]>
9581
9582 PR remote/14786
9583
9584 * remote.c (remote_threads_info): Make a copy of the reply from
9585 qfThreadInfo and use that instead of rs->buf.
9586
442e4d9c
YQ
95872013-01-14 Yao Qi <[email protected]>
9588
9589 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
9590 (dbx_psymtab_to_symtab): Likewise.
9591 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
9592 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
9593 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
9594
5b12a61c
JK
95952013-01-13 Jan Kratochvil <[email protected]>
9596
9597 * parse.c (parse_exp_in_context): New variable inner_chain. Call
9598 make_cleanup_restore_current_language. Call set_language. Move
9599 OLD_CHAIN and INNER_CHAIN cleanups.
9600 * utils.c (do_restore_current_language)
9601 (make_cleanup_restore_current_language): New functions.
9602 * utils.h (make_cleanup_restore_current_language): New declaration.
9603
f0a4b570
JK
96042013-01-13 Jan Kratochvil <[email protected]>
9605
9606 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
9607 non-existing files.
9608
57b3c00c
JK
9609 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
9610 non-existing files if FILENAME is already absolute.
9611
daefa854
JK
96122013-01-11 Jan Kratochvil <[email protected]>
9613
9614 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
9615 fputs_filtered. Append trailing newline.
9616
ca9c6ee2
YQ
96172013-01-11 Yao Qi <[email protected]>
9618 Stan Shebs <[email protected]>
9619
9620 * psymtab.c (init_psymbol_list): Clarify the comment.
9621
f28045c2
YQ
96222013-01-11 Yao Qi <[email protected]>
9623
9624 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
9625 (update_dprintf_command_list): Assert that 'printf_line' is
9626 non-null. Remove condition check.
9627
da5132d3
JK
96282013-01-10 Jan Kratochvil <[email protected]>
9629
9630 Code cleanup.
9631 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
9632 type const char *.
9633 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
9634 const char *.
9635 * tui/tui-source.h (tui_source_is_displayed): Likewise.
9636
843e694d
AG
96372013-01-09 Anthony Green <[email protected]>
9638
9639 * cp-abi.c (cplus_print_vtable): Don't return value from void
9640 function.
9641 * ada-lang.c (re_set_catch_assert): Ditto.
9642
da51c347
DE
96432013-01-09 Doug Evans <[email protected]>
9644
9645 * symfile.h (quick_symbol_functions): Delete member
9646 pre_expand_symtabs_matching. All uses removed.
9647 * dwarf2read.c (dw2_lookup_symbol): Implement.
9648 (dw2_do_expand_symtabs_matching): Delete.
9649 (dw2_pre_expand_symtabs_matching): Delete.
9650 (struct dw2_symtab_iterator): New type.
9651 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
9652 (dw2_expand_symtabs_for_function): Rewrite.
9653 (dwarf2_gdb_index_functions): Update.
9654 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
9655 (psym_functions): Update.
9656
b2259038
TT
96572013-01-09 Tom Tromey <[email protected]>
9658
9659 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
9660 * configure: Rebuild.
9661 * configure.ac: Add somread.o to the build if BFD has SOM
9662 support.
9663 * somread.c: Include som/aout.h, not syms.h.
9664 (som_symtab_read): Use som_external_symbol_dictionary_record.
9665 Unpack records manually.
9666 (_initialize_somread): Declare.
9667
bdad4180
MF
96682012-01-08 Mike Frysinger <[email protected]>
9669
9670 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
9671 Cast return_address to 64bits.
9672
03cdf680
HZ
96732013-01-08 Hui Zhu <[email protected]>
9674
9675 * printcmd.c: Remove define of function output_command.
9676 * tracepoint.c: Remove extern of function output_command.
9677 * valprint.h: (output_command): New extern.
9678
8a808554
TT
96792013-01-07 Tom Tromey <[email protected]>
9680
9681 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
9682 Remove.
9683 (objc_language_defn): Use c_printchar, c_printstr,
9684 c_emit_char.
9685
e93a8774
TT
96862013-01-07 Tom Tromey <[email protected]>
9687
9688 PR cli/7719:
9689 * NEWS: Update.
9690 * ada-valprint.c (printstr, print_field_values): Remove
9691 "inspect_it" code.
9692 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
9693 code.
9694 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
9695 code.
9696 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
9697 * main.c (captured_main): Remove "epoch" argument.
9698 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
9699 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
9700 * p-valprint.c (pascal_object_print_value_fields): Remove
9701 "inspect_it" code.
9702 * printcmd.c (print_command_1): Remove 'inspect' argument.
9703 (print_command, call_command): Update.
9704 (inspect_command): Remove.
9705 (_initialize_printcmd): Make "inspect" an alias for "print".
9706 * top.c (epoch_interface): Remove.
9707 * top.h (epoch_interface): Remove.
9708 * valprint.c (user_print_options): Update.
9709 (print_converted_chars_to_obstack): Remove "inspect_it" code.
9710 * valprint.h (struct value_print_options) <inspect_it>: Remove
9711 field.
9712
97132013-01-04 Tom Tromey <[email protected]>
9714
9715 * valprint.h (read_string): Add 'extern'.
9716
b967eb24
JB
97172013-01-07 Joel Brobecker <[email protected]>
9718
9719 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
9720 used to decide whether to define darwin_read_dyld_info or not.
9721
78a8b30e
PM
97222013-01-03 Pierre Muller <[email protected]>
9723
9724 * main.c (relocate_gdb_directory): Avoid calling stat function
9725 if DIR is empty.
9726
50da2f25
YQ
97272013-01-03 Yao Qi <[email protected]>
9728
9729 * psymtab.c (fixup_psymbol_section): Update declaration.
9730 (fixup_psymbol_section): Remove code returning value.
9731
e7e8980f
YQ
97322013-01-03 Yao Qi <[email protected]>
9733
9734 * symtab.h: Remove some out of date comments.
9735 (enum exception_event_kind): Move it ...
9736 * breakpoint.c: ... here.
9737
569283d4
MF
97382013-01-02 Iain Sandoe <[email protected]>
9739
9f9d9a96 9740 PR gdb/14405
569283d4
MF
9741 * darwin-nat.c (darwin_read_dyld_info): Only build if
9742 TASK_DYLD_INFO_COUNT is defined.
9743 (darwin_xfer_partial): Call darwin_read_dyld_info only if
9744 TASK_DYLD_INFO_COUNT is defined.
9745
2e36fbea
TT
97462013-01-02 Tom Tromey <[email protected]>
9747
9748 * symfile.h (struct ecoff_debug_hack): Remove.
9749 * objfiles.c: Don't include mdebugread.h.
9750
4f05add4
TT
97512013-01-02 Tom Tromey <[email protected]>
9752
9753 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
9754 * configure.ac: Check for Mach-O support in BFD. Update
9755 CONFIG_OBS.
9756 * configure: Rebuild.
9757
def63ff0
TT
97582013-01-02 Tom Tromey <[email protected]>
9759
9760 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
9761 * configure.ac: Use GDB_AC_CHECK_BFD.
9762 * configure: Rebuild.
9763
60c5dd93
MK
97642013-01-01 Maxim Kuvyrkov <[email protected]>
9765
9766 * MAINTAINERS: Update my email.
9767
6e58437e
JB
97682013-01-01 Joel Brobecker <[email protected]>
9769
9770 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
9771
627fe805
JB
97722013-01-01 Joel Brobecker <[email protected]>
9773
9774 * rs6000-nat.c (bss_data_overlap): New function.
9775 (vmap_symtab): Use it to adjust the .bss section's offset.
9776
28e7fd62
JB
97772013-01-01 Joel Brobecker <[email protected]>
9778
9779 Update year range in copyright notice of all files.
9780
e93a8774 97812013-01-01, 13 Joel Brobecker <[email protected]>
b9786c74
JB
9782
9783 * top.c (print_gdb_version): Update copyright year.
9784
72b20e9c 9785For older changes see ChangeLog-2012.
c906108c
SS
9786\f
9787Local Variables:
9788mode: change-log
9789left-margin: 8
9790fill-column: 74
9791version-control: never
57da7796 9792coding: utf-8
c906108c 9793End:
This page took 4.44879 seconds and 4 git commands to generate.