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