* mi/mi-cmd-break.c: Enforce coding standards, fix comments.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2b03b41d
SS
12012-03-06 Stan Shebs <stan@codesourcery.com>
2
3 * mi/mi-cmd-break.c: Enforce coding standards, fix comments.
4 * mi/mi-cmd-disas.c: Ditto.
5 * mi/mi-cmd-env.c: Ditto.
6 * mi/mi-cmd-file.c: Ditto.
7 * mi/mi-cmd-stack.c: Ditto.
8 * mi/mi-cmd-target.c: Ditto.
9 * mi/mi-cmd-var.c: Ditto.
10 * mi/mi-cmds.c: Ditto.
11 * mi/mi-cmds.h: Ditto.
12 * mi/mi-console.c: Ditto.
13 * mi/mi-getopt.c: Ditto.
14 * mi/mi-getopt.h: Ditto.
15 * mi/mi-interp.c: Ditto.
16 * mi/mi-main.c: Ditto.
17 * mi/mi-out.c: Ditto.
18 * mi/mi-parse.c: Ditto.
19 * mi/mi-parse.h: Ditto.
20 * mi/mi-symbol-cmds.c: Ditto.
21
22 * mi/mi-getopt.h: Move mi_opt struct up.
23 * mi/mi-main.c (captured_mi_execute_command): Remove redundant
24 return.
25 * mi/mi-out.c (_initialize_mi_out): Remove empty initialize.
26
c988ad87
TT
272012-03-06 Tom Tromey <tromey@redhat.com>
28
29 * proc-service.c (ps_pglobal_lookup): Set the current program
30 space.
31
1b7c1b10
PA
322012-03-06 Pedro Alves <palves@redhat.com>
33
34 * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>.
35
3c182069
JB
362012-03-05 Joel Brobecker <brobecker@adacore.com>
37
38 * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer.
39
2e794194
JK
402012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
41
42 Code cleanup.
43 * common/linux-osdata.c (linux_common_core_of_thread): New function
44 comment.
45 * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1
46 call by linux_common_core_of_thread.
47 (linux_nat_core_of_thread_1): Remove.
48 * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration.
49 * linux-thread-db.c: Include linux-osdata.h.
50 (update_thread_core): Replace linux_nat_core_of_thread_1 call by
51 linux_common_core_of_thread.
52
9f9f1f31
TT
532012-03-05 Tom Tromey <tromey@redhat.com>
54
55 * value.c (value_primitive_field): Don't fetch contents for
56 non-virtual bases.
57
b7b189f3
TT
582012-03-05 Tom Tromey <tromey@redhat.com>
59
60 * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'.
61
5538f557
JB
622012-03-05 Joel Brobecker <brobecker@adacore.com>
63
64 From Andreas Arnez <arnez@linux.vnet.ibm.com>:
65 * s390-nat.c: Include "gregset.h".
66
75528772
JK
672012-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
68
69 * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8.
70 [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define.
71 (libunwind_load): New variable so_error, use it for dlerror. Try to
72 load also LIBUNWIND_SO_7.
73
275418ae
PA
742012-03-05 Pedro Alves <palves@redhat.com>
75
76 * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer
77 is not NULL, and remove resulting dead code.
78
5cbb9812
TS
792012-03-05 Thomas Schwinge <thomas@codesourcery.com>
80
81 * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function
82 prologue to sh_analyze_prologue.
83 (sh_analyze_prologue): Make better use of such an upper limit, and
84 generally be more cautious about accessing memory.
85
541515ad
TT
862012-03-05 Tom Tromey <tromey@redhat.com>
87
88 * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
89 _initialize_ia64_hpux_tdep.
90
b4d36fb8
PA
912012-03-05 Pedro Alves <palves@redhat.com>
92
24490249
PA
93 PR gdb/13766
94
b4d36fb8
PA
95 * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
96 the register state is clear, supply explicit zero, instead of
97 marking the register unavailable.
98
60c9a3c0
TG
992012-03-05 Tristan Gingold <gingold@adacore.com>
100
101 * NEWS: Mention OpenVMS ia64 new target.
102
696759ad
TG
1032012-03-05 Tristan Gingold <gingold@adacore.com>
104
105 * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h.
106 (ia64_unw_accessors, ia64_unw_rse_accessors)
107 (ia64_libunwind_descr): Declare.
108 * ia64-vms-tdep.c: New file.
109 * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors)
110 (ia64_libunwind_descr): Make them public.
111 * configure.tgt: Add ia64-*-*vms*.
112 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o
113 (ALLDEPFILES): Add ia64-vms-tdep.c
114
34864976
TG
1152012-03-05 Tristan Gingold <gingold@adacore.com>
116
169081d0
TG
117 * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB.
118 * remote.c (PACKET_qXfer_uib): New enum value.
119 (remote_protocol_features): Add entry for PACKET_qXfer_uib.
120 (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB.
121 (_initialize_remote): Call add_packet_config_cmd for
122 xfer:uib packet.
123
1242012-03-05 Tristan Gingold <gingold@adacore.com>
125
126 * osabi.c (gdb_osabi_names): Add OpenVMS.
127 (generic_elf_osabi_sniffer): Likewise.
128 * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS.
34864976 129
6597b100
JK
1302012-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 Removed unused code.
133 * libunwind-frame.c (libunwind_frame_unwind)
134 (libunwind_frame_base_address): Remove.
135 * libunwind-frame.h (libunwind_frame_base_address): Remove declaration.
136
87399aa1
YQ
1372012-03-04 Yao Qi <yao@codesourcery.com>
138
139 * common/agent.c (gdb_connect_sync_socket): Add _ markup and
140 remove trailing new line.
141 (agent_run_command, agent_run_command): Add _ markup.
142 (agent_capability_check): Likewise.
143
abf1152a
JK
1442012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
145
146 * breakpoint.c (set_condition_evaluation_mode): Set
147 CONDITION_EVALUATION_MODE unconditionally.
148
5808517f
YQ
1492012-03-03 Yao Qi <yao@codesourcery.com>
150
151 * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'.
152 * common/agent.h: Update declaration.
153 * inf-child.c (inf_child_use_agent): New.
154 (inf_child_can_use_agent): New.
155 (inf_child_target): Initialize fields `to_use_agent'
156 and `to_can_use_agent'.
157 * agent.c (agent_new_objfile): New.
89b7509a 158 (_initialize_agent): Add agent_new_objfile to new_objfile
5808517f
YQ
159 observer.
160
161 * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
162 New.
89b7509a 163 (linux_target_install_ops): Initialize field
5808517f
YQ
164 `to_static_tracepoint_markers_by_strid'.
165 * remote.c (free_current_marker): Move it to ...
166 * tracepoint.c (free_current_marker): ... here. New.
167 (cleanup_target_stop): New.
168 * tracepoint.h: Declare free_current_marker.
169 * NEWS: Add one entry about `info static-tracepoint-marker'.
170
58b4daa5
YQ
1712012-03-03 Yao Qi <yao@codesourcery.com>
172
173 * common/agent.c (agent_loaded_p): New.
89b7509a 174 (agent_look_up_symbols): New global.
58b4daa5
YQ
175 * common/agent.h: Declare agent_loaded_p.
176
8ffcbaaf
YQ
1772012-03-03 Yao Qi <yao@codesourcery.com>
178
179 * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New.
180 (agent_capability_check, agent_capability_invalidate): New.
181 (symbol_list): New array element.
182 * common/agent.h (enum agent_capa): New.
183 * target.c (target_pre_inferior): Call agent_capability_invalidate.
184
d1feda86
YQ
1852012-03-03 Yao Qi <yao@codesourcery.com>
186
187 * target.h (struct target_ops) <to_use_agent>: New field.
188 (struct target_ops) <to_can_use_agent>: New field.
189 (target_use_agent, target_can_use_agent): New macro.
190 * target.c (update_current_target): Update.
191 * remote.c: New enum `PACKET_QAgent'.
192 (remote_protocol_features): Add a new element.
193 (remote_use_agent, remote_can_use_agent): New.
194 (init_remote_ops): Initialize field `can_use_agent' with
195 remote_can_use_agent. Intiailize field `use_agent' with
196 remote_use_agent.
197 * common/agent.c (use_agent): New global.
198 * common/agent.h: Declare it.
199 * tracepoint.c (info_static_tracepoint_markers_command): Add
200 comment.
201 * Makefile.in (SFILES): Add common/agent.c and agent.c.
202 (COMMON_OBS): Add common/agent.o and agent.o
203 (common-agent.o): New rule.
204 * agent.c: New.
205
2fa291ac
YQ
2062012-03-03 Yao Qi <yao@codesourcery.com>
207
208 * common/agent.c: New.
209 * common/agent.h: New.
210 * configure.ac: Add `sys/socket.h' and `sys/un.h' to
211 AC_CHECK_HEADERS.
212 * configure, configh.in: Regenerated.
213
9fc05685
KB
2142012-03-02 Kevin Buettner <kevinb@redhat.com>
215
216 * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
217 unless it exists for this architecture.
218
a5ee536b
JB
2192012-03-02 Joel Brobecker <brobecker@adacore.com>
220
221 * language.h (struct language_defn): New "method" la_read_var_value.
222 * findvar.c: #include "language.h".
223 (default_read_var_value): Renames read_var_value. Rewrite
224 function description.
225 (read_var_value): New function.
226 * value.h (default_read_var_value): Add prototype.
227 * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value):
228 New functions.
229 (ada_language_defn): Add entry for la_read_var_value.
230 * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c,
231 * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update
232 language_defn structures to add entry for new la_read_var_value
233 field.
234
f59f708a
PA
2352012-03-02 Tom Tromey <tromey@redhat.com>
236 Pedro Alves <palves@redhat.com>
237
238 PR breakpoints/13776:
239 * breakpoint.c (breakpoint_init_inferior): Delete step-resume
240 breakpoints.
241 (delete_longjmp_breakpoint_at_next_stop): New.
242 * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
243 * target.c (generic_mourn_inferior): Call mark_breakpoints_out
244 before deleting the inferior. Add comments.
245 * thread.c (clear_thread_inferior_resources): Don't delete lonjmp
246 breakpoints immediately, but only on next stop. Move that code
247 next to where we mark other breakpoints for deletion.
248
44099a67
JB
2492012-03-02 Joel Brobecker <brobecker@adacore.com>
250
251 * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
252 marker.
253 * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
254 violation.
255
2a2ef594
PA
2562012-03-02 Pedro Alves <palves@redhat.com>
257
258 * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
259
b261e0c5
UW
2602012-03-02 Ulrich Weigand <uweigand@de.ibm.com>
261
262 Fix -Wmissing-prototypes build.
263 * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static.
264 * remote-sim.c (gdbsim_has_all_memory): Likewise.
265 (gdbsim_has_memory): Likewise.
266
a95babbf
YQ
2672012-03-02 Yao Qi <yao@codesourcery.com>
268
269 Fix -Wmissing-prototypes build.
270 * charset.c (phony_iconv_open): Make static.
271 (phony_iconv_close, phony_iconv): Likewise.
272 * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
273 * i386-windows-nat.c (_initialize_i386_windows_nat): New
274 prototype.
275 * mingw-hdep.c (_initialize_mingw_hdep): New prototype.
276 * ser-mingw.c (create_select_thread): Make static.
277 * windows-termcap.c (tgetent): New prototype.
278 (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
279
d603d4b3
JK
2802012-03-02 Zhang Yuanhui <asmwarrior@gmail.com>
281
282 Fix -Wmissing-prototypes build.
283 * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static.
284 (_initialize_windows_nat, _initialize_check_for_gdb_ini)
285 (_initialize_loadable): New prototypes.
286
7fb3ad1f
DE
2872012-03-02 Doug Evans <dje@google.com>
288
289 * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of
290 abbrev table, read_comp_unit will do it.
291
693be288
JK
2922012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 Fix -Wmissing-prototypes build.
295 * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static.
296 * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype.
297 * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise.
298 * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static.
299 (_initialize_arm_symbian_tdep): New prototype.
300 * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static.
301 * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype.
302 * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it
303 static.
304 * lm32-tdep.c (_initialize_lm32_tdep): New prototype.
305 * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New
306 prototype.
307 * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction)
308 (microblaze_skip_prologue, microblaze_frame_cache): Make them static.
309 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it
310 static.
311 * moxie-tdep.c (moxie_process_record): Likewise.
312 * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint)
313 (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static.
314 * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static.
315 (_initialize_rl78_tdep): New prototype.
316 * rx-tdep.c (rx_breakpoint_from_pc): Make it static.
317 (_initialize_rx_tdep): New prototype.
318 * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static.
319 (_initialize_darwin_solib): New prototype.
320 * solib-spu.c: Include solib-spu.h.
321 (_initialize_spu_solib): New prototype.
322 * spu-multiarch.c (_initialize_spu_multiarch): New prototype.
323 * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue)
324 (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache)
325 (tic6x_software_single_step): Make it static.
326 (_initialize_tic6x_tdep): New prototype.
327
638234e5
JK
3282012-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
329
330 Fix -Wmissing-prototypes build.
331 * cris-tdep.c (cris_can_use_hardware_watchpoint)
332 (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove.
333
f4a6f16d
JK
3342012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
335
336 Fix -Wmissing-prototypes build.
337 * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address)
338 (frv_have_stopped_data_address): Remove.
339
04dcf5fa
JK
3402012-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
341
342 Fix -Wmissing-prototypes build.
343 * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h.
344 * sh-tdep.c: Include sh64-tdep.h.
345 * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations.
346 * sh64-tdep.c: Include sh64-tdep.h.
347 * sh64-tdep.h: New file.
348
19080931
MR
3492012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
350
351 * mips-tdep.c (mips32_scan_prologue): Correct indentation.
352
9aac7884
MR
3532012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
354
355 * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and
356 sp_regnum once the gdbarch_init_osabi hook has been called.
357
a385295e
MR
3582012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
359
360 * mips-tdep.c (mips32_bc1_pc): New function.
361 (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T,
362 BPOSGE32 and BPOSGE64 instructions.
363 (deal_with_atomic_sequence): Likewise.
364 (mips32_instruction_has_delay_slot): Likewise.
365
1faeff08
MR
3662012-03-01 Maciej W. Rozycki <macro@mips.com>
367 Chris Dearman <chris@mips.com>
368 Maciej W. Rozycki <macro@codesourcery.com>
369 Joseph Myers <joseph@codesourcery.com>
370
371 * features/mips-dsp.xml: New file.
372 * features/mips64-dsp.xml: New file.
373 * features/mips-dsp-linux.xml: New file.
374 * features/mips64-dsp-linux.xml: New file.
375 * features/Makefile (WHICH): Add mips-dsp-linux and
376 mips64-dsp-linux.
377 (mips-dsp-expedite, mips64-dsp-expedite): New variables.
378 * features/mips-dsp-linux.c: New file.
379 * features/mips64-dsp-linux.c: New file.
380 * regformats/mips-dsp-linux.dat: New file.
381 * regformats/mips64-dsp-linux.dat: New file.
382 * mips-linux-nat.c (mips_linux_register_addr): Handle DSP
383 registers.
384 (mips64_linux_register_addr): Likewise.
385 (mips64_linux_regsets_fetch_registers): Likewise.
386 (mips64_linux_regsets_store_registers): Likewise.
387 (mips64_linux_fetch_registers): Update call to
388 mips64_linux_regsets_fetch_registers.
389 (mips64_linux_store_registers): Update call to
390 mips64_linux_regsets_store_registers.
391 (mips_linux_read_description): Probe for DSP registers.
392 (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux
393 and initialize_tdesc_mips64_dsp_linux.
394 * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset):
395 Remove padding of no longer used embedded register slots.
396 * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros.
397 (MIPS_RESTART_REGNUM): Redefine enum value.
398 * mips-tdep.c (mips_generic_reg_names): Remove trailing null
399 strings.
400 (mips_tx39_reg_names): Likewise.
401 (mips_linux_reg_names): New array of register names for Linux
402 targets.
403 (mips_register_name): Check for a null pointer in
404 mips_processor_reg_names and return an empty string.
405 (mips_register_type): Exclude embedded registers for the IRIX
406 and Linux ABIs.
407 (mips_pseudo_register_type): Likewise. Use dynamic numbers to
408 refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle
409 DSP registers.
410 (mips_stab_reg_to_regnum): Handle DSP accumulators.
411 (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise.
412 (mips_gdbarch_init): Likewise. Initialize internal register
413 indices for the Linux ABI. Use dynamic numbers to refer to
414 registers, as applicable, while parsing the target description.
415 * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets.
416
263689d8
JB
4172012-03-01 Joel Brobecker <brobecker@adacore.com>
418
419 * frame.h (read_frame_register_unsigned): Fix typo in function
420 description.
421
f3b4f45c
PA
4222012-03-01 Pedro Alves <palves@redhat.com>
423
424 * jit-reader.in [!__cplusplus]
425 (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash.
426
b03a2011
PA
4272012-03-01 Pedro Alves <palves@redhat.com>
428
429 * configure.ac (build_warnings): Add -Wmissing-prototypes.
430 * configure: Regenerate.
431
70221824
PA
4322012-03-01 Pedro Alves <palves@redhat.com>
433
434 * amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
435 * breakpoint.c (create_exception_master_breakpoint, trace_command)
436 (ftrace_command, strace_command): Make static.
437 * d-lang.c (_initialize_d_language): Declare.
438 * dwarf2expr.c (_initialize_dwarf2expr): Declare.
439 * dwarf2loc.c (_initialize_dwarf2loc):
440 * dwarf2read.c (process_psymtab_comp_unit): Make static.
441 * exec.c (exec_get_section_table): Make static.
442 * i386-linux-tdep.c (i386_linux_record_signal): Make static.
443 * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
444 * inferior.c (remove_inferior_command, add_inferior_command)
445 (clone_inferior_command): Make static.
446 * linux-nat.c (linux_nat_thread_address_space)
447 (linux_nat_core_of_thread): Make static.
448 * linux-tdep.c (_initialize_linux_tdep): Declare.
449 * objc-lang.c (_initialize_objc_lang): Declare.
450 * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
451 Make static.
452 (_initialize_opencl_language): Declare.
453 * record.c (_initialize_record): Declare.
454 * remote.c (demand_private_info, remote_get_tib_address)
455 (remote_supports_cond_tracepoints)
456 (remote_supports_fast_tracepoints, remote_get_tracepoint_status):
457 Make static.
458 * skip.c (_initialize_step_skip): Declare.
459 * symtab.c (skip_prologue_using_lineinfo): Make static.
460 * tracepoint.c (delete_trace_state_variable)
461 (trace_variable_command, delete_trace_variable_command)
462 (get_uploaded_tsv, find_matching_tracepoint_location)
463 (find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
464 Make static.
465 * value.c (pack_unsigned_long): Make static.
466 * varobj.c (varobj_ensure_python_env): Make static.
467 * windows-tdep.c (_initialize_windows_tdep): Declare.
468 * xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
469
33fbcbee
PA
4702012-03-01 Pedro Alves <palves@redhat.com>
471
472 * linux-tdep.c (linux_has_shared_address_space): Make static. Add
473 gdbarch parameter.
474 (linux_init_abi): Install it as has_shared_address_space gdbarch
475 callback.
476
44d0cd3b
PA
4772012-03-01 Pedro Alves <palves@redhat.com>
478
479 * observer.c (observer_test_first_notification_function)
480 (observer_test_second_notification_function)
481 (observer_test_third_notification_function): Add declarations.
482
ed01b82c
PA
4832012-03-01 Pedro Alves <palves@redhat.com>
484
485 * common/signals.c (default_target_signal_to_host)
486 (default_target_signal_from_host): Move ...
487 * arch-utils.c: ... here.
488 * arch-utils.h (default_target_signal_to_host)
489 (default_target_signal_from_host): Declare.
490
491 * common/signals.c (target_signal_from_command): Move ...
492 * infrun.c: ... here.
493 * inferior.h (target_signal_from_command): Declare.
494 * target.h (target_signal_from_command)
495 (default_target_signal_from_host, default_target_signal_to_host):
496 Delete declarations.
497
498 * common/signals.c (_initialize_signals): Delete.
499
c9b87335
PA
5002012-03-01 Pedro Alves <palves@redhat.com>
501
502 * jit-reader.in (plugin_is_GPL_compatible): Add declarations for
503 both __cplusplus and !__cplusplus.
504
9340a6c0
PA
5052012-03-01 Pedro Alves <palves@redhat.com>
506
507 * psymtab.c (find_and_open_source): Delete declaration.
508 * source.c (find_and_open_source): Move comment ...
509 * source.h (find_and_open_source): ... to this new declaration.
510
e451c4a1
PA
5112012-03-01 Pedro Alves <palves@redhat.com>
512
513 * inline-frame.c: Include inline-frame.h.
514
983fb104
PA
5152012-03-01 Pedro Alves <palves@redhat.com>
516
517 * tui/tui-data.c (set_gen_win_origin): Delete.
518 * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration.
519 * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete.
520
5fbce5df
PA
5212012-03-01 Pedro Alves <palves@redhat.com>
522
523 * remote.c (encode_actions): Delete declaration.
524 * tracepoint.c (encode_actions): Make extern.
525 * tracepoint.h (encode_actions): Declare.
526
49a8461d
PA
5272012-03-01 Pedro Alves <palves@redhat.com>
528
529 * python/py-breakpoint.c: Include python.h.
530 * python/py-continueevent.c (create_continue_event_object): Make
531 static.
532 * python/py-lazy-string.c (stpy_get_type): Make static.
533 * python/py-newobjfileevent.c (create_new_objfile_event_object):
534 Make static.
535 * python/py-utils.c (unicode_to_target_python_string): Make
536 static.
537 * python/py-value.c: Include python.h.
538
9079102f
PA
5392012-03-01 Pedro Alves <palves@redhat.com>
540
541 * inferior.c (delete_threads_of_inferior): Delete.
542
a298c5e8
PA
5432012-03-01 Pedro Alves <palves@redhat.com>
544
545 Import fallback definitions from glibc.
546
547 * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct
548 ps_prochandle): Forward declare.
549 (ps_err_e): Use glibc's comments.
550 [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread)
551 (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs)
552 (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup)
553 (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize)
554 (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare.
555 (struct ps_prochandle): Adjust comment.
556
e3084549
PA
5572012-03-01 Pedro Alves <palves@redhat.com>
558
559 * ada-lang.c (ada_modulus_from_name): Delete.
560 * ada-lex.l (lexer_init): Make static.
561
ad5f7d6e
PA
5622012-03-01 Pedro Alves <palves@redhat.com>
563
564 PR gdb/13767
565
566 * frame.c (read_frame_register_unsigned): New.
567 * frame.h (read_frame_register_unsigned): Declare.
568 * i387-tdep.c (print_i387_status_word): New parameter `status_p'.
569 Handle it.
570 (print_i387_control_word): New parameter `control_p'. Handle it.
571 (i387_print_float_info): Handle unavailable float registers.
572
e0a4d108
KS
5732012-03-01 Keith Seitz <keiths@redhat.com>
574
575 * linespec.c (decode_line_2): Sort the list of methods
576 alphabetically before presenting the user with a selection
577 menu.
578
122d1940
DE
5792012-03-01 Doug Evans <dje@google.com>
580
581 * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr,
582 has_namespace_info.
583 (dwarf2_read_abbrevs): Remove corresponding initialization.
584
7d74f244
DE
5852012-03-01 Scott J. Goldman <scottjg@vmware.com>
586
587 * NEWS: Mention new python command class gdb.COMMAND_USER.
588 * cli/cli-cmds.c (show_user): Print error when used on a python
589 command.
590 (init_cli_cmds): Update documentation strings for "show user" and
591 "set/show max-user-call-depth" to clarify that it does not apply to
592 python commands.
593 * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in
594 error check.
595 (gdbpy_initialize_commands): Add COMMAND_USER as a constant in
596 gdb python api.
597 * top.c (execute_command): Only execute a user-defined command as a
598 legacy macro if c->user_commands is set.
599
e88acd96
TT
6002012-03-01 Tom Tromey <tromey@redhat.com>
601
602 * valprint.h (struct generic_val_print_decorations): New.
603 (generic_val_print): Declare.
604 * valprint.c (generic_val_print): New function.
605 * p-valprint.c (p_decorations): New global.
606 (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM,
607 TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT,
608 TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF,
609 TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print.
610 * m2-valprint.c (m2_decorations): New global.
611 (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC,
612 TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR,
613 TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF,
614 TYPE_CODE_ERROR>: Call generic_val_print.
615 * f-valprint.c (f_decorations): New global.
616 (f_val_print): Use print_function_pointer_address.
617 <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS,
618 TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE,
619 TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call
620 generic_val_print.
621 * c-valprint.c (c_decorations): New global.
622 (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM,
623 TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL,
624 TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT,
625 TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR,
626 TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print.
627 * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove
628 case.
629
d3eab38a
TT
6302012-03-01 Tom Tromey <tromey@redhat.com>
631
632 * valprint.c (val_print): Update.
633 * p-valprint (pascal_val_print): Return void.
634 * p-lang.h (pascal_val_print): Return void.
635 * m2-valprint.c (m2_val_print): Return void.
636 * m2-lang.h (m2_val_print): Return void.
637 * language.h (struct language_defn) <la_val_print>: Return void.
638 * language.c (unk_lang_val_print): Return void.
639 * jv-valprint.c (java_val_print): Return void.
640 * jv-lang.h (java_val_print): Return void.
641 * f-valprint.c (f_val_print): Return void.
642 * f-lang.h (f_val_print): Return void.
643 * d-valprint.c (d_val_print): Return void.
644 (dynamic_array_type): Update.
645 * d-lang.h (d_val_print): Return void.
646 * c-valprint.c (c_val_print): Return void.
647 * c-lang.h (c_val_print): Return void.
648 * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return
649 void.
650 * ada-lang.h (ada_val_print): Return void.
651
35c0084b
TT
6522012-03-01 Tom Tromey <tromey@redhat.com>
653
654 * value.h (val_print): Return void.
655 * valprint.c (val_print): Return void.
656
a1f5dd1b
TT
6572012-03-01 Tom Tromey <tromey@redhat.com>
658
659 * value.h (common_val_print): Return void.
660 * valprint.c (common_val_print): Return void.
661
8e069a98
TT
6622012-03-01 Tom Tromey <tromey@redhat.com>
663
664 * value.h (value_print): Return void.
665 * valprint.c (value_print): Return void.
666 * p-valprint.c (pascal_value_print): Return void.
667 * p-lang.h (pascal_value_print): Return void.
668 * language.h (struct language_defn) <la_value_print>: Return
669 void.
670 * language.c (unk_lang_value_print): Return void.
671 * jv-valprint.c (java_value_print): Return void.
672 * jv-lang.h (java_value_print): Return void.
673 * f-valprint.c (c_value_print): Don't declare.
674 Include c-lang.h.
675 * c-valprint.c (c_value_print): Return void.
676 * c-lang.h (c_value_print): Return void.
677 * ada-valprint.c (ada_value_print): Return void.
678 * ada-lang.h (ada_value_print): Return void.
679
be335936
TT
6802012-03-01 Tom Tromey <tromey@redhat.com>
681
682 * value.c (value_primitive_field): Handle virtual base classes.
683
b0db66a7
TT
6842012-03-01 Tom Tromey <tromey@redhat.com>
685
686 * gdbtypes.h (struct vbase): Remove.
687
132c57b4
TT
6882012-03-01 Tom Tromey <tromey@redhat.com>
689
690 * c-valprint.c (print_function_pointer_address): Move...
691 * valprint.c: ... here. Make non-static.
692 * m2-valprint.c (print_function_pointer_address): Remove.
693 * valprint.h (print_function_pointer_address): Declare.
694
e41eec66
JB
6952012-03-01 Joel Brobecker <brobecker@adacore.com>
696
697 * NEWS: Document the fact that one can provide a condition when
698 creating an Ada exception catchpoint.
699
19c37f24
TT
7002012-03-01 Tom Tromey <tromey@redhat.com>
701
702 * valprint.c (val_print_type_code_flags): Fix placement of
703 trailing brace.
704
f0fed3a3
JB
7052012-03-01 Joel Brobecker <brobecker@adacore.com>
706
707 * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
708 (update_files): Do not set MULTILINE_COMMENT_PREFIXES
709 environment variable before calling update-copyright.
710
8ba85d85
JB
7112012-03-01 Joel Brobecker <brobecker@adacore.com>
712
713 * gnulib/extra/update-copyright: Update to the latest from
714 gnulib's git repository.
715 * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
716 variable to 2 instead of 1.
717
8219b1e8
JB
7182012-02-29 Joel Brobecker <brobecker@adacore.com>
719
720 * varobj.c (c_value_of_variable): Remove dead code.
721
718cb7da
JB
7222012-02-29 Joel Brobecker <brobecker@adacore.com>
723
724 * ada-lex.p (processId): Do not modify already encoded IDs.
725 Update function documentation.
726
739593e0
JB
7272012-02-29 Joel Brobecker <brobecker@adacore.com>
728
729 * ada-lang.h (ada_find_renaming_symbol): Replace parameter
730 "name" with "struct symbol *name_sym".
731 * ada-exp.y (write_var_or_type): Update call to
732 ada_find_renaming_symbol.
733 "name" with "struct symbol *name_sym". Adjust Implementation
734 accordingly. Adjust the function documentation.
735
852dff6c
JB
7362012-02-29 Joel Brobecker <brobecker@adacore.com>
737
738 * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete.
739 * ada-lang.c (ada_find_any_type): Add advance declaration.
740 Make static. Replace ada_find_any_symbol by
741 ada_find_any_type_symbol.
742 (ada_find_any_type_symbol): Renames ada_find_any_symbol.
743 Improve function description. Make static.
744 (ada_find_renaming_symbol, find_old_style_renaming_symbol):
745 Replace ada_find_any_symbol by ada_find_any_type_symbol.
746
1b611343
JB
7472012-02-29 Joel Brobecker <brobecker@adacore.com>
748
749 * ada-lang.c (struct tag_args): Delete.
750 (ada_get_tsd_type): Function body moved up in source file.
751 (ada_tag_name_1, ada_tag_name_2): Delete.
752 (ada_get_tsd_from_tag): New function.
753 (ada_tag_name_from_tsd): New function.
754 (ada_tag_name): Use a TRY_CATCH block instead of catch_errors
755 to determine the tag name.
756
41246937
JB
7572012-02-29 Joel Brobecker <brobecker@adacore.com>
758
759 * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add
760 declaration.
761 * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New
762 function.
763
ffde82bf
JB
7642012-02-29 Joel Brobecker <brobecker@adacore.com>
765
766 * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment.
767
2ad01556
JB
7682012-02-29 Joel Brobecker <brobecker@adacore.com>
769
770 * ada-lang.c (ada_lookup_symbol_list): Only cache the result of
771 full searches.
772
99b1c762
JB
7732012-02-29 Joel Brobecker <brobecker@adacore.com>
774
775 * ada-lang.c (constrained_packed_array_type): If there is a
776 parallel XA type, use it to determine the array index type.
777
2d4a02ee
JB
7782012-02-29 Joel Brobecker <brobecker@adacore.com>
779
780 * ada-valprint.c (ada_val_print_1): If our value is a reference
781 to an array descriptor, dereference it before converting it
782 to a simple array.
783
c48db5ca
JB
7842012-02-29 Joel Brobecker <brobecker@adacore.com>
785
786 * ada-lang.c (ada_to_fixed_value): Call unwrap_value before
787 creating fixed value.
788 (ada_value_ind, ada_coerce_ref, assign_component)
789 (ada_evaluate_subexp): Remove call to unwrap_value before
790 call to ada_to_fixed_value.
791
2e6fda7d
JB
7922012-02-29 Joel Brobecker <brobecker@adacore.com>
793
794 * ada-lang.c (to_fixed_array_type): Set result's type name.
795
5845583d
JB
7962012-02-29 Joel Brobecker <brobecker@adacore.com>
797
798 * ada-lang.c (catch_ada_exception_command_split): Add new
799 argument cond_string. Add support for condition at end of
800 "catch exception" commands.
801 (ada_decode_exception_location): Add new argument cond_string.
802 Update call to catch_ada_exception_command_split.
803 (create_ada_exception_catchpoint): Add new argument cond_string.
804 Set the breakpoint condition if needed.
805 (catch_ada_exception_command): Update call to
806 ada_decode_exception_location.
807 (ada_decode_assert_location): Add function documentation.
808 Add support for condition at end of "catch assert" command.
809 (catch_assert_command): Update calls to ada_decode_assert_location
810 and create_ada_exception_catchpoint.
811
9a7f938f
JK
8122012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 Fix disp-step-syscall.exp: fork: single step over fork.
815 * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ...
816 (i386_linux_get_syscall_number_from_regcache): ... here, new function
817 comment, change parameters gdbarch and ptid to regcache. Remove
818 parameter regcache, initialize gdbarch from regcache here.
819 (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn):
820 New functions.
821 (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn
822 instead.
823 * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and
824 'syscall'. Make the 'int' check more strict.
825
ffdf6de5
JK
8262012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 Fix reverse mode for syscall on AMD CPUs in 32-bit mode.
829 * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ...
830 (i386_linux_intx80_sysenter_syscall_record): ... here.
831 (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD.
832 Use the renamed function name.
833
c70a6932
JK
8342012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
835
836 * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME.
837 * breakpoint.c (until_break_command): Likewise.
838 * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
839 * infcall.c (call_function_by_hand): Likewise.
840 * infcmd.c (finish_forward): Likewise.
841 * infrun.c (insert_exception_resume_breakpoint): Likewise.
842
d4cd3da9
JB
8432012-02-28 Joel Brobecker <brobecker@adacore.com>
844
845 From Tristan Gingold <gingold@adacore.com>.
846 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
847 avoid variable assignments inside condition.
848
6425366c
JK
8492012-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 Fix static analysis issue found by cppcheck.
852 * microblaze-tdep.c (microblaze_extract_return_value): Fix
853 uninitialized BUF for size 2.
854
c8cef75f
MR
8552012-02-27 Chris Dearman <chris@mips.com>
856 Nathan Froyd <froydnj@codesourcery.com>
857 Maciej W. Rozycki <macro@codesourcery.com>
858
859 * mips-tdep.c (mips32_instruction_has_delay_slot): New function.
860 (mips16_instruction_has_delay_slot): Likewise.
861 (mips_segment_boundary): Likewise.
862 (mips_adjust_breakpoint_address): Likewise.
863 (mips_gdbarch_init): Use mips_adjust_breakpoint_address.
864
473347ad
MR
8652012-02-27 Maciej W. Rozycki <macro@mips.com>
866 Maciej W. Rozycki <macro@codesourcery.com>
867
868 * infrun.c (handle_inferior_event): Don't proceed through
869 shared library trampolines if stepping at the machine
870 instruction level.
871
cf233303
MR
8722012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
873
874 * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
875 too.
876
cb2cf4ce
TS
8772012-02-27 Thomas Schwinge <thomas@codesourcery.com>
878
879 * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
880 (sh_stub_unwind_sniffer): New functions.
881 (sh_stub_unwind): New variable.
882 (sh_gdbarch_init): Wire everything.
883
644cebc9
PA
8842012-02-27 Pedro Alves <palves@redhat.com>
885
886 * linux-nat.c (pid_is_stopped): Delete, moved to common/.
887 (linux_nat_post_attach_wait): Adjust to use
888 linux_proc_pid_is_stopped.
889 * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare.
890 * common/linux-procfs.c (linux_proc_pid_is_stopped): New function,
891 based on pid_is_stopped from both linux-nat.c and
892 gdbserver/linux-low.c, and renamed.
893
283002cf
MR
8942012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
895
896 * remote.c (remote_watchpoint_addr_within_range): New function.
897 (init_remote_ops): Use it.
898
9b3e86b1
MR
8992012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
900
901 * target.h (target_watchpoint_addr_within_range): Document macro.
902
e36930bb
PA
9032012-02-24 Pedro Alves <palves@redhat.com>
904
905 * stack.c (set_last_displayed_sal): Issue internal_error instead
906 of warning, and issue it after clearing the last displayed sal.
907
883bc8d1
PA
9082012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
909 Pedro Alves <palves@redhat.com>
910
911 * breakpoint.c (until_break_command): Install breakpoints after
912 all frame manipulations.
913
b775012e
LM
9142012-02-24 Luis Machado <lgustavo@codesourcery.com>
915
916 * remote.c (remote_supports_cond_breakpoints): New forward
917 declaration.
918 (remote_add_target_side_condition): New function.
919 (remote_insert_breakpoint): Add target-side breakpoint
920 conditional if supported.
921 (remote_insert_hw_breakpoint): Likewise.
922 (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions
923 hook.
924
925 * target.c (update_current_target): Inherit
926 to_supports_evaluation_of_breakpoint_conditions.
927 Default to_supports_evaluation_of_breakpoint_conditions to return_zero.
928
929 * target.h (struct target_ops)
930 <to_supports_evaluation_of_breakpoint_conditions>: New field.
931 (target_supports_evaluation_of_breakpoint_conditions): New #define.
932
933 * breakpoint.c (get_first_locp_gte_addr): New forward declaration.
934 (condition_evaluation_both, condition_evaluation_auto,
935 condition_evaluation_host, condition_evaluation_target,
936 condition_evaluation_enums, condition_evaluation_mode_1,
937 condition_evaluation_mode): New static globals.
938 (translate_condition_evaluation_mode): New function.
939 (breakpoint_condition_evaluation_mode): New function.
940 (gdb_evaluates_breakpoint_condition_p): New function.
941 (ALL_BP_LOCATIONS_AT_ADDR): New helper macro.
942 (mark_breakpoint_modified): New function.
943 (mark_breakpoint_location_modified): New function.
944 (set_condition_evaluation_mode): New function.
945 (show_condition_evaluation_mode): New function.
946 (bp_location_compare_addrs): New function.
947 (get_first_location_gte_addr): New helper function.
948 (set_breakpoint_condition): Free condition bytecode if locations
949 has become unconditional. Call mark_breakpoint_modified (...).
950 (condition_command): Call update_global_location_list (1) for
951 breakpoints.
952 (breakpoint_xfer_memory): Use is_breakpoint (...).
953 (is_breakpoint): New function.
954 (parse_cond_to_aexpr): New function.
955 (build_target_condition_list): New function.
956 (insert_bp_location): Handle target-side conditional
957 breakpoints and call build_target_condition_list (...).
958 (update_inserted_breakpoint_locations): New function.
959 (insert_breakpoint_locations): Handle target-side conditional
960 breakpoints.
961 (bpstat_check_breakpoint_conditions): Add comment.
962 (bp_condition_evaluator): New function.
963 (bp_location_condition_evaluator): New function.
964 (print_breakpoint_location): Print information on where the condition
965 will be evaluated.
966 (print_one_breakpoint_location): Likewise.
967 (init_bp_location): Call mark_breakpoint_location_modified (...) for
968 breakpoint location.
969 (force_breakpoint_reinsertion): New functions.
970 (update_global_location_list): Handle target-side breakpoint
971 conditions.
972 Reinsert locations that are already inserted if conditions have
973 changed.
974 (bp_location_dtor): Free agent expression bytecode.
975 (disable_breakpoint): Call mark_breakpoint_modified (...).
976 Call update_global_location_list (...) with parameter 1 for breakpoints.
977 (disable_command): Call mark_breakpoint_location_modified (...).
978 Call update_global_location_list (...) with parameter 1 for breakpoints.
979 (enable_breakpoint_disp): Call mark_breakpoint_modified (...).
980 (enable_command): mark_breakpoint_location_modified (...).
981 (_initialize_breakpoint): Update documentation and add
982 condition-evaluation breakpoint subcommand.
983
984 * breakpoint.h: Include ax.h.
985 (condition_list): New data structure.
986 (condition_status): New enum.
987 (bp_target_info) <cond_list>: New field.
988 (bp_location) <condition_changed, cond_bytecode>: New fields.
989 (is_breakpoint): New prototype.
990
3788aec7
LM
9912012-02-24 Luis Machado <lgustavo@codesourcery.com>
992
993 * remote.c (remote_state) <cond_breakpoints>: New field.
994 (PACKET_ConditionalBreakpoints): New enum.
995 (remote_cond_breakpoint_feature): New function.
996 (remote_protocol_features): Add new ConditionalBreakpoints entry.
997 (remote_supports_cond_breakpoints): New function.
998 (_initialize_remote): Add new packet configuration for
999 target-side conditional breakpoints.
1000
72895ff6
LM
10012012-02-24 Luis Machado <lgustavo@codesourcery.com>
1002
1003 * NEWS: Mention target-side conditional breakpoint support,
1004 new condition-evaluation breakpoint subcommand and remote
1005 packet extensions.
1006
dea2aa5f
LM
10072012-02-24 Luis Machado <lgustavo@codesourcery.com>
1008
1009 * breakpoint.c (bp_location_compare): Sort by pspace before sorting by
1010 number.
1011
8a8bc27f
TS
10122012-02-24 Thomas Schwinge <thomas@codesourcery.com>
1013
1014 * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal.
1015 (after_prologue): Remove.
1016
6b446fdf
TT
10172012-02-23 Tom Tromey <tromey@redhat.com>
1018
1019 * jv-valprint.c (java_val_print): Remove dead code.
1020
ef59abfb
TG
10212012-02-23 Tristan Gingold <gingold@adacore.com>
1022
1023 * ada-tasks.c (struct ada_tasks_inferior_data): Add
1024 known_tasks_element and known_tasks_length fields.
1025 (read_known_tasks_array): Change argument type. Use pointer type
1026 and number of elements from DATA. Adjust.
1027 (read_known_tasks_list): Likewise.
1028 (get_known_tasks_addr): Remove.
1029 (ada_set_current_inferior_known_tasks_addr): Renamed to ...
1030 (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element
1031 type and array length. Merge former get_known_tasks_addr code.
1032
def166f6
JK
10332012-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 PR backtrace/13716
1036 * infcmd.c (finish_forward): New variable frame_id, initialize it, use
1037 it after set_momentary_breakpoint.
1038
aeaa2474
SA
10392012-02-22 Sterling Augustine <saugustine@google.com>
1040
1041 PR 13689:
1042 * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch.
1043
feea76c2
GB
10442012-02-22 Gary Benson <gbenson@redhat.com>
1045
1046 * dwarf2read.c (dwarf2_read_index): Correct misspelling.
1047 (find_slot_in_mapped_hash): Likewise.
1048
f06e05e0
JK
10492012-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1050
1051 PR build/13638
1052 * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR.
1053 (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR.
1054 * configure: Regenerate.
1055
b54a8fd7
PA
10562012-02-21 Tristan Gingold <gingold@adacore.com>
1057 Pedro Alves <palves@redhat.com>
1058
1059 * ia64-tdep.c: Do not include libunwind-ia64.h.
1060 * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
1061 Include libunwind-ia64.h instead of libunwind.h.
1062 * configure.ac (--with-libunwind, $enable_libunwind): Don't check
1063 for libunwind.h existence.
1064 * configure, config.in: Regenerate.
1065
dfcee124
AG
10662012-02-21 Anton Gorenkov <xgsa@yandex.ru>
1067
1068 * c-valprint.c (c_value_print): Use value_rtti_indirect_type
1069 instead of value_rtti_target_type.
1070 * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type
1071 instead of value_rtti_target_type.
1072 * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of
1073 value_rtti_target_type.
1074 * valops.c (value_ind): Extract function readjust_indirect_value_type.
1075 (value_rtti_target_type): Rename to ...
1076 (value_rtti_indirect_type): ... here and make it indirect. Update
1077 function comment.
1078 * value.c (readjust_indirect_value_type): New function.
1079 (coerce_ref): Support for enclosing type setting for references
1080 with readjust_indirect_value_type.
1081 * value.h (readjust_value_type): New declaration.
1082 (value_rtti_target_type): Rename to ...
1083 (value_rtti_indirect_type): ... here.
1084
02568277
AG
10852012-02-21 Anton Gorenkov <xgsa@yandex.ru>
1086
1087 * MAINTAINERS (Write After Approval): Add myself to the list.
1088
10c07b7e 10892012-02-20 Doug Evans <dje@google.com>
28ee876a 1090
d82ea6a8
DE
1091 * objfiles.c (add_to_objfile_sections): Remove outdated comments.
1092 Rename objfile_p_char parameter to objfilep.
1093 (build_objfile_section_table): Result is now void. All callers
1094 updated.
1095 * objfiles.h (struct objfile): Tweak comments, whitespace.
1096 (build_objfile_section_table): Update.
1097
28ee876a
DE
1098 * elfread.c (elf_symfile_segments): Fix warning text.
1099
24c79950
TT
11002012-02-20 Tom Tromey <tromey@redhat.com>
1101
1102 PR gdb/13498:
1103 * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a
1104 particular set of file names once.
1105 (dw2_map_symbol_filenames): Likewise.
1106
3a9b40b6
JK
11072012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 Code cleanup.
1110 * main.c (write_files): Remove the declaration.
1111 (external_editor_command): Move the declaration ...
1112 [GDBTK] (external_editor_command): ... here. Fix the comment.
1113
4d0795ca
TT
11142012-02-20 Tom Tromey <tromey@redhat.com>
1115
1116 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove
1117 extraneous block.
1118
637fd620
TG
11192012-02-20 Tristan Gingold <gingold@adacore.com>
1120
1121 * darwin-nat.h (enum darwin_msg_state): Add comments.
1122
6f124894
TG
11232012-02-20 Tristan Gingold <gingold@adacore.com>
1124
1125 * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
1126 value.
1127
2e6e3d9c
JB
11282012-20-18 Joel Brobecker <brobecker@adacore.com>
1129
1130 * breakpoint.c (watchpoint_exp_is_const): Add missing empty line
1131 between function description and implementation.
1132
2e8265fd
TT
11332012-02-17 Tom Tromey <tromey@redhat.com>
1134
1135 PR python/12070:
1136 * python/py-event.c (event_object_getset): New global.
1137 (event_object_type): Reference it.
1138 * python/py-type.c (field_object_getset): New global.
1139 (field_object_type): Reference it.
1140 * python/python-internal.h (gdb_py_generic_dict): Declare.
1141 * python/py-utils.c (gdb_py_generic_dict): New function.
1142
8544a150 11432012-02-17 Tristan Gingold <gingold@adacore.com>
6f124894 1144
8544a150 1145 * solib-darwin.c (darwin_current_sos): Check magic and filetype
6f124894 1146
ca193e27
TS
11472012-02-17 Thomas Schwinge <thomas@codesourcery.com>
1148
1149 * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
1150 TYPE_CALLING_CONVENTION annotation.
1151
e5586183
KB
11522012-02-16 Kevin Buettner <kevinb@redhat.com>
1153
1154 * MAINTAINERS: Add rx to target ISA section.
1155 * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
1156 (ALLDEPFILES): Add rx-tdep.c.
1157
7dcd53a0
TT
11582012-02-16 Tom Tromey <tromey@redhat.com>
1159
1160 * symfile.c (symbol_file_add_main_1): Use inferior's
1161 symfile_flags.
1162 * solib.c (solib_read_symbols): Use inferior's symfile_flags.
1163 * linux-nat.c (linux_child_follow_fork): Set symfile_flags on
1164 inferior.
1165 * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
1166 inferior.
1167 (follow_exec): Use inferior's symfile_flags.
1168 * inferior.h (struct inferior) <symfile_flags>: New field.
1169
ddd60447
MF
11702012-02-16 Mike Frysinger <vapier@gentoo.org>
1171
1172 PR gdb/9734:
1173 * remote-sim.c (gdbsim_create_inferior): Call error() when
1174 sim_create_inferior() fails.
1175
b0d32fb6
TG
11762012-02-16 Josh Matthews <josh@joshmatthews.net>
1177
1178 * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
1179
9addecb9
TT
11802012-02-16 Tom Tromey <tromey@redhat.com>
1181
1182 PR c++/13653:
1183 * thread.c (struct current_thread_cleanup) <was_removable>: New
1184 field.
1185 (restore_current_thread_cleanup_dtor): Restore 'removable' field.
1186 (make_cleanup_restore_current_thread): Initialize new field.
1187
a58b110a
KB
11882012-02-15 Kevin Buettner <kevinb@redhat.com>
1189
1190 * MAINTAINERS: Add rl78 to target ISA section.
1191 * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
1192 (ALLDEPFILES): Add rl78-tdep.c.
1193 * NEWS: Mention rl78 as a new target.
1194
4cb6da1c
AR
11952012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
1196
1197 * frame.c (find_frame_sal): Initialize sal->pspace field from frame
1198 data.
1199 * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
1200
3af2590d
TT
12012012-02-15 Tom Tromey <tromey@redhat.com>
1202
1203 PR gdb/12659:
1204 * infcmd.c (registers_info): Print just the current register's
1205 name.
1206
c6910659
TT
12072012-02-15 Tom Tromey <tromey@redhat.com>
1208
1209 * python/py-symbol.c (sympy_value): Use _().
1210
7cee1e54
PA
12112012-02-15 Pedro Alves <palves@redhat.com>
1212
1213 * remote.c (remote_detach_1, extended_remote_attach_1): Tweak
1214 output to be like native targets'.
1215 (remote_pid_to_str): Special case the null ptid.
1216
816338b5
SS
12172012-02-14 Stan Shebs <stan@codesourcery.com>
1218
1219 * NEWS: Mention enable count command.
1220 * breakpoint.h (struct breakpoint): New field enable_count.
1221 * breakpoint.c (enable_breakpoint_disp): Add count argument.
1222 (enable_breakpoint): Add arg to call.
1223 (struct disp_data): New struct.
1224 (do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
1225 (do_map_enable_once_breakpoint): Create a struct and pass it.
1226 (do_map_enable_delete_breakpoint): Ditto.
1227 (do_map_enable_count_breakpoint): New function.
1228 (enable_count_command): New function.
1229 (bpstat_stop_status): Decrement enable_count.
1230 (print_one_breakpoint_location): Report enable count.
1231 (_initialize_breakpoint): Add enable count command.
1232
c47a44f4
KB
12332012-02-14 Kevin Buettner <kevinb@redhat.com>
1234
1235 * rl78-tdep.c (reggroups.h): Include.
1236 (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM)
1237 (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM)
1238 (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM)
1239 (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM)
1240 (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM)
1241 (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM)
1242 (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM)
1243 (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM)
1244 (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM)
1245 (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM)
1246 (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM)
1247 (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM)
1248 (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM)
1249 (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM)
1250 (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM)
1251 (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to
1252 beginning of register list.
1253 (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM)
1254 (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM)
1255 (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM)
1256 (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM)
1257 (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM)
1258 (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM)
1259 (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM)
1260 (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM)
1261 (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM)
1262 (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM)
1263 (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into
1264 the pseudo registers. Rearrange other pseudo registers too so
1265 that the bank registers appear at the end.
1266 (rl78_register_type): Account for the fact that the byte sized
1267 bank registers are now pseudo-registers.
1268 (rl78_register_name): Rearrange the register name array. Make
1269 initial set of raw banked registers inaccessible.
1270 (rl78_register_reggroup_p, rl78_register_sim_regno): New functions.
1271 (rl78_pseudo_register_read, rl78_pseudo_register_write): Add
1272 case for copying bytes back and forth between raw and pseudo
1273 versions of the banked registers. Update other cases to reflect
1274 the changed names.
1275 (rl78_return_value): Update to account for changed names of
1276 raw registers.
1277 (rl78_gdbarch_init): Register rl78_register_reggroup_p() and
1278 rl78_register_sim_regno().
1279
e4569f1e
KB
12802012-02-14 Kevin Buettner <kevinb@redhat.com>
1281
1282 * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
1283 the name parameter being passed to find_pc_partial_function().
1284
7a05aae7
JK
12852012-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1286
1287 * MAINTAINERS: Step down from being ia64 target maintainer.
1288
11fde611
JK
12892012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1290
1291 * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
1292 compilation warning.
1293
57008375
JK
12942012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 Fix crash on loaded shlibs without loaded exec_bfd.
1297 * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
1298 (set_section_command): Replace exec_bfd by p->bfd.
1299
ff3c9849
TT
13002012-02-10 Tom Tromey <tromey@redhat.com>
1301
1302 * linespec.c (decode_line_internal): Skip symtabs_from_filename
1303 when we have a C++ qualified name.
1304
db2b9fdd
PA
13052012-02-10 Pedro Alves <palves@redhat.com>
1306
1307 * inferior.c (inferior_pid_to_str): New.
1308 (print_inferior, inferior_command): Use it.
1309
12cd34f3
PA
13102012-02-10 Pedro Alves <palves@redhat.com>
1311
1312 * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
1313 the test CFLAGS.
1314 * configure: Regenerate.
1315
e871429d
JK
13162012-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1317
1318 * linespec.c (decode_line_internal): Fix comment correctness.
1319
1916efaf
PA
13202012-02-09 Valery Khromov <valery.khromov@gmail.com>
1321
1322 PR gdb/12953
1323 * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
1324 * amd64bsd-nat.c: Add support for debug registers (adapted from
1325 i386bsd-nat.c).
1326 [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
1327 (amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
1328 (amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
1329 (amd64bsd_dr_get_control): New functions.
1330 * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
1331 * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
1332 [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
1333 watchpoints initialization.
1334 * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
1335
f4859d94
JK
13362012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1337
1338 * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
1339 flds_bnds.fields.
1340 (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
1341
c56a97f9
JK
13422012-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1343
1344 * breakpoint.c (bp_location_compare): Fix comment. Reindent the code.
1345
1a119f36
JB
13462012-02-08 Joel Brobecker <brobecker@adacore.com>
1347
1348 * language.h (symbol_name_cmp_ftype): Renames
1349 symbol_name_match_p_ftype.
1350 (struct language_defn)[la_get_symbol_name_cmp]: Renames
1351 la_get_symbol_name_match_p.
1352 * ada-lang.c (ada_get_symbol_name_cmp): Renames
1353 ada_get_symbol_name_match_p. Update comment.
1354 (ada_language_defn)[la_get_symbol_name_cmp]: Update value.
1355 * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
1356 Renames symbol_name_match_p. Update field type.
1357 (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
1358 * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
1359 opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
1360 "la_get_symbol_name_cmp" in comments.
1361 * language.c: Likewise.
1362
c71bb1cf
RO
13632012-02-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1364
1365 * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct
1366 %eflags offset.
1367 * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
1368 (amd64_sol2_gregset32_reg_offs): Likewise.
1369
4b2d20a5
TG
13702012-02-08 Joel Brobecker <brobecker@adacore.com>
1371
1372 * solib-darwin.c (darwin_bfd_open): Make sure that the filename
1373 of the returned BFD is allocated by GDB.
1374
f0823d2c
TT
13752012-02-07 Tom Tromey <tromey@redhat.com>
1376
1377 PR python/12027:
1378 * python/python-internal.h (frame_object_type): Declare.
1379 * python/py-symbol.c (sympy_needs_frame): New function.
1380 (sympy_value): New function.
1381 (symbol_object_getset): Add "needs_frame".
1382 (symbol_object_methods): Add "value".
1383 * python/py-frame.c (frame_object_type): No longer static.
1384
64e7d9dd
TT
13852012-02-07 Tom Tromey <tromey@redhat.com>
1386
1387 PR python/13599:
1388 * python/py-symbol.c (sympy_line): New function.
1389 (symbol_object_getset): Add "line".
1390
1d6b2d2b
TT
13912012-02-07 Tom Tromey <tromey@redhat.com>
1392
1393 * charset.c (find_charset_names): Check 'in' against NULL.
1394
0d5cff50
DE
13952012-02-06 Doug Evans <dje@google.com>
1396
1397 * gdbtypes.h (struct main_type): Change type of name,tag_name,
1398 and fields.name members from char * to const char *. All uses updated.
1399 (struct cplus_struct_type): Change type of fn_fieldlists.name member
1400 from char * to const char *. All uses updated.
1401 (type_name_no_tag): Update.
1402 (lookup_unsigned_typename, lookup_signed_typename): Update.
1403 * gdbtypes.c (type_name_no_tag): Change result type
1404 from char * to const char *. All callers updated.
1405 (lookup_unsigned_typename, lookup_signed_typename): Change type of
1406 name parameter from char * to const char *.
1407 * symtab.h (struct cplus_specific): Change type of demangled_name
1408 member from char * to const char *. All uses updated.
1409 (struct general_symbol_info): Change type of name and
1410 mangled_lang.demangled_name members from char * to const char *.
1411 All uses updated.
1412 (symbol_get_demangled_name, symbol_natural_name): Update.
1413 (symbol_demangled_name, symbol_search_name): Update.
1414 * symtab.c (symbol_get_demangled_name): Change result type
1415 from char * to const char *. All callers updated.
1416 (symbol_natural_name, symbol_demangled_name): Ditto.
1417 (symbol_search_name): Ditto.
1418 (completion_list_add_name): Change type of symname,sym_text,
1419 text,word parameters from char * to const char *.
1420 (completion_list_objc_symbol): Change type of sym_text,
1421 text,word parameters from char * to const char *.
1422 * ada-lang.c (find_struct_field): Change type of name parameter
1423 from char * to const char *.
1424 (encoded_ordered_before): Similarly for N0,N1 parameters.
1425 (old_renaming_is_invisible): Similarly for function_name parameter.
1426 (ada_type_name): Change result type from char * to const char *.
1427 All callers updated.
1428 * ada-lang.h (ada_type_name): Update.
1429 * buildsym.c (hashname): Change type of name parameter
1430 from char * to const char *.
1431 * buildsym.h (hashname): Update.
1432 * dbxread.c (end_psymtab): Change type of include_list parameter
1433 from char ** to const char **.
1434 * dwarf2read.c (determine_prefix): Change result type
1435 from char * to const char *. All callers updated.
1436 * f-lang.c (find_common_for_function): Change type of name, funcname
1437 parameters from char * to const char *.
1438 * f-lang.c (find_common_for_function): Update.
1439 * f-valprint.c (list_all_visible_commons): Change type of funcname
1440 parameters from char * to const char *.
1441 * gdbarch.sh (static_transform_name): Change type of name parameter
1442 and result from char * to const char *.
1443 * gdbarch.c: Regenerate.
1444 * gdbarch.h: Regenerate.
1445 * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type
1446 of name parameter from char * to const char *.
1447 * jv-lang.c (java_primitive_type_from_name): Ditto.
1448 (java_demangled_signature_length): Similarly for signature parameter.
1449 (java_demangled_signature_copy): Ditto.
1450 (java_demangle_type_signature): Ditto.
1451 * jv-lang.h (java_primitive_type_from_name): Update.
1452 (java_demangle_type_signature): Update.
1453 * objc-lang.c (specialcmp): Change type of a,b parameters
1454 from char * to const char *.
1455 * p-lang.c (is_pascal_string_type): Change type of arrayname parameter
1456 from char * to const char *. All callers updated.
1457 * p-lang.h (is_pascal_string_type): Update.
1458 * solib-frv.c (find_canonical_descriptor_in_load_object): Change type
1459 of name parameter from char * to const char *.
1460 * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto.
1461 * utils.c (fprintf_symbol_filtered): Ditto.
1462 * defs.h (fprintf_symbol_filtered): Update.
1463 * sparc-tdep.h (sparc_sol2_static_transform_name): Update.
1464 * stabsread.h (end_psymtab): Update.
1465 * stack.c (find_frame_funname): Change type of funname parameter
1466 from char ** to const char **.
1467 * stack.h (find_frame_funname): Update.
1468 * typeprint.c (type_print): Change type of varstring parameter
1469 from char * to const char *.
1470 * value.h (type_print): Update.
1471 * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter
1472 from char * to const char *. All callers updated.
1473 (xcoff_end_psymtab): Change type of include_list parameter
1474 from char ** to const char **. All callers updated.
1475 (swap_sym): Similarly for name parameter. All callers updated.
1476 * coffread.c (patch_type): Add (char*) cast to xfree parameter.
1477 Use xstrdup.
1478 (process_coff_symbol): Use xstrdup.
1479 * stabsread.c (stabs_method_name_from_physname): Renamed from
1480 update_method_name_from_physname. Change result type from void
1481 to char *. All callers updated.
1482 (read_member_functions): In has_destructor case, store name in objfile
1483 obstack instead of malloc space. In !has_stub case, fix mem leak.
1484
5579a92e
TT
14852012-02-06 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
1486
1487 * configure: Rebuild.
1488 * configure.ac: Put -L../bfd and -L../libiberty at the front of
1489 LDFLAGS.
1490
9058f767
KB
14912012-02-03 Kevin Buettner <kevinb@redhat.com>
1492
1493 * configure.tgt (rl78-*-elf): New target.
1494 * rl78-tdep.c: New file.
1495
5b37825d
PW
14962012-02-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1497
1498 * remote.c (remote_rcmd): Use getpkt_sane to detect timeout
1499 and continue the loop. Add QUIT statement.
1500
e009ee71
TT
15012012-02-03 Tom Tromey <tromey@redhat.com>
1502
1503 PR gdb/13596:
1504 * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from
1505 bfd_lookup_symbol_from_symtab.
1506 * solib-pa64.c (pa64_solib_create_inferior_hook): Use
1507 gdb_bfd_lookup_symbol_from_symtab.
1508
f7e44f65
JB
15092012-02-03 Joel Brobecker <brobecker@adacore.com>
1510
1511 * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols,
1512 use SYMBOL_LINKAGE_NAME to find the corresponding non-argument
1513 symbol. Add assertion that sym2 is never NULL.
1514
2c02bd72
DE
15152012-02-02 Doug Evans <dje@google.com>
1516
1517 * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of
1518 "name" parameter to const char ** from char **. All callers updated.
1519 (find_pc_partial_function): Ditto.
1520 (cache_pc_function_name): Change type to const char * from char *.
1521 * symtab.h ((find_pc_partial_function_gnu_ifunc): Update.
1522 (find_pc_partial_function): Update.
1523 * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change
1524 type of "name" parameter to const char * from char *.
1525 All uses updated.
1526 * arch-utils.c (generic_in_solib_return_trampoline): Change
1527 type of "name" parameter to const char * from char *.
1528 * arch-utils.h (generic_in_solib_return_trampoline): Update.
1529 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change
1530 type of "name" parameter to const char * from char *.
1531 * gdbarch.sh (in_solib_return_trampoline): Ditto.
1532 * gdbarch.c: Regenerate.
1533 * gdbarch.h: Regenerate.
1534 * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update.
1535 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update.
1536 * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change
1537 type of "name" parameter to const char * from char *.
1538 * skip.c (skip_function_pc): Ditto.
1539 * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto.
1540 * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update.
1541 * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto.
1542 * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto.
1543 * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto.
1544 * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto.
1545 * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto.
1546 * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name".
1547 * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update.
1548
e886a173
PA
15492012-02-02 Pedro Alves <palves@redhat.com>
1550
1551 * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if
1552 the current inferior has no execution. Make sure the current
1553 remote process matches gdb's current inferior.
1554
c709a7c2
TT
15552012-02-02 Tom Tromey <tromey@redhat.com>
1556
1557 PR gdb/13405:
1558 * tui/tui-win.c (parse_scrolling_args): Don't write to possibly
1559 read-only memory.
1560
f149aabd
TT
15612012-02-02 Tom Tromey <tromey@redhat.com>
1562
1563 PR gdb/9307:
1564 * symtab.c (lookup_language_this): Set block_found.
1565
03bef283
TT
15662012-02-01 Tom Tromey <tromey@redhat.com>
1567
1568 PR gdb/13431:
1569 * jit.c (struct jit_inferior_data): Rewrite.
1570 (struct jit_objfile_data): New.
1571 (get_jit_objfile_data): New function.
1572 (add_objfile_entry): Update.
1573 (jit_read_descriptor): Return int. Replace descriptor_addr
1574 argument with inf_data. Update. Don't call error.
1575 (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up
1576 descriptor here.
1577 (jit_inferior_init): Don't look up descriptor. Don't call error.
1578 (jit_reset_inferior_data_and_breakpoints)
1579 (jit_inferior_created_observer): Remove.
1580 (jit_inferior_exit_hook): Update.
1581 (jit_executable_changed_observer): Remove.
1582 (jit_event_handler): Update.
1583 (free_objfile_data): Reset inferior data if needed.
1584 (_initialize_jit): Update.
1585
f0bbc364
TT
15862012-02-01 Tom Tromey <tromey@redhat.com>
1587
1588 * jit.c (bfd_open_from_target_memory): Move higher in file.
1589
47c1316c
TG
15902012-02-01 Tristan Gingold <gingold@adacore.com>
1591
1592 * libunwind-frame.c (libunwind_load): Display message if dlopen
1593 failed.
1594
8e704927
GB
15952012-02-01 Gary Benson <gbenson@redhat.com>
1596
1597 * symtab.h (symbol_name_match_p_ftype): New typedef.
1598 (iterate_over_symbols): Use the above.
1599 * symtab.c (iterate_over_symbols): Likewise.
1600 * language.h (language_defn->la_iterate_over_symbols): Likewise.
1601 * ada-lang.c (ada_iterate_over_symbols): Likewise.
1602 * linespec.c (iterate_over_all_matching_symtabs): Likewise.
1603 (iterate_name_matcher): Document return values.
1604 (collect_one_symbol): Likewise.
1605 (collect_function_symbols): Likewise.
1606 (collect_symbols): Likewise.
1607
d9680e73
TT
16082012-02-01 Tom Tromey <tromey@redhat.com>
1609
1610 * ada-lang.c (resolve_subexp): Update.
1611 (ada_lookup_symbol_list): Add 'full_search' argument.
1612 (ada_iterate_over_symbols): Pass 0 as full_search argument to
1613 ada_lookup_symbol_list.
1614 (ada_lookup_encoded_symbol): Update.
1615 (get_var_value): Update.
1616 * ada-exp.y (block_lookup): Update.
1617 (write_var_or_type): Update.
1618 (write_name_assoc): Update.
1619 * ada-lang.h (ada_lookup_symbol_list): Update.
1620
72e1143f
TT
16212012-01-31 Tom Tromey <tromey@redhat.com>
1622
1623 * language.h (struct language_defn) <la_iterate_over_symbols>: Fix
1624 comment.
1625
ab2d2ad3
DE
16262012-01-31 Doug Evans <dje@google.com>
1627
1628 * symtab.h: Remove outdated comment.
e9111bf7 1629 (SYMBOL_MATCHES_NATURAL_NAME): Delete.
ab2d2ad3 1630
bc884eba
JB
16312012-02-01 Josh Matthews <josh@joshmatthews.net> (tiny change)
1632
1633 Fix build error in Darwin port.
1634 * i386-darwin-nat.c: Include i386-nat.h.
1635
8fc3fc34
TT
16362012-01-30 Tom Tromey <tromey@redhat.com>
1637
1638 PR breakpoints/13568:
1639 * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash'
1640 argument. Check for recursive includes.
1641 (dwarf_decode_macros): Create an include hash.
1642
5d853008
ME
16432012-01-30 Michael Eager <eager@eagercon.com>
1644
1645 * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o.
1646 * ppc-linux-tdep.c: Include glibc-tdep.h.
ab2d2ad3 1647 (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates.
5d853008
ME
1648 (powerpc_linux_in_plt_stub): New function.
1649 (powerpc_linux_in_dynsym_resolve_code): New function.
1650 (ppc_skip_trampoline_code): New function.
1651 (ppc_linux_init_abi): Use PPC specific functions rather than generic.
1652 Use glibc_skip_solib_resolver.
1653
40478521
JK
16542012-01-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1655
1656 Code cleanup: Make 1440 bytes of data segment read-only.
1657 * arch-utils.c (endian_enum): Make it const char *const [].
1658 * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings):
1659 Likewise.
1660 * breakpoint.c (always_inserted_enums): Likewise.
1661 * cli/cli-cmds.c (script_ext_enums): Likewise.
1662 * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the
1663 enumlist parameter const char *const *.
1664 * cli/cli-decode.h (struct cmd_list_element): Make the enums field
1665 const char *const *.
1666 * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist
1667 parameter const char *const *.
1668 * cris-tdep.c (cris_modes): Make it const char *const [].
1669 * filesystem.c (target_file_system_kinds): Likewise.
1670 * i386-tdep.c (valid_flavors, valid_conventions): Likewise.
1671 * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names)
1672 (can_use_displaced_stepping_enum, scheduler_enums)
1673 (exec_direction_names): Likewise.
1674 * language.c (_initialize_language): Make the type_or_range_names and
1675 case_sensitive_names variables const char *const [].
1676 * mips-tdep.c (mips_abi_strings): Make it const char *const [].
1677 * python/python.c (python_excp_enums): Likewise.
1678 * remote.c (interrupt_sequence_modes): Likewise.
1679 * rs6000-tdep.c (powerpc_vector_strings): Likewise.
1680 * serial.c (logbase_enums): Likewise.
1681 * sh-tdep.c (sh_cc_enum): Likewise.
1682 * stack.c (print_frame_arguments_choices, print_entry_values_choices):
1683 Likewise.
1684 * symtab.c (multiple_symbols_modes): Likewise.
1685 * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums):
1686 Likewise.
1687 * utils.c (internal_problem_modes): Likewise.
1688
b3b8b934
JK
16892012-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1690
1691 Fix the 2012-01-26 regression by la_get_symbol_name_match_p.
1692 * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P
1693 result.
1694
8c85a4e2
DE
16952012-01-27 Doug Evans <dje@google.com>
1696
1697 * configure.ac (with_python): Fix absolute path handling for win32.
1698 * configure: Regenerate.
1699
78d8b4d7
DE
17002012-01-26 Doug Evans <dje@google.com>
1701
eca864fe
DE
1702 * symtab.c: Whitespace cleanup, no code changes.
1703
7e082072
DE
1704 * symtab.c (lookup_symbol_in_language): Improve comment.
1705 (lookup_symbol_aux): Fix comment.
1706
7dc25483
DE
1707 * psymtab.c (add_psymbol_to_list): Result is now "void".
1708 * psympriv.h (add_psymbol_to_list): Update.
1709
78d8b4d7
DE
1710 * dwarf2read.c (add_partial_symbol): Delete local psym, unused.
1711
4c63965b
JK
17122012-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1713
1714 Do not open script filenames twice.
1715 * cli/cli-cmds.c (source_script_from_stream): Pass to
1716 source_python_script also STREAM.
1717 * python/py-auto-load.c (source_section_scripts): Pass to
1718 source_python_script_for_objfile also STREAM.
1719 (auto_load_objfile_script): Pass to source_python_script_for_objfile
1720 also INPUT.
1721 * python/python-internal.h (source_python_script_for_objfile): New
1722 parameter file, rename parameter file to filename.
1723 * python/python.c (python_run_simple_file): Call PyRun_SimpleFile
1724 instead if !_WIN32. Update the function comment.
1725 (source_python_script, source_python_script_for_objfile)
1726 (source_python_script): New parameter file, rename parameter file to
1727 filename. Pass FILENAME to python_run_simple_file.
1728 * python/python.h (source_python_script): New parameter file, rename
1729 parameter file to filename.
1730
88f38a04
PA
17312012-01-26 Pedro Alves <palves@redhat.com>
1732
1733 * corelow.c (core_has_fake_pid): Delete.
1734 (core_close): Delete references to `core_has_fake_pid'.
1735 (add_to_thread_list): Adjust to mark the inferior's pid as fake.
1736 (core_open): Delete references to `core_has_fake_pid'.
1737 (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of
1738 the removed global.
1739
e078317b
JB
17402012-01-26 Joel Brobecker <brobecker@adacore.com>
1741
1742 * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]:
1743 Remove language parameter from name_matcher. Adjust the comment.
1744 * symtab.c (search_symbols_name_matches, expand_partial_symbol_name):
1745 Remove language parameter.
1746 * ada-lang.c (ada_expand_partial_symbol_name): Likewise.
1747 * linespec.c (iterate_name_matcher): Likewise.
1748 * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of
1749 name_matcher. Adjust call accordingly.
1750 * psymtab.c (expand_symtabs_matching_via_partial): Likewise.
1751 (maintenance_check_symtabs): Adjust type of parameter "fun".
1752 * psymtab.h (maintenance_check_symtabs): Likewise.
1753
74ccd7f5
JB
17542012-01-26 Joel Brobecker <brobecker@adacore.com>
1755
1756 * language.h (symbol_name_match_p_ftype): New typedef.
1757 (struct language_defn): Replace field la_symbol_name_compare
1758 by la_get_symbol_name_match_p.
1759 * ada-lang.c (ada_get_symbol_name_match_p): New function.
1760 (ada_language_defn): Use it.
1761 * linespec.c (struct symbol_matcher_data): New type.
1762 (iterate_name_matcher): Rewrite.
1763 (iterate_over_all_matching_symtabs): Pass a pointer to
1764 a symbol_matcher_data struct to expand_symtabs_matching
1765 instead of just the lookup name.
1766 * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
1767 opencl-lang.c, p-lang.c, language.c: Delete field
1768 la_symbol_name_compare, and replace by NULL for new field
1769 la_get_symbol_name_match_p.
1770 * symfile.h (struct quick_symbol_functions): Update comment.
1771
5d268276
TT
17722012-01-25 Tom Tromey <tromey@redhat.com>
1773
1774 * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before
1775 dereferencing.
1776
edcc5120
TT
17772012-01-24 Tom Tromey <tromey@redhat.com>
1778
1779 PR symtab/12406:
1780 * solib.c (update_solib_list): Update the program space's
1781 added_solibs and deleted_solibs fields.
1782 * progspace.h (struct program_space) <added_solibs,
1783 deleted_solibs>: New fields.
1784 (clear_program_space_solib_cache): Declare.
1785 * progspace.c (release_program_space): Call
1786 clear_program_space_solib_cache.
1787 (clear_program_space_solib_cache): New function.
1788 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call
1789 bpstat_stop_status. Use handle_solib_event.
1790 * breakpoint.c: Include gdb_regex.h.
1791 (print_solib_event): New function.
1792 (bpstat_print): Use print_solib_event.
1793 (bpstat_stop_status): Add special case for bp_shlib_event.
1794 (handle_solib_event): New function.
1795 (bpstat_what): Use handle_solib_event.
1796 (struct solib_catchpoint): New.
1797 (dtor_catch_solib, insert_catch_solib, remove_catch_solib)
1798 (breakpoint_hit_catch_solib, check_status_catch_solib)
1799 (print_it_catch_solib, print_one_catch_solib)
1800 (print_mention_catch_solib, print_recreate_catch_solib): New
1801 functions.
1802 (catch_solib_breakpoint_ops): New global.
1803 (catch_load_or_unload, catch_load_command_1)
1804 (catch_unload_command_1): New functions.
1805 (internal_bkpt_check_status): Add special case for
1806 bp_shlib_event.
1807 (internal_bkpt_print_it): Use print_solib_event.
1808 (initialize_breakpoint_ops): Initialize
1809 catch_solib_breakpoint_ops.
1810 (_initialize_breakpoint): Register "catch load" and "catch
1811 unload".
1812 * breakpoint.h (handle_solib_event): Declare.
1813 * NEWS: Add entry for "catch load" and "catch unload".
1814
fa864999
TT
18152012-01-24 Tom Tromey <tromey@redhat.com>
1816
1817 * ada-lang.c: Include gdb_vecs.h.
1818 * charset.c: Include gdb_vecs.h.
1819 * tracepoint.h: Include gdb_vecs.h.
1820 * gdb_vecs.h: New file.
1821
f90263c1
TT
18222012-01-24 Pedro Alves <pedro@codesourcery.com>
1823
1824 * breakpoint.c (breakpoint_hit_catch_fork)
1825 (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
1826 (breakpoint_hit_catch_exec): Make use of the `ws' argument.
1827 * infrun.c (inferior_has_forked, inferior_has_vforked)
1828 (inferior_has_execd, inferior_has_called_syscall): Delete.
1829 (handle_syscall_event): Get syscall_number from the execution
1830 control state's wait status.
1831 (wait_for_inferior): Don't clear syscall_number.
1832
09ac7c10
TT
18332012-01-24 Pedro Alves <palves@redhat.com>
1834
1835 * breakpoint.c (bpstat_check_location, bpstat_stop_status,
1836 pc_at_non_inline_function): Add `ws' parameter, and pass it down.
1837 (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
1838 (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
1839 `ws' parameter.
1840 (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return
1841 false for events other than TARGET_SIGNAL_TRAP.
1842 (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
1843 Add `ws' parameter.
1844 (bkpt_breakpoint_hit): Add `ws' parameter. Return false for
1845 events other than TARGET_SIGNAL_TRAP.
1846 (tracepoint_breakpoint_hit): Add `ws' parameter.
1847 * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
1848 parameter.
1849 (bpstat_stop_status): Same.
1850 (pc_at_non_inline_function): Same.
1851 * infrun.c (handle_syscall_event, handle_inferior_event): Adjust
1852 to pass the current event's waitstatus to bpstat_stop_status
1853 and pc_at_non_inline_function.
1854
86eb7e95
JK
18552012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1856
1857 Code cleanup.
1858 * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
1859 Update the function comment for it.
1860 (source_script_with_search): Call make_cleanup_fclose for STREAM.
1861 * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
1862 for STREAM.
1863
a9b3a50f
PA
18642012-01-24 Pedro Alves <palves@redhat.com>
1865
1866 * breakpoint.c (bpstat_stop_status): Moving clearing print_it
1867 outside `bs->stop' block.
1868 (bpstat_what): Rework bp_shlib_event handling.
1869 (internal_bkpt_check_status): If the breakpoint is a
1870 bp_shlib_event, then set bs->stop and bs->print if
1871 stop_on_solib_events is set.
1872
53fe1783
GB
18732012-01-24 Gary Benson <gbenson@redhat.com>
1874
1875 Delete #if 0'd out code.
1876 * stack.c (print_frame_label_vars): Remove.
1877 (catch_info): Likewise.
1878 (_initialize_stack): Remove "info catch" command.
1879 * NEWS: Mention the above.
1880
49c62f2e
PA
18812012-01-24 Pedro Alves <palves@redhat.com>
1882
1883 * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
1884 it.
1885 (remote_notice_new_inferior): If the remote end doesn't support
1886 the multiprocess extensions, then the PID is fake.
1887 (add_current_inferior_and_thread): New.
1888 (remote_start_remote): Use it.
1889 (extended_remote_attach_1): Adjust.
1890 (extended_remote_create_inferior_1): Use
1891 add_current_inferior_and_thread.
1892
d0d8b0c6
JK
18932012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1894
1895 Fix watchpoints to be specific for each inferior.
1896 * breakpoint.c (watchpoint_in_thread_scope): Verify also
1897 current_program_space.
1898 * i386-nat.c (i386_inferior_data_cleanup): New.
1899 (i386_inferior_data_get): Replace variable inf_data_local by an
1900 inferior_data call.
1901 (i386_use_watchpoints): Initialize i386_inferior_data.
1902 * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
1903 specific iterate_over_lwps.
1904
4403d8e9
JK
19052012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 Fix watchpoints across inferior fork.
1908 * amd64-linux-nat.c (update_debug_registers_callback): Update the
1909 comment for linux_nat_iterate_watchpoint_lwps.
1910 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
1911 linux_nat_iterate_watchpoint_lwps.
1912 (amd64_linux_prepare_to_resume): New comment on Linux kernel.
1913 * i386-linux-nat.c (update_debug_registers_callback): Update the
1914 comment for linux_nat_iterate_watchpoint_lwps.
1915 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
1916 linux_nat_iterate_watchpoint_lwps.
1917 (i386_linux_prepare_to_resume): New comment on Linux kernel.
1918 * i386-nat.c: Include inferior.h.
1919 (dr_mirror): Remove.
1920 (i386_inferior_data, struct i386_inferior_data)
1921 (i386_inferior_data_get): New.
1922 (i386_debug_reg_state): Use i386_inferior_data_get.
1923 (i386_cleanup_dregs, i386_update_inferior_debug_regs)
1924 (i386_insert_watchpoint, i386_remove_watchpoint)
1925 (i386_stopped_data_address, i386_insert_hw_breakpoint)
1926 (i386_remove_hw_breakpoint): New variable state, use
1927 i386_debug_reg_state instead of DR_MIRROR.
1928 * linux-nat.c (delete_lwp): New declaration.
1929 (num_lwps): Move here from downwards.
1930 (delete_lwp_cleanup): New.
1931 (linux_child_follow_fork): Create new child_lp, call
1932 linux_nat_new_thread and linux_nat_prepare_to_resume before calling
1933 PTRACE_DETACH.
1934 (num_lwps): Move upwards.
1935 (linux_nat_iterate_watchpoint_lwps): New.
1936 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
1937 (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
1938
2992c9a7 19392012-01-24 Joel Brobecker <brobecker@adacore.com>
1940
1941 GDB 7.4 released.
1942
e360902b
PA
19432012-01-23 Pedro Alves <palves@redhat.com>
1944
1945 * top.c (caution): Rename to ...
1946 (confirm): ... this.
1947 (show_caution): Rename to ...
1948 (show_confirm): ... this.
1949 (quit_cover): Adjust.
1950 (init_main): Adjust.
1951 * top.h (caution): Rename to ...
1952 (confirm): ... this.
1953 * utils.c (internal_vproblem, defaulted_query): Adjust.
1954
050a2e1d
PA
19552012-01-23 Pedro Alves <palves@redhat.com>
1956
1957 * top.c (caution): Update comment.
1958 (execute_command): Don't consider the current value of `caution'.
1959
77a35dd8
JK
19602012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1961
1962 * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
1963
a71b5a38
UW
19642012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
1965
1966 * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
1967 * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
1968 * target.c (target_fileio_pwrite): Remove buffer address from
1969 debug output.
1970 (target_fileio_pread): Likewise.
1971
d99bd577
UW
19722012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
1973
1974 * NEWS: Document remote "info proc" and "generate-core-file".
1975
35c2fab7
UW
19762012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
1977
1978 * gdbarch.sh (find_memory_regions): New callback.
1979 * gdbarch.c, gdbarch.h: Regenerate.
1980
1981 * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
1982 callback before falling back to target method.
1983
1984 * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
1985 (linux_target_install_ops): No longer install it.
1986
1987 * linux-tdep.c (linux_find_memory_regions): New function.
1988 (linux_init_abi): Install it.
1989
6432734d
UW
19902012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
1991
1992 * gdbarch.sh (make_corefile_notes): New architecture callback.
1993 * gdbarch.c: Regenerate.
1994 * gdbarch.h: Likewise.
1995
1996 * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
1997 before target_make_corefile_notes. If NULL is returned, the
1998 target does not support core file generation.
1999
2000 * linux-nat.c: Include "linux-tdep.h".
2001 (find_signalled_thread, find_stop_signal): Remove.
2002 (linux_nat_do_thread_registers): Likewise.
2003 (struct linux_nat_corefile_thread_data): Likewise.
2004 (linux_nat_corefile_thread_callback): Likewise.
2005 (iterate_over_spus): Likewise.
2006 (struct linux_spu_corefile_data): Likewise.
2007 (linux_spu_corefile_callback): Likewise.
2008 (linux_spu_make_corefile_notes): Likewise.
2009 (linux_nat_collect_thread_registers): New function.
2010 (linux_nat_make_corefile_notes): Replace contents by call to
2011 linux_make_corefile_notes passing linux_nat_collect_thread_registers
2012 as native-only callback.
2013
2014 * linux-tdep.h: Include "bfd.h".
2015 (struct regcache): Add forward declaration.
2016 (linux_collect_thread_registers_ftype): New typedef.
2017 (linux_make_corefile_notes): Add prototype.
2018 * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
2019 "regset.h", and "elf-bfd.h".
2020 (find_signalled_thread, find_stop_signal): New functions.
2021 (linux_spu_make_corefile_notes): Likewise.
2022 (linux_collect_thread_registers): Likewise.
2023 (struct linux_corefile_thread_data): New data structure.
2024 (linux_corefile_thread_callback): New funcion.
2025 (linux_make_corefile_notes): Likewise.
2026 (linux_make_corefile_notes_1): Likewise.
2027 (linux_init_abi): Install it.
2028
3030c96e
UW
20292012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2030
2031 * gdbarch.sh (info_proc): New callback.
2032 * gdbarch.c, gdbarch.h: Regenerate.
2033
2034 * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
2035 before falling back to the target info_proc callback.
2036
2037 * linux-nat.c: Do not include "cli/cli-utils.h".
2038 (linux_nat_info_proc): Remove.
2039 (linux_target_install_ops): No longer install it.
2040
2041 * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
2042 (read_mapping): New function.
2043 (linux_info_proc): Likewise.
2044 (linux_init_abi): Install it.
2045
145b16a9
UW
20462012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2047
2048 * defs.h (enum info_proc_what): Moved here from linux-nat.c
2049 * infcmd.c: (info_proc_cmd_1): New function.
2050 (info_proc_cmd): New function, moved here from equivalent routine
2051 orignally in linux-nat.c.
2052 (info_proc_cmd_mappings): Likewise.
2053 (info_proc_cmd_stat): Likewise.
2054 (info_proc_cmd_status): Likewise.
2055 (info_proc_cmd_cwd): Likewise.
2056 (info_proc_cmd_cmdline): Likewise.
2057 (info_proc_cmd_exe): Likewise.
2058 (info_proc_cmd_all): Likewise.
2059 (_initialize_infcmd): Install "info proc" command and subcommands.
2060
2061 * target.h (struct target_ops): Add to_info_proc.
2062 (target_info_proc): Add prototype.
2063 * target.c (target_info_proc): New function.
2064
2065 * procfs.c (procfs_info_proc): Add prototype.
2066 (info_proc_cmd): Rename into ...
2067 (procfs_info_proc): ... this. Update argument types as appropriate
2068 for a to_info_proc implementation. Handle "what" argument.
2069 (procfs_target): Install procfs_info_proc.
2070 (_initialize_procfs): No longer install "info proc" command.
2071
2072 * linux-nat.c: (enum info_proc_what): Remove.
2073 (linux_nat_info_proc_cmd_1): Rename into ...
2074 (linux_nat_info_proc): ... this. Update argument types as appropriate
2075 for a to_info_proc implementation.
2076 (linux_nat_info_proc_cmd): Remove.
2077 (linux_nat_info_proc_cmd_mappings): Likewise.
2078 (linux_nat_info_proc_cmd_stat): Likewise.
2079 (linux_nat_info_proc_cmd_status): Likewise.
2080 (linux_nat_info_proc_cmd_cwd): Likewise.
2081 (linux_nat_info_proc_cmd_cmdline): Likewise.
2082 (linux_nat_info_proc_cmd_exe): Likewise.
2083 (linux_nat_info_proc_cmd_all): Likewise.
2084 (linux_target_install_ops): Install linux_nat_info_proc.
2085 (_initialize_linux_nat): No longer install "info proc" command
2086 and subcommands.
2087
b9e7b9c3
UW
20882012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2089
2090 * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
2091 * config.in, configure: Regenerate.
2092
2093 * target.h (struct target_ops): Add to_fileio_readlink.
2094 (target_fileio_readlink): Add prototype.
2095 * target.c (target_fileio_readlink): New function.
2096
2097 * inf-child.c: Conditionally include <sys/param.h>.
2098 (inf_child_fileio_readlink): New function.
2099 (inf_child_target): Install it.
2100
2101 * remote.c (PACKET_vFile_readlink): New enum value.
2102 (remote_hostio_readlink): New function.
2103 (init_remote_ops): Install it.
2104 (_initialize_remote): Handle vFile:readlink packet type.
2105
7313baad
UW
21062012-01-20 Pedro Alves <palves@redhat.com>
2107 Ulrich Weigand <ulrich.weigand@linaro.org>
2108
2109 * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
2110 * config.in, configure: Regenerate.
2111
2112 * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
2113 to_fileio_pread, to_fileio_close, to_fileio_unlink.
2114 (target_fileio_open): Add prototype.
2115 (target_fileio_pwrite): Likewise.
2116 (target_fileio_pread): Likewise.
2117 (target_fileio_close): Likewise.
2118 (target_fileio_unlink): Likewise.
2119 (target_fileio_read_alloc): Likewise.
2120 (target_fileio_read_stralloc): Likewise.
2121
2122 * target.c: Include "gdb/fileio.h".
2123 (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
2124 (default_fileio_target): New function.
2125 (target_fileio_open): Likewise.
2126 (target_fileio_pwrite): Likewise.
2127 (target_fileio_pread): Likewise.
2128 (target_fileio_close): Likewise.
2129 (target_fileio_unlink): Likewise.
2130 (target_fileio_close_cleanup): Likewise.
2131 (target_fileio_read_alloc_1): Likewise.
2132 (target_fileio_read_alloc): Likewise.
2133 (target_fileio_read_stralloc): Likewise.
2134
2135 * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
2136 <fcntl.h>, and <unistd.h>.
2137 (inf_child_fileio_open_flags_to_host): New function.
2138 (inf_child_errno_to_fileio_error): Likewise.
2139 (inf_child_fileio_open): Likewise.
2140 (inf_child_fileio_pwrite): Likewise.
2141 (inf_child_fileio_pread): Likewise.
2142 (inf_child_fileio_close): Likewise.
2143 (inf_child_fileio_unlink): Likewise.
2144 (inf_child_target): Install to_fileio routines.
2145
2146 * remote.c (init_remote_ops): Install to_fileio routines.
2147
901f9912
UW
21482012-01-20 Pedro Alves <palves@redhat.com>
2149 Ulrich Weigand <ulrich.weigand@linaro.org>
2150
2151 * remote.c (remote_multi_process_p): Only check for multi-process
2152 protocol feature, do not check for extended protocol.
2153 (remote_supports_multi_process): Check for extended protocol here.
2154 (set_general_process): Likewise.
2155 (extended_remote_kill): Likewise.
2156 (remote_pid_to_str): Likewise.
2157 (remote_query_supported): Always query multiprocess mode.
2158
e714e1bf
UW
21592012-01-20 Pedro Alves <palves@redhat.com>
2160 Ulrich Weigand <ulrich.weigand@linaro.org>
2161
2162 * inferior.h (struct inferior): Add fake_pid_p.
2163 * inferior.c (exit_inferior_1): Clear fake_pid_p.
2164 * remote.c (remote_start_remote): Set fake_pid_p if we have to use
2165 magic_null_ptid since the remote side doesn't provide a real PID.
2166
50897289
TT
21672012-01-19 Tom Tromey <tromey@redhat.com>
2168
2169 * NEWS: Combine the two Python sections.
2170
1afc2033
JK
21712012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2172
2173 * target.h (target_close): Update comment on the target's unpush state.
2174
305436e0
PA
21752012-01-19 Pedro Alves <palves@redhat.com>
2176
2177 * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
2178 linux_nat_async directly instead of going through the target
2179 vector.
2180 * target.c (unpush_target): Close target after unpushing it, not
2181 before.
2182
49323895
GB
21832012-01-19 Gary Benson <gbenson@redhat.com>
2184
2185 * mdebugread.c (sort_blocks): Replace integer constants with ones
2186 derived from FIRST_LOCAL_BLOCK.
2187
1db33378
PP
21882012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2189 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 PR gdb/9538
2192 * symfile.c (find_separate_debug_file): New function.
2193 (terminate_after_last_dir_separator): Likewise.
2194 (find_separate_debug_file_by_debuglink): Also try realpath.
2195 * configure.ac (AC_CHECK_FUNCS): Add lstat.
2196 * configure: Regenerate.
2197 * config.in: Regenerate.
2198
f83d8a90
DE
21992012-01-18 Doug Evans <dje@google.com>
2200
2201 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
2202 (main.o): Remove rule.
2203 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
2204 (--with-sysroot): Rewrite.
2205 * configure: Regenerate.
2206 * config.in: Regenerate.
2207
2dbca4d6
SDJ
22082012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
2209
2210 * parse.c (initialize_expout): New function.
2211 (reallocate_expout): Likewise.
2212 (parse_exp_in_context): Use `initialize_expout' and
2213 `reallocate_expout' when appropriate.
2214
0695b514
PA
22152012-01-18 Pedro Alves <palves@redhat.com>
2216
2217 * record.c (struct record_breakpoint, record_breakpoint_p)
2218 (record_breakpoints): New.
2219 (record_insert_breakpoint, record_remove_breakpoint): Manage
2220 record breakpoints list. Only remove breakpoints from the
2221 inferior if they had been inserted there in the first place.
2222
136e1c30
DE
22232012-01-17 Doug Evans <dje@google.com>
2224
2225 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
2226 if we know we don't have a file name to look for.
2227
c0bf857d
PA
22282012-01-17 Pedro Alves <palves@redhat.com>
2229
2230 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
2231 the frame's stop reason is UNWIND_UNAVAILABLE.
2232
b486de60
JK
22332012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2234
2235 Fix compilation error.
2236 * m2-exp.y (yyerror): Use ANSI C prototype.
2237
d04550a6
SDJ
22382012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
2239
2240 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
2241 (growbuf_by_size): Likewise.
2242 (yyerror): Likewise.
2243 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
2244 (modblock): Remove variable (was #if 0'ed).
2245 (parse_number): Convert prototype from K&R to ANSI C.
2246 (yyerror): Likewise.
2247 * objc-exp.y (parse_number): Likewise.
2248 (yyerror): Likewise.
2249 (yylex): Remove #if 0'ed code.
2250 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
2251 (yyerror): Likewise.
2252
4aac40c8
TT
22532012-01-16 Tom Tromey <tromey@redhat.com>
2254
2255 * NEWS: Add item.
2256 * symtab.h (compare_filenames_for_search): Declare.
2257 * symtab.c (compare_filenames_for_search): New function.
2258 (iterate_over_some_symtabs): Use it.
2259 * symfile.h (struct quick_symbol_functions)
2260 <map_symtabs_matching_filename>: Change spec.
2261 * psymtab.c (partial_map_symtabs_matching_filename): Use
2262 compare_filenames_for_search. Update for new spec.
2263 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
2264 compare_filenames_for_search. Update for new spec.
2265 * breakpoint.c (clear_command): Use compare_filenames_for_search.
2266
cafec441
TT
22672012-01-16 Tom Tromey <tromey@redhat.com>
2268
2269 PR python/13281:
2270 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
2271 (struct main_type) <flag_flag_enum>: New field.
2272 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
2273 * NEWS: Add entries.
2274 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
2275 enums.
2276 * python/lib/gdb/printing.py (_EnumInstance): New class.
2277 (FlagEnumerationPrinter): Likewise.
2278
983af33b
SDJ
22792012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
2280
2281 * breakpoint.c (create_sals_from_address_default): New function.
2282 (create_breakpoints_sal_default): Likewise.
2283 (decode_linespec_default): Likewise.
2284 (is_marker_spec): Removed.
2285 (strace_marker_p): New function.
2286 (init_breakpoint_sal): Using `strace_marker_p' instead of
2287 `is_marker_spec'.
2288 (create_breakpoint): Call method `create_sals_from_address' from
2289 breakpoint_ops, replacing code that created SALs conditionally
2290 on the type of the breakpoint. Call method `create_breakpoints_sal',
2291 replacing code that created breakpoints conditionally on the type
2292 wanted.
2293 (base_breakpoint_create_sals_from_address): New function.
2294 (base_breakpoint_create_breakpoints_sal): Likewise.
2295 (base_breakpoint_decode_linespec): Likewise.
2296 (base_breakpoint_ops): Add methods
2297 `base_breakpoint_create_sals_from_address',
2298 `base_breakpoint_create_breakpoints_sal' and
2299 `base_breakpoint_decode_linespec'.
2300 (bkpt_create_sals_from_address): New function.
2301 (bkpt_create_breakpoints_sal): Likewise.
2302 (bkpt_decode_linespec): Likewise.
2303 (tracepoint_create_sals_from_address): Likewise.
2304 (tracepoint_create_breakpoints_sal): Likewise.
2305 (tracepoint_decode_linespec): Likewise.
2306 (strace_marker_create_sals_from_address): Likewise.
2307 (strace_marker_create_breakpoints_sal): Likewise.
2308 (strace_marker_decode_linespec): Likewise.
2309 (strace_marker_breakpoint_ops): New variable.
2310 (addr_string_to_sals): Remove `marker_spec'. Call method
2311 `decode_linespec' from breakpoint_ops, replacing code that decoded
2312 an address string into a SAL. Use `strace_marker_p' instead of
2313 `marker_spec'.
2314 (strace_command): Decide whether we are dealing with a static
2315 tracepoint with marker or not. Use the appropriate breakpoint_ops.
2316 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
2317 * breakpoint.h (linespec_result, linespec_sals): New forward
2318 declarations.
2319 (breakpoint_ops) <create_sals_from_address>,
2320 <create_breakpoints_sal>, <decode_linespec>: New methods.
2321
4795f398
DE
23222012-01-14 Doug Evans <dje@google.com>
2323
2324 * NEWS: Update text for "maint set python print-stack".
2325 It is deprecated in gdb 7.4 and deleted in 7.5.
2326
ee5106fe
EZ
23272012-01-13 Eli Zaretskii <eliz@gnu.org>
2328
2329 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
2330 including curses.h.
2331
b161e06f
JK
23322012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2333
2334 * configure: Regenerate.
2335 * config.in: Regenerate.
2336
85254831
KS
23372012-01-12 Keith Seitz <keiths@redhat.com>
2338
2339 PR mi/10586
2340 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
2341 (ANONYMOUS_UNION_NAME): Define.
2342 (is_path_expr_parent): New function.
2343 (get_path_expr_parent): New function.
2344 (is_anonymous_child): New function.
2345 (create_child_with_value): If the child is anonymous and without
2346 a name, assign an object name to it.
2347 (c_describe_child): Use get_path_expr_parent to determine
2348 the parent expression.
2349 If there field represents an anonymous struct or union and
2350 has no name, set an appropriate display name and expression.
2351 (cplus_describe_child): Likewise.
2352
620fa63a
PA
23532012-01-12 Pedro Alves <palves@redhat.com>
2354
2355 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
2356 available when %ebp is found to be zero (outermost).
2357
2efa2c79
AT
23582012-01-11 Andreas Tobler <andreast@fgznet.ch>
2359
2360 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
2361 an internal gdb_static_assert.
2362 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
2363
88e7d25d
TT
23642012-01-11 Tom Tromey <tromey@redhat.com>
2365
2366 PR gdb/9598:
2367 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
2368 catch" and "catch throw".
2369
72384ba3
PH
23702012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2371
2372 * blockframe.c (block_innermost_frame): Start search from selected
2373 frame, if present, or otherwise the current frame.
2374
2375 * c-exp.y (variable): Update innermost_block for
2376 'block COLONCOLON NAME' clause.
2377 * m2-exp.y (variable): Ditto.
2378 * objc-exp.y (variable): Ditto.
2379
065a711f
TT
23802012-01-10 Tom Tromey <tromey@redhat.com>
2381
2382 PR python/13199:
2383 * python/python.c (finish_python_initialization): Set sys.argv.
2384
f3f5162e
DE
23852012-01-10 Doug Evans <dje@google.com>
2386
2387 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
2388 "want_line_info". All callers updated.
2389 (dwarf_decode_lines_1): New function.
2390 (handle_DW_AT_stmt_list): Add function comment.
2391 New arg "want_line_info". All callers updated.
2392 (read_file_scope,read_type_unit_scope): Move comment from
2393 handle_DW_AT_stmt_list to here.
2394
9934703b
JK
23952012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2396
2397 Fix regression after libiberty/ update for GCC PR 6057 and others.
2398 * c-exp.y (operator) <OPERATOR DELETE>
2399 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
2400 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
2401 (make_builtin_type, make_name): New variable i, add gdb_assert.
2402 (operator) <OPERATOR NEW>: Update ARGS to 3.
2403 (operator) <OPERATOR DELETE>: Add trailing space.
2404 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
2405 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
2406 * cp-support.c (cp_canonicalize_string): Check NULL from
2407 cp_comp_to_string, call warning and return.
2408
06b9f45f
JK
24092012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2410
2411 Fix duplicate .o files after omitting libbfd.a.
2412 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
2413 (SFILES): Add corelow.c.
2414 (COMMON_OBS): Add corelow.o.
2415 (ALLDEPFILES): Remove corelow.c.
2416 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
2417 * config/alpha/alpha-osf3.mh: Likewise.
2418 * config/alpha/fbsd.mh: Likewise.
2419 * config/arm/nbsdaout.mh: Likewise.
2420 * config/arm/nbsdelf.mh: Likewise.
2421 * config/i386/i386gnu.mh: Likewise.
2422 * config/ia64/hpux.mh: Likewise.
2423 * config/ia64/linux.mh: Likewise.
2424 * config/m32r/linux.mh: Likewise.
2425 * config/m68k/linux.mh: Likewise.
2426 * config/mips/irix5.mh: Likewise.
2427 * config/mips/irix6.mh: Likewise.
2428 * config/pa/hpux.mh: Likewise.
2429 * config/pa/linux.mh: Likewise.
2430 * config/powerpc/aix.mh: Likewise.
2431 * config/sparc/linux.mh: Likewise.
2432 * config/sparc/linux64.mh: Likewise.
2433 * config/sparc/sol2.mh: Likewise.
2434 * config/vax/vax.mh: Likewise.
2435 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
2436 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
2437 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
2438 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
2439 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
2440 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
2441 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
2442 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
2443 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
2444 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
2445 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
2446 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
2447 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
2448 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
2449 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
2450 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
2451 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
2452 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
2453 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
2454 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
2455 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
2456 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
2457 corelow.o from gdb_target_obs.
2458 * corefile.c (core_target): Update the comment on NULL value.
2459 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
2460 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
2461 MATCHES. Drop YUMMY set on NULL.
2462 (core_close): Do not call exit_inferior_silent on zero PID. Do not
2463 reclaim CORE_DATA if it is already NULL.
2464
34365054
DE
24652012-01-09 Doug Evans <dje@google.com>
2466
2467 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
2468 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
2469
696166a3
KS
24702012-01-09 Keith Seitz <keiths@redhat.com>
2471
2472 * breakpoint.c (wrapper.h): Don't include.
2473
8e7b59a5
KS
24742012-01-09 Keith Seitz <keiths@redhat.com>
2475
2476 * Makefile.in (SFILES): Remove wrapper.c.
2477 (HFILES_NO_SRCDIR): Remove wrapper.h.
2478 (COMMON_OBS): Remove wrapper.o.
2479 * cli/cli-interp.c: Don't inlude wrapper.h.
2480 * corelow.c: Likewise.
2481 (core_open): Replace gdb_target_find_new_threads with
2482 TRY_CATCH around target_find_new_threads.
2483 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
2484 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
2485 * varobj.c (varobj_create): Likewise for parse_exp_1 and
2486 evaluate_expression.
2487 (varobj_set_value): Likewise for evaluate_expression and
2488 value_assign.
2489 (install_new_variable): Likewise for value_fetch_lazy.
2490 (adjust_value_for_child_access): Likewise for value_ind.
2491 (c_describe_child): Likewise for value_subscript and
2492 value_ind.
2493 (c_value_of_root): Likewise for evaluate_expression.
2494 * wrapper.c: Remove.
2495 * wrapper.h: Remove.
2496
1a4eeb98
DE
24972012-01-09 Doug Evans <dje@google.com>
2498
9ff913ba
DE
2499 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
2500 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
2501 "abfd" args with "section". All callers updated.
2502 Error checking code moved ...
2503 (error_check_comp_unit_head): ... here. New function.
2504 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
2505 Delete arg "abfd". New arg "type_offset". All callers updated.
2506 (create_debug_types_hash_table): Simplify by using
2507 read_and_check_type_unit_head.
2508
1a4eeb98
DE
2509 * parser-defs.h (namecopy): Delete.
2510 * parse.c (namecopy, namecopy_size): Move into copy_name.
2511
2e6af8c0
JK
25122012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2513
2514 Partially fix duplicate .o files after omitting libbfd.a.
2515 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
2516 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
2517 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
2518 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
2519 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
2520 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
2521 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
2522
9f2f828a
PA
25232012-01-09 Pedro Alves <palves@redhat.com>
2524
2525 * MAINTAINERS: Update my email address.
2526
4d72c0bc
DE
25272012-01-08 Doug Evans <dje@google.com>
2528
d467dd73
DE
2529 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
2530 n_type_units. Rename type_comp_units to all_type_units.
2531 All uses updated.
2532 (add_signatured_type_cu_to_table): Renamed from
2533 add_signatured_type_cu_to_list. All callers updated.
2534
4d72c0bc
DE
2535 * gdbtypes.h (struct cplus_struct_type): Delete member
2536 nfn_fields_total. All uses removed.
2537
21b2bd31
DE
25382012-01-06 Doug Evans <dje@google.com>
2539
2540 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
2541 to top of file.
2542 (dwarf2_find_comp_unit): Delete.
2543 (process_psymtab_comp_unit): Make result "void".
2544 Delete args buffer, info_ptr, buffer_size, and replace with
2545 "section". All callers updated.
2546 (dwarf2_build_psymtabs_hard): Simplify.
2547
bfd189b1
SDJ
25482012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
2549 Thiago Jung Bauermann <bauerman@br.ibm.com>
2550
2551 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
2552 before `struct gdb_exception'.
2553 * breakpoint.c (update_global_location_list_nothrow)
2554 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
2555 * cp-abi.c (value_rtti_type): Likewise.
2556 * cp-support.c (cp_validate_operator): Likewise.
2557 * infrun.c (insert_exception_resume_breakpoint)
2558 (check_exception_resume, keep_going): Likewise.
2559 * mi-interp.c (mi_breakpoint_created)
2560 (mi_breakpoint_modified): Likewise.
2561 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
2562 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
2563 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
2564
6b07635f
DE
25652012-01-05 Doug Evans <dje@google.com>
2566
0b30b85c
DE
2567 * dwarf2read.c (statement_prologue): Delete, unused.
2568
98714339
DE
2569 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
2570 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
2571
6b07635f
DE
2572 * dwarf2read.c (comp_unit_header): Delete, unused.
2573
761f4555
UW
25742012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
2575
2576 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
2577 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
2578
2ca0b532
PA
25792012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
2580
2581 * infrun.c (normal_stop): Don't skip calling the normal_stop
2582 observers if the thread was doing a multi-step, but stopped for
2583 some reason other than stepping.
2584
50aeff07
PA
25852012-01-05 Pedro Alves <alves.ped@gmail.com>
2586
2587 * cli/cli-decode.h: Add comments.
2588 (CMD_LIST_AMBIGUOUS): Moved to command.h
2589 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
2590 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
2591 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
2592 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
2593 (add_com, add_com_alias, add_info, add_info_alias)
2594 (complete_on_cmdlist, complete_on_enum, help_list): Remove
2595 declarations.
2596 * command.h: Add and adjust comments.
2597 (CMD_LIST_AMBIGUOUS): Moved here.
2598 (help_cmd, help_cmd_list): Delete declarations.
2599
5953832c
DE
26002012-01-04 Doug Evans <dje@google.com>
2601
e5fe5e75
DE
2602 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
2603 All callers updated.
2604 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
2605 Replace all arguments with "per_cu". All callers updated.
2606
28dee7f5
DE
2607 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
2608
23745b47
DE
2609 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
2610 New arg "per_cu". All callers updated.
2611
5953832c
DE
2612 Delete #if 0'd out code.
2613 * language.c (binop_result_type): Delete.
2614 (simple_type, ordered_type, same_type, integral_type): Delete.
2615 (numeric_type, character_type, string_type, boolean_type): Delete.
2616 (float_type, structured_type): Delete.
2617 * language.h: Update.
2618
0f5b7562
TT
26192012-01-04 Tom Tromey <tromey@redhat.com>
2620
2621 * python/py-value.c (valpy_binop): Initialize 'res_val'.
2622
78218f56
JB
26232012-01-04 Joel Brobecker <brobecker@adacore.com>
2624
2625 * corefile.c (close_exec_file): Delete.
2626 (reopen_exec_file): Remove commented out code that seems related
2627 to close_exec_file, which is being deleted here.
2628 * inferior.h (close_exec_file): Delete.
2629 * fork-child.c (fork_inferior): Remove call to fork_inferior.
2630
0fcd72ba
JB
26312012-01-04 Joel Brobecker <brobecker@adacore.com>
2632
2633 * ada-lang.c: #include "cli/cli-utils.h".
2634 (get_selections): Use skip_spaces.
2635 (ada_get_next_arg): Use skip_spaces and skip_to_space.
2636 (catch_ada_exception_command_split): Use skip_spaces.
2637 (ada_decode_assert_location): Likewise.
2638
1dabb4c4
JB
26392012-01-04 Joel Brobecker <brobecker@adacore.com>
2640
2641 * linespec.c (decode_line_internal): Check for C++ or Java
2642 compound constructs only if the current language is C, C++
2643 or Java.
2644
5931a2fa
JK
26452012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2646
2647 Revert:
2648 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2649 Joel Brobecker <brobecker@adacore.com>
2650 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
2651 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
2652 3 times.
2653 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
2654 fall through into AT_ENTRY_POINT.
2655 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
2656 DUMMY_ADDR with it.
2657 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
2658 PPC_INSN_SIZE skip to 3 times.
2659
1a2da5ee
JB
26602012-01-04 Joel Brobecker <brobecker@adacore.com>
2661
2662 * linespec.c (add_minsym): Preserve function descriptors.
2663
8645ff69
UW
26642012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
2665
2666 * breakpoint.c (all_locations_are_pending): Consider locations
2667 in program spaces executing during startup pending as well.
2668
0b302171
JB
26692012-01-04 Joel Brobecker <brobecker@adacore.com>
2670
2671 Copyright year update in most files of the GDB Project.
2672
8ba098ad
JB
26732012-01-04 Joel Brobecker <brobecker@adacore.com>
2674
2675 * copyright.sh: Delete.
2676 * copyright.py: Rewrite.
2677
09c01c30
JB
26782012-01-04 Joel Brobecker <brobecker@adacore.com>
2679
2680 * gnulib/extra/update-copyright: New file, imported from gnulib.
2681
3c36c0af
JB
26822012-01-04 Joel Brobecker <brobecker@adacore.com>
2683
2684 * README (Copyright and License Notices): New section.
2685
888fe1e1
TT
26862012-01-03 Tom Tromey <tromey@redhat.com>
2687
2688 PR python/12533:
2689 * python/py-value.c (valpy_dereference, valpy_get_address
2690 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
2691 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
2692 (valpy_absolute, valpy_richcompare): Free intermediate values.
2693
6e681866
JB
26942011-01-03 Joel Brobecker <brobecker@adacore.com>
2695
2696 * ada-lang.c: Reformat the copyright notice.
2697
0cd09acb
JK
26982012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
2701 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
2702 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
2703 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
2704 Revert this part of:
2705 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 Build gdb directly from *.o files not using libgdb.a.
2707 * Makefile.in (COMMON_OBS): Remove solib-target.o.
2708
12c3e59c
JB
27092012-01-02 Joel Brobecker <brobecker@adacore.com>
2710
2711 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
2712 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
2713 Reformat the copyright header.
2714
11bf1490
JK
27152012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2716
2717 Revert this part of:
2718 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2719 Remove the gdbtui binary.
2720 * gdb.c (main): Remove args.interpreter_p initialization.
2721 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
2722 * main.h (struct captured_main_args): Remove interpreter_p.
2723
1fef196f
JB
27242012-01-02 Joel Brobecker <brobecker@adacore.com>
2725
2726 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
2727
67827812
JB
27282012-01-02 Joel Brobecker <brobecker@adacore.com>
2729
2730 * top.c (print_gdb_version): Update copyright year.
2731
a4d0b831
YQ
27322012-01-02 Yao Qi <yao@codesourcery.com>
2733
2734 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
2735
b5914469
JK
27362012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2737 Joel Brobecker <brobecker@adacore.com>
2738
2739 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
2740 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
2741 3 times.
2742 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
2743 fall through into AT_ENTRY_POINT.
2744 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
2745 DUMMY_ADDR with it.
2746 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
2747 PPC_INSN_SIZE skip to 3 times.
2748
8da828f7
JK
27492012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
2752 the return value.
2753 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
2754
8574e74b
JK
27552012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2756
2757 Build gdb directly from *.o files not using libgdb.a.
2758 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
2759 (COMMON_OBS): Remove solib-target.o.
2760 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
2761 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
2762 (LIBGDB_OBS, libgdb.a): Move it above.
2763 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
2764 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
2765 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
2766 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
2767 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
2768 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
2769 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
2770 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
2771 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
2772 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
2773 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
2774 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
2775 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
2776 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
2777 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
2778 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
2779 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
2780 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
2781 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
2782 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
2783 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
2784 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
2785 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
2786 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
2787 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
2788 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
2789 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
2790
217bff3e
JK
27912012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2792
2793 Remove the gdbtui binary.
2794 * .gitignore (/gdbtui): Remove.
2795 * Makefile.in (TUI): Remove.
2796 (SUBDIR_TUI_OBS): Remove tui-main.o.
2797 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
2798 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
2799 (tui-main.o): Remove.
2800 (all_object_files): Remove tui-main.o.
2801 * NEWS: New note for the gdbtui removal.
2802 * configure: Rebuilt.
2803 * configure.ac: No longer add all-tui, clean-tui, install-tui and
2804 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
2805 CONFIG_UNINSTALL respectively.
2806 * gdb.c (main): Remove args.interpreter_p initialization.
2807 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
2808 * main.h (struct captured_main_args): Remove interpreter_p.
2809 * tui/tui-main.c: Remove.
2810
9cdd5dbd
DE
28112012-01-01 Doug Evans <dje@google.com>
2812
bb5ed363
DE
2813 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
2814 (dwarf2_physname, read_import_statement): Ditto.
2815 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
2816 (process_structure_scope read_subroutine_type): Ditto.
2817 (read_typedef, load_partial_dies, read_partial_die): Ditto.
2818 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
2819 (dwarf2_fetch_die_location_block): Ditto.
2820 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
2821
a0f42c21
DE
2822 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
2823 All callers updated.
2824 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
2825 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
2826 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
2827
2dc860c0
DE
2828 * dwarf2read.c (load_cu): Move assert to more useful location.
2829
68dc6402
DE
2830 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
2831 All callers updated.
2832
9cdd5dbd
DE
2833 * dwarf2read.c (dwarf2_per_objfile): Add comment.
2834 (dwarf2_elf_names): Minor reformat.
2835 (dwarf2_per_cu_data): Tweak comment.
2836 (dwarf2_read_section): Fix comment.
2837 (create_all_comp_units): Fix comment.
2838 (load_full_comp_unit): Fix comment.
2839 (process_full_comp_unit): Fix comment.
2840 (read_signatured_type): Fix comment.
2841
0c10e53e 2842For older changes see ChangeLog-2011.
c906108c
SS
2843\f
2844Local Variables:
2845mode: change-log
2846left-margin: 8
2847fill-column: 74
2848version-control: never
57da7796 2849coding: utf-8
c906108c 2850End:
This page took 1.462163 seconds and 4 git commands to generate.