2007-06-06 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e6cf7916
UW
12007-06-06 Markus Deuling <deuling@de.ibm.com>
2
3 * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
4 gdbarch_have_nonsteppable_watchpoint.
5 * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
6 * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
7 gdbarch_cannot_step_breakpoint.
8 * infrun.c (resume): Likewise.
9 * gdbarch.c, gdbarch.h: Regenerate.
10
bbcf301a
UW
112007-06-06 Markus Deuling <deuling@de.ibm.com>
12
13 * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
14 * stack.c (print_frame_args): Likewise.
15 * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
16 * stack.c (print_args_stub, frame_info): Likewise.
17 * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
18 * stack.c (print_args_stub, frame_info): Likewise.
19 * gdbarch.c, gdbarch.h: Regenerate.
20
95f1da47
UW
212007-06-06 Markus Deuling <deuling@de.ibm.com>
22
23 * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
24 gdbarch_coff_make_msymbol_special.
25 * coffread.c (coff_symtab_read): Likewise.
26 * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
27 gdbarch_elf_make_msymbol_special.
28 * elfread.c (elf_symtab_read): Likewise.
29 * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
30 * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
31 * gdbarch.c, gdbarch.h: Regenerate.
32
39e8369e
UW
332007-06-06 Markus Deuling <deuling@de.ibm.com>
34
35 * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
36 gdbarch_frame_red_zone_size.
37 * gdbarch.c, gdbarch.h: Regenerate.
38
4d1e7dd1
UW
392007-06-06 Markus Deuling <deuling@de.ibm.com>
40
41 * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
42 * infcall.c (call_function_by_hand): Likewise.
43 * gcore.c (derive_stack_segment): Likewise.
44 * frame.c (frame_id_inner): Likewise.
45 * arch-utils.c (core_addr_lessthan): Likewise (comment).
46 * ada-lang.c (ensure_lval): Likewise.
47 * gdbarch.c, gdbarch.h: Regenerate.
48
76e71323
UW
492007-06-06 Markus Deuling <deuling@de.ibm.com>
50
51 * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
52 gdbarch_address_to_pointer.
53 * findvar.c (store_typed_address): Likewise.
54 * gdbtypes.c (make_pointer_type): Likewise (comment).
55 * procfs.c (procfs_address_to_host_pointer): Likewise.
56 * std-regs.c (value_of_builtin_frame_reg): Likewise.
57 (value_of_builtin_frame_fp_reg): Likewise.
58 (value_of_builtin_frame_pc_reg): Likewise.
59 * utils.c (paddress): Likewise (comment).
60 * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
61 gdbarch_pointer_to_address.
62 * findvar.c (extract_typed_address): Likewise.
63 * gdbtypes.c (make_pointer_type): Likewise (comment).
64 * valops.c (value_cast): Likewise (comment).
65 * gdbarch.c, gdbarch.h: Regenerate.
66
91104499
UW
672007-06-06 Markus Deuling <deuling@de.ibm.com>
68
69 * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
70 * infrun.c (handle_inferior_event): Likewise.
71 * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
72 gdbarch_get_longjmp_target_p.
73 * breakpoint.c (breakpoint_re_set): Likewise.
74 * infrun.c (handle_inferior_event): Likewise.
75 * gdbarch.c, gdbarch.h: Regenerate.
76
d3e9c991
UW
772007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
78
79 * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
80 HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
81 HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
82 hp_cxx_exception_support, hp_cxx_exception_support_initialized,
83 eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
84 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
85 find_stub_with_shl_get, cover_find_stub_with_shl_get,
86 initialize_hp_cxx_exception_support, child_enable_exception_callback,
87 current_ex_event, child_get_current_exception_event): Remove.
88 (hppa_hpux_inferior_created): Remove.
89 (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
90
91 * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
92 (deprecated_exception_support_initialized): Remove.
93 * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
94 (deprecated_exception_support_initialized): Remove.
95 (breakpoint_init_inferior): Remove handling of non-zero
96 deprecated_exception_catchpoints_are_fragile.
97
98 * symtab.h (deprecated_hp_som_som_object_present): Remove.
99 * symtab.c (deprecated_hp_som_som_object_present): Remove.
100 * c-typeprint.c (c_type_print_base): Remove handling of non-zero
101 deprecated_hp_som_som_object_present.
102 * eval.c (evaluate_subexp_standard): Likewise.
103 * valops.c (value_cast): Likewise.
104
105 * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
106 * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
107 * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
108
5e787d22
UW
1092007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
110
111 * objfiles.h (ImportEntry, ExportEntry): Remove types.
112 (struct objfile): Remove import_list, import_list_size,
113 export_list, export_list_size members.
114 (is_in_import_list): Remove prototype.
115 * objfiles.c (is_in_import_list): Remove.
116 * somread.c (init_import_symbols, init_export_symbols): Remove.
117 (som_symfile_read): Do not call init_import_symbols. Do not
118 set objfile->export_list and objfile->export_list_size.
119
93e7bd98
DJ
1202007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
121
122 * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
123 Use the original objfile if necessary.
124
e1024ff1
DJ
1252007-06-04 Daniel Jacobowitz <dan@codesourcery.com>
126
127 * defs.h (ldirname): New prototype.
128 * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
129 missing.
130 * utils.c (ldirname): New function.
131 * xml-tdesc.c (file_read_description_xml): Use ldirname.
132
ee82e879
UW
1332007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
134
135 * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
136
513f5903
JB
1372007-06-01 Joel Brobecker <brobecker@adacore.com>
138
139 * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
140
52a75740
UW
1412007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
142
143 * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
144
c3fc7e62
UW
1452007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
146
147 * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
148 INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
149 (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
150 PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
151 (ppc_linux_in_sigtramp, insn_is_sigreturn,
152 ppc_linux_at_sigtramp_return_path): Remove.
153
4c6b5505
UW
1542007-05-31 Markus Deuling <deuling@de.ibm.com>
155
156 * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
157 (xtensa_register_write_masked, xtensa_register_read_masked)
158 (xtensa_extract_return_value, xtensa_store_return_value
159 (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
160 TARGET_BYTE_ORDER by gdbarch_byte_order.
161 * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
162 (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
163 (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
164 * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
165 (sh64_push_dummy_call, sh64_extract_return_value)
166 (sh64_store_return_value, sh64_register_convert_to_virtual)
167 (sh64_register_convert_to_raw, sh64_pseudo_register_read)
168 (sh64_pseudo_register_write, sh64_do_fp_register)
169 (sh64_frame_prev_register): Likewise.
170 * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
171 (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
172 * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
173 (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
174 * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
175 * ppc-linux-nat.c (store_register): Likewise.
176 * nto-tdep.c (nto_find_and_open_solib)
177 (nto_init_solib_absolute_prefix): Likewise.
178 * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
179 (mips_convert_register_p, mips_eabi_push_dummy_call)
180 (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
181 (mips_o32_push_dummy_call, mips_o32_return_value)
182 (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
183 (mips_read_fp_register_single, mips_read_fp_register_double)
184 (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
185 (mips_breakpoint_from_pc): Likewise.
186 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
187 * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
188 (mips_linux_o32_sigframe_init): Likewise.
189 * m32r-tdep.c (m32r_memory_insert_breakpoint)
190 (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
191 * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
192 (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
193 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
194 * coffread.c (process_coff_symbol): Likewise.
195 * arm-tdep.c (convert_from_extended, convert_to_extended)
196 (gdb_print_insn_arm): Likewise.
197
f57d151a
UW
1982007-05-31 Markus Deuling <deuling@de.ibm.com>
199
200 * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
201 * i386-tdep.c (i386_dbx_reg_to_regnum)
202 (i386_svr4_reg_to_regnum): Likewise.
203 * inf-ptrace.c (inf_ptrace_fetch_registers)
204 (inf_ptrace_store_registers): Likewise.
205 * corelow.c (get_core_registers): Likewise.
206 * i386-linux-nat.c (supply_gregset, fill_gregset)
207 (i386_linux_fetch_inferior_registers)
208 (i386_linux_store_inferior_registers): Likewise.
209 * remote.c (init_remote_state,packet_reg_from_regnum)
210 (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
211 (remote_prepare_to_store,store_registers_using_G)
212 (remote_store_registers,remote_arch_state): Likewise.
213 * tracepoint.c (encode_actions): Likewise.
214 * mi/mi-main.c (mi_cmd_data_list_register_names)
215 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
216 (mi_cmd_data_write_register_values): Likewise.
217 * tui/tui-regs.c (tui_show_register_group)
218 (tui_show_register_group): Likewise.
219 * xtensa-tdep.h (FP_ALIAS): Likewise.
220 * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
221 (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
222 (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
223 * win32-nat.c (do_win32_fetch_inferior_registers)
224 (do_win32_store_inferior_registers,fetch_elf_core_registers
225 * user-regs.h: Likewise (comment).
226 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
227 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
228 * target-descriptions.h: Likewise (comment).
229 * target-descriptions.c (tdesc_use_registers): Likewise (comment).
230 * target.c (debug_print_register): Likewise.
231 * stack.c (frame_info): Likewise.
232 * stabsread.c (define_symbol): Likewise.
233 * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
234 (sh64_media_print_registers_info)
235 (sh64_compact_print_registers_info): Likewise.
236 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
237 * rs6000-nat.c (fetch_register,store_register): Likewise.
238 * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
239 (gdbsim_fetch_register,gdbsim_store_register): Likewise.
240 * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
241 * remote-m32r-sdi.c (m32r_fetch_registers)
242 (m32r_store_registers): Likewise.
243 * reggroups.c (default_register_reggroup_p): Likewise.
244 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
245 (regcache_restore,regcache_dump): Likewise.
246 * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
247 * mips-tdep.c (mips_xfer_register,mips_register_name)
248 (mips_register_reggroup_p,mips_pseudo_register_read)
249 (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
250 (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
251 (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
252 (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
253 (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
254 (print_gp_register_row,mips_print_registers_info)
255 (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
256 (mips_register_sim_regno): Likewise.
257 * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
258 (mips_linux_n32n64_sigframe_init): Likewise.
259 * mips-linux-nat.c (mips_linux_register_addr)
260 (mips64_linux_register_addr): Likewise.
261 * findvar.c (value_of_register): Likewise.
262 * infcmd.c (default_print_registers_info,registers_info)
263 (print_vector_info,print_float_info): Likewise.
264 * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
265 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
266 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
267 * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
268 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
269 * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
270 (ia64_cannot_store_register,ia64_linux_fetch_registers)
271 (ia64_linux_store_registers): Likewise.
272 * hpux-thread.c (hpux_thread_fetch_registers)
273 (hpux_thread_store_registers): Likewise.
274 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
275 (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
276 (h8300_register_type): Likewise.
277 * dwarf2-frame.c (dwarf2_frame_cache)
278 (dwarf2_frame_state_alloc_regs): Likewise.
279 * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
280 (cris_cannot_store_register,crisv32_cannot_fetch_register)
281 (crisv32_cannot_store_register,cris_register_name): Likewise.
282 * avr-tdep.c (avr_frame_unwind_cache): Likewise.
283 * arch-utils.c (legacy_register_sim_regno)
284 (legacy_virtual_frame_pointer): Likewise.
285 * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
286 * arm-tdep.h: Likewise (comment).
287 * frv-tdep.c (frv_register_sim_regno): Likewise.
288 * m68klinux-nat.c (old_fetch_inferior_registers)
289 (old_store_inferior_registers): Likewise.
290 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
291 * irix5-nat.c (fetch_core_registers): Likewise.
292 * hppa-tdep.c (hppa_frame_cache): Likewise.
293 * hppa-linux-nat.c (hppa_linux_register_addr)
294 (hppa_linux_fetch_inferior_registers)
295 (hppa_linux_store_inferior_registers): Likewise.
296 * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
297 (hppa_hpux_store_inferior_registers): Likewise.
298 * amd64-nat.c (amd64_native_gregset_reg_offset)
299 (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
300 * dbug-rom.c (dbug_regname): Likewise.
301 * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
302 (HARD_PAGE_REGNUM (comment)): Likewise.
303 * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
304 * i386-tdep.c (i386_dbx_reg_to_regnum)
305 (i386_svr4_reg_to_regnum): Likewise.
306 * mi/mi-main.c (mi_cmd_data_list_register_names)
307 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
308 (mi_cmd_data_write_register_values): Likewise.
309 * gdbarch.c, gdbarch.h: Regenerate.
310 * tui/tui-regs.c (tui_show_register_group): Likewise.
311 * xtensa-tdep.h (FP_ALIAS): Likewise.
312 * user-regs.h: Likewise (comment).
313 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
314 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
315 * target-descriptions.h: Likewise (comment).
316 * target.c (debug_print_register): Likewise.
317 * stack.c (frame_info): Likewise.
318 * stabsread.c (define_symbol): Likewise.
319 * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
320 (sh64_compact_print_registers_info): Likewise.
321 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
322 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
323 (regcache_restore,regcache_dump): Likewise.
324 * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
325 (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
326 (mips_stab_reg_to_regnum): Likewise.
327 * findvar.c (value_of_register): Likewise.
328 * infcmd.c (default_print_registers_info,registers_info)
329 (print_vector_info,print_float_info): Likewise.
330 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
331 * h8300-tdep.c (h8300_register_type): Likewise.
332 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
333 * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
334 * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
335 (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
336 * parse.c: Remove comment.
337 * gdbarch.c, gdbarch.h: Regenerate
338
8d4c1ba3
UW
3392007-05-31 Markus Deuling <deuling@de.ibm.com>
340
341 * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
342 gdbarch_cannot_fetch_register.
343 * alpha-nat.c (fetch_osf_core_registers): Likewise.
344 * hppa-linux-nat.c (fetch_register): Likewise.
345 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
346 * m68klinux-nat.c (fetch_register): Likewise.
347 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
348 Likewise.
349 * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
350 gdbarch_cannot_store_register.
351 * hppa-linux-nat.c (store_register): Likewise.
352 * inf-ptrace.c (inf_ptrace_store_register): Likewise.
353 * regcache.c (regcache_raw_write): Likewise.
354 * m68klinux-nat.c (store_register): Likewise.
355 * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
356 * gdbarch.c, gdbarch.h: Regenerate.
357
3f4844da
UW
3582007-05-31 Markus Deuling <deuling@de.ibm.com>
359
360 * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
361 * gdbarch.c, gdbarch.h: Regenerate.
362
6c6b19fd
UW
3632007-05-31 Markus Deuling <deuling@de.ibm.com>
364
365 * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
366 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
367 * gdbarch.c, gdbarch.h: Regenerate.
368
0d20ae72
UW
3692007-05-31 Markus Deuling <deuling@de.ibm.com>
370
371 * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
372 * ax-gdb.c (gen_bitfield_ref): Likewise.
373 * mi/mi-main.c (get_register): Likewise.
374 * findvar.c (default_value_from_register, extract_signed_integer)
375 (extract_unsigned_integer, extract_long_unsigned_integer)
376 (store_signed_integer, store_unsigned_integer): Likewise.
377 * regcache.c (regcache_dump): Likewise.
378 * value.c (lookup_internalvar, value_of_internalvar)
379 (set_internalvar): Likewise.
380 * defs.h: Likewise.
381 * valprint.c (print_binary_chars, print_octal_chars)
382 (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
383 * infcmd.c (default_print_registers_info): Likewise.
384 * arch-utils.c (selected_byte_order, show_endian): Likewise.
385 * stabsread.c (define_symbol): Likewise.
386 * doublest.c (floatformat_from_length, floatformat_from_type)
387 (extract_typed_floating, store_typed_floating): Likewise.
388 * gdbarch.c, gdbarch.h: Regenerate.
389
faaf634c
UW
3902007-05-31 Markus Deuling <deuling@de.ibm.com>
391
392 * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
393 gdbarch_call_dummy_location.
394 * infcall.c (call_function_by_hand): Likewise.
395 * inferior.h: Change comment.
396 * arch-utils.c: Change comment.
397 * gdbarch.c, gdbarch.h: Regenerate.
398
8905984d
JB
3992007-05-28 Joel Brobecker <brobecker@adacore.com>
400
401 * solib-aix5.c: Delete.
402 * Makefile.in (solib-aix5.o): Delete rule.
403
ab14ee8d
DJ
4042007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
405
406 * breakpoint.h (enum bpstat_what_main_action): Remove
407 BPSTAT_WHAT_THROUGH_SIGTRAMP.
408 * infrun.c (process_event_stop_test): Do not check for it.
409
23776285
MR
4102007-05-22 Chris Dearman <chris@mips.com>
411 Maciej W. Rozycki <macro@mips.com>
412
413 * ser-unix.c (show_serial_hwflow): New function.
414 (hardwire_raw): Add hardware flow control support.
415 (_initialize_ser_hardwire): Add "set/show remoteflow".
416 * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
417 * NEWS: Document the new command.
418
eb368090
UW
4192007-05-21 Ulrich Weigand <uweigand@de.ibm.com>
420
421 * config/i386/tm-linux.h (sys_quotactl): Do not define.
422 * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
423 define for i[[3456]]86-*-linux* native configurations.
424 * config.in, configure: Regenerate.
425
8d08c9ce
JB
4262007-05-19 Joel Brobecker <brobecker@adacore.com>
427
428 * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
429 a core file. Add comment in the function description.
430
42be36b3
CT
4312007-05-18 Caroline Tice <ctice@apple.com>
432
433 * c-valprint.c (c_value_print): If the initialized field of the
434 value struct is 0, print out "[uninitialized]" before the value.
435 * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field;
436 allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a
437 DW_OP_regx op; add case for DW_OP_GNU_uninit and update
438 ctx->initialized appropriately. Verify no location op follows
439 DW_OP_GNU_uninit.
440 * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
441 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to
442 set_value_initialized.
443 * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
444 (decode_locdesc): Add case for DW_OP_GNU_uninit.
445 * value.c (struct value): New field, initialized.
446 (allocate_value): Initialize new field.
447 (set_value_initialized): New function.
448 (value_initialized): New function.
449 * value.h (value_initialized): New extern declaration.
450 (set_value_initialized): Likewise.
42be36b3 451
a7c569c8
CT
4522007-05-18 Caroline Tice <ctice@apple.com>
453
454 * MAINTAINERS (Write After Approval): Add self.
455
1e98b326
JB
4562007-05-17 Joel Brobecker <brobecker@adacore.com>
457
458 * gdbtypes.c (make_reference_type): Preserve the type chain
459 and set the length of all the variants of the pointer type.
460
053cb41b
JB
4612007-05-17 Joel Brobecker <brobecker@adacore.com>
462
463 * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
464 and set the length of all the variants of the pointer type.
465
436aafc4
MR
4662007-05-17 Maciej W. Rozycki <macro@mips.com>
467
468 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
469 comment.
470 (mips_o64_push_dummy_call): Reformat a comment.
471
98f4ab10
Q
4722007-05-17 Qinwei <qinwei@sunnorth.com.cn>
473
474 * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
475 (score_prologue_frame_base_address): Return fp to keep gdb print
476 local variables correctly when debugging information is stabs.
477
478 (score_analyze_prologue): For software watchpoint, fetch all the
479 instructions from range [startaddr, pc] once and identify them locally
480 to reduce memory access.
481 (score_malloc_and_get_memblock, score_free_memblock)
482 (score_adjust_memblock_ptr): New functions.
483 (score_fetch_inst): Fetch single instruction or mutiple instructions.
484
485 (score_target_can_use_watch, score_stopped_by_watch)
486 (score_target_insert_watchpoint, score_target_remove_watchpoint)
487 (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
488 New functions for remote & local hw-watchpoint and hw-breakpoint.
489
60dfee72
AS
4902007-05-16 Alfred M. Szmidt <ams@gnu.org>
491
492 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
493 declarations as well.
494
190dce09
UW
4952007-05-16 Ulrich Weigand <uweigand@de.ibm.com>
496
497 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
498 * config/arm/tm-embed.h: Delete file.
499
500 * arm-tdep.h (arm_software_single_step): Declare.
501 * arm-tdep.c (arm_software_single_step): Make global.
502 (arm_gdbarch_init): Move set_gdbarch_software_single_step call
503 from here to ...
504 * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
505 * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
506 * armobsd-tdep.c (armobsd_init_abi): ... here ...
507 * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
508
509 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
510 allow defines to be overriden by TM file.
511 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
512 change default to {0xbe,0xbe}.
513 * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
514 arm_obsd_thumb_be_breakpoint): New global variables.
515 (armobsd_init_abi): Override tdep->thumb_breakpoint and
516 tdep->thumb_breakpoint_size.
517 * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
518 (arm_wince_init_abi): Override tdep->thumb_breakpoint and
519 tdep->thumb_breakpoint_size.
520
521 * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
522
1a69e1e4
DJ
5232007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
524
525 * NEWS: Mention removed "set mips stack-arg-size" and "set mips
526 saved-gpreg-size".
527
528 * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
529 (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
530 (mips_stack_argsize_string, mips_stack_argsize): Delete.
531 (mips_abi_regsize): Simplify.
532 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
533 (mips_n32n64_return_value, mips_o32_push_dummy_call)
534 (mips_o32_return_value, mips_o64_push_dummy_call)
535 (mips_o64_return_value): Propogate constant register sizes. Use the
536 ABI register size instead of mips_stack_argsize.
537 (mips_dump_tdep): Don't print mips_stack_argsize.
538 (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
539 settings.
540
7d522c90
DJ
5412007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
542
543 * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
544 * config/mips/tm-linux.h: Delete.
545 * mips-linux-tdep.c (mips_svr4_so_ops): New.
546 (mips_linux_in_dynsym_resolve_code): Make static. Use
547 svr4_in_dynsym_resolve_code.
548 (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
549 set_solib_ops.
550 * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
551 global.
552 * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
553 * Makefile.in (mips-linux-tdep.o): Update.
554 * solib.c (set_solib_ops): New.
555 (current_target_so_ops): Update comment.
556 * solib.h (set_solib_ops): New prototype.
557
5d51a2db
MR
5582007-05-16 Chris Dearman <chris@mips.com>
559
560 * printcmd.c (do_examine): Fix typos in a comment.
561
07abfebf
RS
5622007-05-16 Richard Sandiford <richard@codesourcery.com>
563
564 * configure.ac: Allow sysroots to be relocated under $prefix as
565 well as $exec_prefix.
566 * configure: Regenerate.
567
f5ce4941
UW
5682007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
569
570 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
571 (offsetof): Do not define.
572 (find_stub_with_shl_get): Use numerical value 3 instead of
573 symbolic value TYPE_PROCEDURE.
574
76e1ee85
DJ
5752007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
576
577 * gdb_proc_service.h (paddr_t): Delete typedef.
578 * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
579 (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
580 (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
581 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
582 * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
583 * Makefile.in (proc-service.o): Update.
584
2bd0c3d7
DJ
5852007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
586
587 * Makefile.in (mips-tdep.o): Update.
588 * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
589 unwinder.
590
14d06750
DJ
5912007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
592
593 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
594 instead of store_typed_address.
595 * value.c (pack_long): New.
596 (value_from_longest): Use it.
597 * value.h (pack_long): New prototype.
598
f2fec864
DJ
5992007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
600
601 * dwarf2-frame.c (read_encoded_value): Correct typo. Use
602 DW_EH_PE_signed if appropriate.
603
25e43795
DJ
6042007-05-14 Paul Brook <paul@codesourcery.com>
605 Daniel Jacobowitz <dan@codesourcery.com>
606
607 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
608 function.
609 (dwarf_decode_lines): Check for line info without a file.
610
027c0295
DJ
6112007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
612
613 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
614 as hexadecimal.
615
dc5000e7
DJ
6162007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
617
618 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
619 STRUCTOP_STRUCT.
620 * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
621 STRUCTOP_STRUCT.
622 * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
623
30244cd8
UW
6242007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
625
626 * gdbarch.sh (read_sp): Remove.
627 * gdbarch.c, gdbarch.h: Regenerate.
628 * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
629
630 * avr-tdep.c (avr_read_sp): Remove.
631 (avr_unwind_sp): New function.
632 (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
633 * mips-tdep.c (mips_read_sp): Remove.
634 (mips_unwind_sp): New function.
635 (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
636 * score-tdep.c (score_read_unsigned_register): Remove.
637 (score_read_sp): Remove.
638 (score_unwind_sp): New function.
639 (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
640
84ba0adf
DJ
6412007-05-14 Maxim Grigoriev <maxim2405@gmail.com>
642
643 * buildsym.c (start_subfile): Handle absolute pathnames
644 while comparing subfile names.
645
e7b17823
UW
6462007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
647
648 * hppa-hpux-tdep.c: Include "regcache.h".
649 * hppa-linux-tdep.c: Likewise.
650 * hppa-tdep.c: Include "gdb_stdint.h".
651 (find_unwind_entry): Cast host pointer to uintptr_t before passing
652 it to paddr_nz.
653 * Makefile.in: Update dependencies.
654
7157eed4
UW
6552007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
656
657 * blockframe.c: Remove obsolete comments.
658 * alpha-nat.c (fetch_osf_core_registers): Update comment.
659 * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
660 * hppa-tdep.h (enum hppa_regnum): Likewise.
661 * mips-tdep.h: Likewise.
662 * m68hc11-tdep.c: Likewise.
663
fb4443d8
UW
6642007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
665
666 * inferior.h (read_sp): Remove prototype.
667 * regcache.c (read_sp): Remove.
668 * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
669 * infcall.c (call_function_by_hand): Likewise.
670 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
671 of calling read_sp.
672 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
673
7b86a1b8
UW
6742007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
675
676 * i386-linux-nat.c (i386_linux_resume): Use regcache functions
677 instead of read_register and read_register_pid.
678
679 * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
680 argument instead of PTID. Use regcache functions instead of
681 read_register_pid.
682 (ia64_linux_insert_watchpoint): Update call.
683 (ia64_linux_stopped_data_address): Use regcache functions
684 instead of read_register_pid and write_register_pid.
685
45ecac4b
UW
6862007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
687
688 * libunwind-frame.h (struct regcache): Add forward declaration.
689 (libunwind_get_reg_special): Add REGCACHE argument.
690 * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
691 argument. Pass it to unw_init_remote_p.
692
693 * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
694 libunwind_get_reg_special.
695 (ia64_access_reg): Remove "write" case.
696 (ia64_access_fpreg): Likewise. Read from next_frame passed
697 as callback argument instead of from current_regcache.
698 (ia64_access_rse_reg): Remove "write" case. Read from regcache
699 passed as callback argument instead of from current_regcache.
700 (ia64_access_rse_fpreg): New function.
701 (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
702
0ca420ce
UW
7032007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
704
705 * NEWS: Mention SPU overlay support.
706
0a44cb36
UW
7072007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
708
709 * spu-tdep.c (spu_frame_unwind_cache): Add comment.
710
aa67235e
UW
7112007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
712
713 * breakpoint.c (remove_breakpoint): Do not remove software
714 breakpoints in unmapped overlay sections.
715
dcf52cd8
UW
7162007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
717
718 * spu-tdep.c: Include "observer.h".
719 (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
720 (spu_overlay_data): New variable.
721 (struct spu_overlay_table): New type.
722 (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
723 spu_overlay_new_objfile): New functions.
724 (spu_gdbarch_init): Install spu_overlay_update.
725 (_initialize_spu_tdep): Register spu_overlay_new_objfile,
726 allocate spu_overlay_data objfile data.
727
1c772458
UW
7282007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
729
730 * gdbarch.sh (overlay_update): New gdbarch function.
731 (struct obj_section): Add forward declaration.
732 * gdbarch.c, gdbarch.h: Regenerate.
733
734 * symfile.c (simple_overlay_update): Make global.
735 (target_overlay_update): Remove variable.
736 (overlay_is_mapped): Call gdbarch_overlay_update instead of
737 target_overlay_update.
738 (overlay_load_command): Likewise.
739 * symfile.h (struct obj_section): Add forward declaration.
740 (simple_overlay_update): Add prototype.
741
742 * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
743
06d3b283
UW
7442007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
745
746 * observer.sh: Add "struct objfile" forward declaration.
747 * target.h (deprecated_target_new_objfile_hook): Remove.
748 * symfile.c (deprecated_target_new_objfile_hook): Remove.
749 (clear_symtab_users): Call observer_notify_new_objfile.
750 (symbol_file_add_with_addrs_or_offsets): Likewise.
751 * rs6000-nat.c: Include "observer.h".
752 (vmap_ldinfo): Call observer_notify_new_objfile.
753 (xcoff_relocate_core): Likewise.
754 * remote.c (remote_new_objfile_chain): Remove.
755 (remote_new_objfile): Do not call remote_new_objfile_chain.
756 (_initialize_remote): Use observer_attach_new_objfile.
757 * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
758 (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
759 (_initialize_tui_hooks): Use observer_attach_new_objfile.
760 * aix-thread.c: Include "observer.h".
761 (target_new_objfile_chain): Remove.
762 (new_objfile): Do not call target_new_objfile_chain.
763 (_initialize_aix_thread): Use observer_attach_new_objfile.
764 * hpux-thread.c: Include "observer.h"
765 (target_new_objfile_chain): Remove.
766 (hpux_thread_new_objfile): Make static. Do not call
767 target_new_objfile_chain.
768 (_initialize_hpux_thread): Use observer_attach_new_objfile.
769 * linux-thread-db.c: Include "observer.h".
770 (target_new_objfile_chain): Remove.
771 (thread_db_new_objfile): Do not call target_new_objfile_chain.
772 (_initialize_thread_db): Use observer_attach_new_objfile.
773 * sol-thread.c: Include "observer.h".
774 (target_new_objfile_chain): Remove.
775 (sol_thread_new_objfile): Make static. Do not call
776 target_new_objfile_chain.
777 (_initialize_sol_thread): Use observer_attach_new_objfile.
778 * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
779 rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
780 $(observer_h).
781
93ce7684
UW
7822007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
783
784 * gdbarch.sh (remote_translate_xfer_address): Remove.
785 * gdbarch.h, gdbarch.c: Regenerate.
786 * arch-utils.c (generic_remote_translate_xfer_address): Remove.
787 * arch-utils.h (generic_remote_translate_xfer_address): Remove.
788 * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
789 call gdbarch_remote_translate_xfer_address.
790 * frv-tdep.c (frv_gdbarch_init): Do not call
791 set_gdbarch_remote_translate_xfer_address.
792 * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
793 (ia64_gdbarch_init): Do not install it.
794
a6ec25f2
BW
7952007-05-11 Bob Wilson <bob.wilson@acm.org>
796
797 * NEWS: Mention change in handling the -tui option.
798
2ef52e77
DJ
7992007-05-11 Daniel Jacobowitz <dan@codesourcery.com>
800
801 * linux-thread-db.c (enable_thread_event_reporting): Fix comment
802 typo.
803
1aafd4da
UW
8042007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
805
806 * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
807 (breakpoint_inserted_here_p): Call it.
808 (software_breakpoint_inserted_here_p): Likewise.
809
7714d83a
UW
8102007-05-10 Ulrich Weigand <uweigand@de.ibm.com>
811
812 * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
813 (inf_ptrace_fetch_register): Add register_u_offset callback parameters
814 GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value.
815 (inf_ptrace_store_register): Likewise.
816 (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
817 * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
818
819 * vax-nat.c (vax_register_u_offset): Adapt parameter list.
820
821 * linux-nat.c (linux_trad_target): Adapt parameter list.
822 * linux-nat.h (linux_trad_target): Likewise.
823
824 * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
825
826 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
827 (mips_linux_cannot_store_register): Likewise.
828 (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
829 Return (CORE_ADDR) -1 for registers that cannot be fetched or
830 stored via ptrace. Use GDBARCH instead of current_gdbarch.
831 (mips64_linux_register_addr): Likewise.
832 (mips_linux_register_u_offset): Adapt parameter list. Pass
833 GDBARCH and STORE_P on to mips{64}_linux_register_addr.
834
835 * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
836 * config/mips/nm-linux.h: Delete file.
837
4ddda9b5
PA
8382007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
839
840 * remote.c (remote_detach): Error out if remote can't detach.
841
24d45690
UW
8422007-05-10 Luis Machado <luisgpm@br.ibm.com>
843
362f854e
PA
844 * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
845 instruction's opcode in the "opcode" variable and declares new
846 variable "closing_insn".
24d45690 847
1430be3e
MR
8482007-05-10 Chris Dearman <chris@mips.com>
849 Maciej W. Rozycki <macro@mips.com>
850
851 * cli/cli-setshow.c (do_setshow_command): Remove trailing
852 whitespace when setting a var_filename.
853
b0da54f1
BW
8542007-05-09 Bob Wilson <bob.wilson@acm.org>
855
856 * main.c (captured_main): Recognize -tui option and print an error
857 message when the TUI is not configured.
858
9a88e5ee
AS
8592007-05-09 Andreas Schwab <schwab@suse.de>
860
861 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
862 set removed members.
863 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
864
fc0d8df4
UW
8652007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
866
867 * gdbarch.sh (deprecated_store_struct_return): Remove.
868 * gdbarch.c, gdbarch.h: Regenerate.
869 * frv-tdep.c (frv_store_struct_return): Remove.
870 (frv_gdbarch_init): Do not install it.
871
179101d6
UW
8722007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
873
874 * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
875 * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
876 * config/nm-linux.h (USE_PROC_FS): Do not undefine.
877
b9efddcd
UW
8782007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
879
880 * spu-linux-nat.c: Include "gdb_stdint.h".
881 (fetch_ppc_register): Use uint64_t instead of unsigned long long.
882 (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
883 (fetch_ppc_memory, store_ppc_memory): Fix coding style.
884 (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
885 (spu_child_wait): Mark up string for translation.
886
ce5eab59
UW
8872007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
888 Luis Machado <luisgpm@br.ibm.com>
889
890 * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
891 STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
892 BC_INSTRUCTION): Define.
893 (deal_with_atomic_sequence): New function.
894 (rs6000_software_single_step): Call deal_with_atomic_sequence.
895 (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
896 gdbarch_software_single_step routine.
897
4179a487
UW
8982007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
899
900 * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
901 store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
902 parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
903 spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
904 spu_child_post_attach, spu_fetch_inferior_registers,
905 spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
906 memory addresses as ULONGEST, not CORE_ADDR.
907
6d350bb5
UW
9082007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
909
910 * gdbarch.sh: Add skip_permanent_breakpoint callback.
911 * gdbarch.h, gdbarch.c: Regenerate.
912
913 * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
914 (resume): Call gdbarch_skip_permanent_breakpoint instead of
915 SKIP_PERMANENT_BREAKPOINT. Inline default case.
916
917 * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
918 Add REGCACHE argument. Use it instead of read/write_register.
919 (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
920
921 * config/pa/tm-hppah.h: Delete file.
922 * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
923 * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
924
b18be20d
DJ
9252007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
926
927 * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
928 * NEWS: Mention improved C++ thunk support.
929 * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
930 * cp-abi.c (cplus_skip_trampoline): New.
931 * cp-abi.h (cplus_skip_trampoline): New prototype.
932 (struct cp_abi_ops): Add skip_trampoline member.
933 * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
934 (init_gnuv3_ops): Set skip_trampoline.
935
dda9b909
DJ
9362007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
937
938 * rs6000-tdep.c (struct frame_extra_info): Delete.
939
34091d9b
DJ
9402007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
941
942 * linux-thread-db.c: Update some FIXME comments.
943 (thread_db_xfer_partial): Delete.
944 (init_thread_db_ops): Do not set to_xfer_partial.
945
1da33a4a
UW
9462007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
947
948 * inftarg.c, infptrace.c: Remove files.
949 * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
950 (inftarg.o, infptrace.o): Remove rules.
951 * gdbcore.h (register_addr): Remove prototype.
952 * inferior.h (kill_inferior, store_inferior_registers,
953 fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
954 call_ptrace, pre_fork_inferior): Remove prototypes.
955 * target.h (child_xfer_memory, child_pid_to_exec_file,
956 child_core_file_to_sym_file, child_post_attach,
957 child_post_startup_inferior, child_acknowledge_created_inferior,
958 child_insert_fork_catchpoint, child_remove_fork_catchpoint,
959 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
960 child_insert_exec_catchpoint, child_remove_exec_catchpoint,
961 child_follow_fork, child_reported_exec_events_per_exec_call,
962 child_has_exited, child_thread_alive): Remove prototypes.
963
6f7a27d5
UW
9642007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
965
966 * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
967 (sparc_store_inferior_registers): Likewise.
968 * sparc-nat.c (fetch_inferior_registers): Rename to ...
969 (sparc_fetch_inferior_registers): ... this.
970 (store_inferior_registers): Rename to ...
971 (sparc_store_inferior_registers): ... this.
972 (sparc_target): Update callback names.
973 * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise.
974 * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
975
6d8fd2b7
UW
9762007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
977
978 * linux-nat.c (child_post_attach): Rename to ...
979 (linux_child_post_attach): ... this. Make static.
980 (child_follow_fork): Rename to ...
981 (linux_child_follow_fork): ... this. Make static.
982 (child_insert_fork_catchpoint): Rename to ...
983 (linux_child_insert_fork_catchpoint): ... this. Make static.
984 (child_insert_vfork_catchpoint): Rename to ...
985 (linux_child_insert_vfork_catchpoint): ... this. Make static.
986 (child_insert_exec_catchpoint): Rename to ...
987 (linux_child_insert_exec_catchpoint): ... this. Make static.
988 (child_pid_to_exec_file): Rename to ...
989 (linux_child_pid_to_exec_file): ... this. Make static.
990 Add prototype.
991 (linux_handle_extended_wait): Update call.
992 (linux_xfer_partial): Update callback routine names.
993
d08950c4
UW
9942007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
995
996 * configure.host (alpha*-*-osf[12]*): Remove support.
997 * NEWS: Mention removed configurations.
998
999 * config/alpha/alpha-osf1.mh: Delete file.
1000 * config/alpha/alpha-osf2.mh: Delete file.
1001 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
1002 and infptrace.o.
1003 * config/alpha/nm-osf.h: Delete file.
1004 * config/alpha/nm-osf2.h: Delete file.
1005 * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
1006 (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
1007 (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
1008
1009 * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
1010 (register_addr, kernel_u_size): Remove.
1011 Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
1012
9c5ea4d9
UW
10132007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1014
1015 * regcache.c (regcache_invalidate): New function.
1016 (register_cached): Remove.
1017 (set_register_cached): Remove.
1018 (deprecated_registers_fetched): Remove.
1019 (registers_changed): Use regcache_invalidate instead
1020 of set_register_cached.
1021 (regcache_raw_read): Update comment.
1022
1023 * regcache.h (regcache_invalidate): Add prototype.
1024 (register_cached): Remove.
1025 (set_register_cached): Remove.
1026 (deprecated_registers_fetched): Remove.
1027
1028 * findvar.c (value_of_register): Do not call register_cached.
1029 * frame.c (frame_register): Likewise.
1030 * tui/tui-regs.c (tui_get_register): Likewise.
1031
1032 * remote.c (fetch_register_using_p): Do not call set_register_cached.
1033 (process_g_packet): Likewise.
1034 (remote_fetch_registers): Likewise.
1035 * remote-sim.c (gdbsim_fetch_register): Likewise.
1036 * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
1037 by regcache_invalidate.
1038 (mt_pseudo_register_write): Likewise.
1039 * sh-tdep.c (sh_pseudo_register_write): Likewise.
1040
1041 * corelow.c (get_core_registers): Replace deprecated_registers_fetched
1042 call by loop over regcache_raw_supply (..., NULL).
1043
316f2060
UW
10442007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1045
1046 * target.h (struct target_ops): Add REGCACHE parameter to
1047 to_prepare_to_store.
1048 (target_prepare_to_store): Likewise.
1049 * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
1050 (update_current_target): Adapt prepare_to_store de_fault rule.
1051
1052 * regcache.c (regcache_raw_write): Pass regcache to
1053 target_prepare_to_store.
1054
1055 * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
1056 Do not call CHILD_PREPARE_TO_STORE.
1057 * gnu-nat.c (gnu_prepare_to_store): Likewise.
1058 * procfs.c (procfs_prepare_to_store): Likewise.
1059
1060 * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
1061 * go32-nat.c (go32_prepare_to_store): Likewise.
1062 * monitor.c (monitor_prepare_to_store): Likewise.
1063 * nto-procfs.c (procfs_prepare_to_store): Likewise.
1064 * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
1065 * remote-mips.c (mips_prepare_to_store): Likewise.
1066 * remote-sim.c (gdbsim_prepare_to_store): Likewise.
1067 * win32-nat.c (win32_prepare_to_store): Likewise.
1068
1069 * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
1070 Use it instead of current_regcache.
1071
1072 * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
1073 parameter. Pass it on to next target.
1074 * sol-thread.c (sol_thread_prepare_to_store): Likewise.
1075
56be3814
UW
10762007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1077
1078 * target.h (struct regcache): Add forward declaration.
1079 (struct target_ops): Add REGCACHE parameter to to_fetch_registers
1080 and to_store_registers target operations.
1081 (target_fetch_registers, target_store_registers): Update.
1082
1083 * regcache.c (regcache_raw_read): Replace register_cached by
1084 regcache_valid_p. Pass regcache to target_fetch_registers.
1085 (regcache_raw_write): Pass regcache to target_store_registers.
1086
1087 * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
1088 store_regs, store_wmmx_regs): Replace register_cached by
1089 regcache_valid_p.
1090
1091 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
1092 to target_fetch_registers calls.
1093 * corelow.c (core_open): Likewise.
1094 * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
1095 * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
1096 ps_lsetfpregs): Likewise.
1097 * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
1098 ps_lsetfpregs): Likewise.
1099 * win32-nat.c (win32_resume): Likewise.
1100 * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
1101 to target_store_registers call.
1102 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
1103
1104 * inferior.h (store_inferior_registers): Update prototype.
1105 (fetch_inferior_registers): Likewise.
1106 * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
1107 * mips-linux-nat.c (super_fetch_registers, super_store_registers):
1108 Update function pointer signatures.
1109
1110 * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
1111 use it instead of current_regcache, update calls.
1112 (aix_thread_store_registers): Likewise.
1113 * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
1114 (alphabsd_store_inferior_registers): Likewise.
1115 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
1116 (amd64bsd_store_inferior_registers): Likewise.
1117 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
1118 (amd64_linux_store_inferior_registers): Likewise.
1119 * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
1120 store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
1121 fetch_wmmx_regs, store_wmmx_regs): Likewise.
1122 (arm_linux_fetch_inferior_registers): Likewise.
1123 (arm_linux_store_inferior_registers): Likewise.
1124 * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
1125 fetch_fp_regs, armnbsd_fetch_registers): Likewise.
1126 (store_register, store_regs, store_fp_register, store_fp_regs,
1127 armnbsd_store_registers): Likewise.
1128 * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
1129 * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
1130 (bsd_uthread_store_registers): Likewise.
1131 * corelow.c (get_core_registers): Likewise.
1132 * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
1133 go32_store_registers): Likewise.
1134 * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
1135 (hppabsd_store_registers): Likewise.
1136 * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
1137 (hppa_hpux_fetch_inferior_registers): Likewise.
1138 (hppa_hpux_store_register): Likewise.
1139 (hppa_hpux_store_inferior_registers): Likewise.
1140 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
1141 (hppa_linux_fetch_inferior_registers): Likewise.
1142 (hppa_linux_store_inferior_registers): Likewise.
1143 * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
1144 (hpux_thread_store_registers): Likewise.
1145 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
1146 (i386bsd_store_inferior_registers): Likewise.
1147 * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
1148 gnu_store_registers): Likewise.
1149 * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
1150 store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
1151 Likewise.
1152 (i386_linux_fetch_inferior_registers): Likewise.
1153 (i386_linux_store_inferior_registers): Likewise.
1154 * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
1155 (ia64_linux_fetch_registers): Likewise.
1156 (ia64_linux_store_register): Likewise.
1157 (ia64_linux_store_registers): Likewise.
1158 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
1159 (inf_child_store_inferior_registers): Likewise.
1160 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
1161 (inf_ptrace_fetch_registers): Likewise.
1162 (inf_ptrace_store_register): Likewise.
1163 (inf_ptrace_store_registers): Likewise.
1164 * infptrace.c (fetch_register, store_register): Likewise.
1165 (fetch_inferior_registers, store_inferior_registers): Likewise.
1166 * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
1167 (m32r_linux_fetch_inferior_registers): Likewise.
1168 (m32r_linux_store_inferior_registers): Likewise.
1169 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
1170 (m68kbsd_store_inferior_registers): Likewise.
1171 * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
1172 store_register, old_store_inferior_registers, fetch_regs, store_regs,
1173 fetch_fpregs, store_fpregs): Likewise.
1174 (m68k_linux_fetch_inferior_registers): Likewise.
1175 (m68k_linux_store_inferior_registers): Likewise.
1176 * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
1177 (m88kbsd_store_inferior_registers): Likewise.
1178 * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
1179 (mips64obsd_store_inferior_registers): Likewise.
1180 * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
1181 (mips64_linux_regsets_store_registers): Likewise.
1182 (mips64_linux_fetch_registers): Likewise.
1183 (mips64_linux_store_registers): Likewise.
1184 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
1185 (mipsnbsd_store_inferior_registers): Likewise.
1186 * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
1187 (monitor_fetch_registers, monitor_store_registers): Likewise.
1188 * nto-procfs.c (procfs_fetch_registers): Likewise.
1189 (procfs_store_registers): Likewise.
1190 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
1191 fetch_register, supply_vrregset, fetch_altivec_registers,
1192 fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
1193 (store_altivec_register, store_spe_register, store_register,
1194 fill_vrregset, store_altivec_registers, store_ppc_registers,
1195 ppc_linux_store_inferior_registers): Likewise.
1196 * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
1197 (ppcnbsd_store_inferior_registers): Likewise.
1198 * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
1199 (ppcobsd_store_registers): Likewise.
1200 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
1201 * remote.c (fetch_register_using_p, process_g_packet,
1202 fetch_registers_using_g, remote_fetch_registers): Likewise.
1203 (store_register_using_P, store_registers_using_G,
1204 remote_store_registers): Likewise.
1205 * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
1206 m32r_store_register, m32r_store_register): Likewise.
1207 * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
1208 * remote-sim.c (gdbsim_fetch_register): Likewise.
1209 (gdbsim_store_register): Likewise.
1210 * rs6000-nat.c (fetch_register, store_register): Likewise.
1211 (rs6000_fetch_inferior_registers): Likewise.
1212 (rs6000_store_inferior_registers): Likewise.
1213 * s390-nat.c (fetch_regs, store_regs): Likewise.
1214 (fetch_fpregs, store_fpregs): Likewise.
1215 (s390_linux_fetch_inferior_registers): Likewise.
1216 (s390_linux_store_inferior_registers): Likewise.
1217 * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
1218 (shnbsd_store_inferior_registers): Likewise.
1219 * sol-thread.c (sol_thread_fetch_registers): Likewise.
1220 (sol_thread_store_registers): Likewise.
1221 * sparc-nat.c (fetch_inferior_registers): Likewise.
1222 (store_inferior_registers): Likewise.
1223 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
1224 (spu_store_inferior_registers): Likewise.
1225 * target.c (debug_print_register): Likewise.
1226 (debug_to_fetch_registers, debug_to_store_registers): Likewise.
1227 * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
1228 (vaxbsd_store_inferior_registers): Likewise.
1229 * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
1230 (win32_fetch_inferior_registers): Likewise.
1231 (win32_store_inferior_registers): Likewise.
1232
9eefc95f
UW
12332007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1234
1235 * gdbcore.h (struct regcache): Add forward declaration.
1236 (struct core_fns): Add REGCACHE argument to core_read_registers
1237 callback.
1238 * corelow.c (get_core_register_section): Add REGCACHE argument,
1239 use it instead of current_regcache, pass it to core_read_registers
1240 callback.
1241 (get_core_registers): Add current_regcache as parameter to
1242 get_core_register_section calls.
1243
1244 * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
1245 use it instead of current_regcache.
1246 * armnbsd-nat.c (fetch_core_registers): Likewise.
1247 (fetch_elfcore_registers): Likewise.
1248 * core-regset.c (fetch_core_registers): Likewise.
1249 * cris-tdep.c (fetch_core_registers): Likewise.
1250 * irix5-nat.c (fetch_core_registers): Likewise.
1251 * m68klinux-nat.c (fetch_core_registers): Likewise.
1252 * mips-linux-tdep.c (fetch_core_registers): Likewise.
1253 * win32-nat.c (fetch_elf_core_registers): Likewise.
1254
7f7fe91e
UW
12552007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1256
1257 * gregset.h (struct regcache): Add forward declaration.
1258 (supply_gregset): Add REGCACHE parameter, make GREGS const.
1259 (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
1260 (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
1261 (fill_gregset): Add REGCACHE parameter.
1262 (fill_fpregset): Likewise.
1263 (fill_fpxregset): Likewise.
1264
1265 Update all definitions accordingly:
1266 * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
1267 arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
1268 i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c,
1269 m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
1270 s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c
1271 (supply_gregset): Add REGCACHE parameter, use it instead of
1272 current_regcache. Make GREGSETP parameter const, adapt casts.
1273 (supply_fpregset): Add REGCACHE parameter, use it instead of
1274 current_regcache. Make FPREGSETP parameter const, adapt casts.
1275 (fill_gregset): Add REGCACHE parameter, use it instead of
1276 current_regcache.
1277 (fill_fpregset): Likewise.
1278
1279 Update all callers to pass in current_regcache as the new argument:
1280 * core-regset.c: Include "regcache.h".
1281 (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
1282 * procfs.c: Include "regcache.h".
1283 (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
1284 (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
1285 (procfs_do_thread_registers): Likewise.
1286 (procfs_make_note_section): Likewise.
1287 * proc-service.c: Include "regcache.h".
1288 (ps_lgetregs): Update fill_gregset call.
1289 (ps_lsetregs): Update supply_gregset call.
1290 (ps_lgetfpregs): Update fill_fpregset call.
1291 (ps_lsetfpregs): Update supply_fpregset call.
1292 * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
1293 supply_fpregset calls.
1294 (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
1295 (ps_lgetregs): Update fill_gregset call.
1296 (ps_lsetregs): Update supply_gregset call.
1297 (ps_lgetfpregs): Update fill_fpregset call.
1298 (ps_lsetfpregs): Update supply_fpregset call.
1299
1300 * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
1301 fill_fpregset, and fill_fpxregset calls.
1302 * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
1303 (store_regs): Update fill_gregset call.
1304 (fetch_fpregs): Update supply_fpregset call.
1305 (store_fpregs): Update fill_fpregset call.
1306 (fetch_fpxregs): Update supply_fpxregset call.
1307 (store_fpxregs): Update fill_fpxregset call.
1308 * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
1309 (store_regs): Update fill_gregset call.
1310 * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
1311 (store_regs): Update fill_gregset call.
1312 (fetch_fpregs): Update supply_fpregset call.
1313 (store_fpregs): Update fill_fpregset call.
1314 (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
1315 * s390-nat.c (fetch_regs): Update supply_gregset call.
1316 (store_regs): Update fill_gregset call.
1317 (fetch_fpregs): Update supply_fpregset call.
1318 (store_fpregs): Update fill_fpregset call.
1319
1320 * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
1321 dependencies.
1322
c410a84c
UW
13232007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1324
1325 * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
1326 it instead of current_regcache.
1327 (parse_register_dump): Add REGCACHE parameter, pass it to
1328 supply_register callback.
1329 (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
1330 parse_register_dump.
1331 (monitor_dump_regs): Add REGCACHE parameter, pass it to
1332 parse_register_dump and dumpregs callback.
1333 (monitor_wait): Pass current_regcache to parse_register_dump and
1334 monitor_dump_regs.
1335 (monitor_fetch_register): Pass current_regcache to
1336 monitor_supply_register.
1337 (monitor_fetch_registers): Pass current_regcache to
1338 monitor_dump_regs.
1339 * monitor.h (struct monitor_ops): Add REGCACHE parameter to
1340 supply_register and dumpregs callbacks.
1341 (monitor_supply_register, monitor_dump_reg_block): Update
1342 prototypes.
1343 * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass
1344 it to monitor_supply_register.
1345 * dink32-rom.c (dink32_supply_register): Likewise.
1346 * ppcbug-rom.c (ppcbug_supply_register): Likewise.
1347 * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE
1348 instead of current_regcache.
1349
468e3d51
UW
13502007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1351
1352 * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
1353 Add REGCACHE parameter. Use it instead of current_regcache.
1354 (i386nto_supply_regset): Add REGCACHE parameter, pass it to
1355 i386nto_supply_gregset and i386nto_supply_fpregset.
1356 (i386nto_regset_fill): Add REGCACHE parameter; use it instead
1357 of current_regcache.
1358
1359 * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
1360 nto_supply_ helper functions.
1361 (procfs_store_registers): Pass current_regcache to nto_regset_fill.
1362
1363 * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
1364
1365 * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
1366 supply_greget, supply_fpregset, supply_altregset, supply_regset,
1367 and regset_fill member function pointers.
1368 (nto_dummy_supply_regset): Adapt prototype.
1369
4e3269e3
UW
13702007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1371
1372 * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
1373 instead of current_regcache. Make REGS const.
1374 (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
1375 * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
1376 prototypes.
1377 * shnbsd-nat.c: Include "regcache.h".
1378 (shnbsd_fetch_inferior_registers): Pass current_regcache to
1379 shnbsd_supply_reg.
1380 (shnbsd_store_inferior_registers): Pass current_regcache to
1381 shnbsd_fill_reg.
1382 * Makefile.in (shbsd-nat.o): Update dependencies.
1383
28f5035f
UW
13842007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1385
1386 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
1387 instead of current_regcache.
1388 (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
1389 Make GREGSETP const, remove superfluous casts.
1390 (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
1391 (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
1392 superfluous casts.
1393 (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
1394 (supply_64bit_reg): Likewise
1395 (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
1396 Make GREGSETP const, adapt casts accordingly.
1397 (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
1398 (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
1399 casts accordingly.
1400 (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
1401 (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
1402 helper routines.
1403 * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
1404 mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
1405 mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
1406 Adapt prototypes.
1407 * mips-linux-nat.c: Include "regcache.h".
1408 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
1409 current_regcache to mips{64}_(supply|fill)_ helper routines.
1410 (mips64_linux_regsets_fetch_registers): Likewise.
1411 (mips64_linux_regsets_store_registers): Likewise.
1412
1413 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
1414 REGCACHE argument; replace current_regcache. Make REGS const.
1415 (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
1416 replace current_regcache.
1417 * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
1418 mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
1419 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
1420 mipsnbsd_store_inferior_registers): Pass current_regcache to
1421 mipsnbsd_(supply|fill)_... helper routines.
1422
1423 * Makefile.in (mips-linux-nat.o): Update dependencies.
1424
26144df5
UW
14252007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1426
1427 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
1428 * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
1429 * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
1430 i387_fill_fsave and i387_fill_fxsave calls by inline copies.
1431 * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
1432 * i386gnu-nat.c (store_fpregs): Likewise.
1433 * i386v4-nat.c (fill_fpregset): Likewise.
1434 * go32-nat.c (store_register, go32_store_registers): Likewise.
1435
c6b4e5a2
UW
14362007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1437
1438 * cris-tdep.c (supply_gregset): Rename to ...
1439 (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
1440 instead of current_regcache.
1441 (fetch_core_registers): Update call. Pass current_regcache.
1442
d683e2b7
UW
14432007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1444
1445 * arnmnbsd-nat.c (supply_gregset): Rename to ...
1446 (arm_supply_gregset): ... this. Add REGCACHE parameter.
1447 Use it instead of current_regcache.
1448 (supply_fparegset): Rename to ...
1449 (arm_supply_fparegset): ... this. Add REGCACHE parameter.
1450 Use it instead of current_regcache.
1451 (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
1452 (fetch_core_registers, fetch_elfcore_registers): Likewise.
1453
390c1522
UW
14542007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1455
1456 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
1457 alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
1458 use it instead of current_regcache.
1459 * alpha-tdep.h (struct regcache): Add forward declaration.
1460 (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
1461 alpha_fill_fp_regs): Update prototypes.
1462
1463 * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
1464 fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
1465 * alpha-linux-nat.c: Include "regcache.h".
1466 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
1467 current_regcache to alpha_supply/fill_ routines.
1468
1469 * alphabsd-tdep.c: Include "regcache.h".
1470 (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
1471 pass it to alpha_supply_ routines. Make REGS const.
1472 (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
1473 pass it to alpha_fill_ routines.
1474 * alphabsd-tdep.h (struct regcache): Add forward declaration.
1475 (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
1476 alphabsd_fill_fpreg): Update prototypes.
1477
1478 * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
1479 fill_fpregset, alphabsd_fetch_inferior_registers,
1480 alphabsd_store_inferior_registers): Pass current_regcache to
1481 alphabsd_supply/fill_ routines.
1482
1483 * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
1484 dependencies.
1485
647478e0
UW
14862007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1487
1488 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
1489 supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
1490 instead of current_regcache.
1491 (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
1492 REGCACHE parameter, pass it to supply_ routines.
1493 (aix_thread_fetch_registers): Pass current_regcache to
1494 fetch_regs_user_thread and fetch_regs_kernel_thread.
1495
1496 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
1497 Add REGCACHE parameter, use it instead of current_regcache.
1498 Call regcache_valid_p instead of register_cached.
1499 (store_regs_user_thread, store_regs_kernel_thread): Likewise.
1500 Also, pass REGCACHE to fill_ routines.
1501 (aix_thread_store_registers): Pass current_regcache to
1502 store_regs_user_thread and store_regs_kernel_thread.
1503
d817e083
UW
15042007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1505
1506 * m32r-linux-nat.c (supply_gregset): Do not modify contents
1507 pointed to by GREGSETP.
1508
6a1872e4
UW
15092007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1510
1511 * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
1512 of regcache_raw_read_signed.
1513 (fill_fpregset): Use regcache_raw_collect instead of
1514 regcache_raw_read.
1515
6da397e0
KB
15162007-05-03 Kevin Buettner <kevinb@redhat.com>
1517
1518 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
1519 point arguments, test explicitly for use of the EABI32 ABI
1520 instead of inferring this condition from tests on register
1521 sizes.
1522
2219d63c
KB
15232007-05-03 Kevin Buettner <kevinb@redhat.com>
1524
1525 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
1526 prior to allocating its location.
1527
2afd3f0a
MR
15282007-05-02 Maciej W. Rozycki <macro@mips.com>
1529
1530 * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
1531 based on mips_abi_regsize() whose result is known in advance.
1532 (mips_o64_push_dummy_call): Likewise.
1533
3e00823e
UW
15342007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
1535
1536 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
1537 * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
1538
1539 * mips-linux-nat.c: Include "gregset.h".
1540 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
1541 from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
1542 * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
1543 fill_fpregset): Move to mips-linux-nat.c.
1544
1545 * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
1546
81c4a259
UW
15472007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
1548
1549 * regcache.c (deprecated_read_register_gen): Remove, inline ...
1550 (read_register): ... here.
1551 (deprecated_write_register_gen): Remove, inline ...
1552 (write_register): ... here.
1553 * regcache.h (deprecated_read_register_gen): Remove prototype.
1554 (deprecated_write_register_gen): Likewise.
1555
1556 * remote-sim.c (gdbsim_store_register): Replace call to
1557 deprecated_read_register_gen with regcache_cooked_read.
1558 * target.c (debug_print_register): Replace calls to
1559 deprecated_read_register_gen and read_register with
1560 regcache_cooked_read.
1561
8bb42077
UW
15622007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
1563
1564 * hpux-thread.c (hpux_thread_store_registers): Use
1565 regcache_raw_collect, not regcache_raw_read.
1566 * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
1567 not regcache_raw_write.
1568
6ed7ea50
UW
15692007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
1570
1571 * gdbarch.sh: Remove deprecated_register_byte.
1572 * gdbarch.c, gdbarch.h: Regenerate.
1573 * arch-utils.h (generic_register_size, generic_register_byte): Remove.
1574 * arch-utils.c (generic_register_size, generic_register_byte): Remove.
1575
1576 * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
1577 * regcache.c (regcache_valid_p): Allow to query cooked registers in
1578 read-only register caches. Make REGCACHE parameter const.
1579 (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
1580
1581 * mi/mi-main.c (old_regs): Remove.
1582 (mi_setup_architecture_data, _initialize_mi_main): Remove.
1583 (register_changed_p): Reimplement to compare two register caches.
1584 (mi_cmd_data_list_changed_registers): Update caller.
1585 * mi/mi-main.h (mi_setup_architecture_data): Remove.
1586 * mi/mi-interp.c (mi_interpreter_init): Do not call
1587 mi_setup_architecture_data.
1588
efc72ef5
UW
15892007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
1590
1591 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
1592 inline definition at the places the macros are used.
1593 * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
1594
7a61a01c
UW
15952007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
1596
1597 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
1598 "gdb_string.h".
1599 (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
1600 (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
1601 (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
1602 (rs6000_aix_regset_from_core_section): New function.
1603 (rs6000_aix_init_osabi): Register it.
1604 (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
1605 sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
1606 * rs6000-nat.c (CoreRegs): Do not define type.
1607 (fetch_core_registers, rs6000_core_fns): Remove.
1608 (_initialize_core_rs6000): Do not register it. Rename to ...
1609 (_initialize_rs6000_nat): ... this.
1610 * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
1611
ace186d4
KB
16122007-04-27 Kevin Buettner <kevinb@redhat.com>
1613
1614 * dwarf2expr.c (unsigned_address_type): Add forward declaration.
1615 (dwarf2_read_address): Sign extend return address as required by
1616 target architecture.
1617
89a7ee67
KB
16182007-04-27 Kevin Buettner <kevinb@redhat.com>
1619
1620 * solib-frv.c (lm_base): Bail out if the main executable has
1621 not been relocated.
1622
6afb1f32
UW
16232007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1624
1625 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
1626 of FPCR register in fpregset.
1627
66a0218a
MR
16282007-04-27 Maciej W. Rozycki <macro@mips.com>
1629
1630 * Makefile.in (gdbtk-wrapper.o): Update dependencies.
1631 (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
1632
482f7fee
UW
16332007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1634
1635 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
1636 * rs6000-nat.c (rs6000_wait): New function.
1637 (_initialize_core_rs6000): Install it as to_wait target method.
1638 * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
1639
1f480a5e
UW
16402007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1641
1642 * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
1643 * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
1644 * rs6000-nat.c (super_create_inferior): New variable.
1645 (rs6000_create_inferior): Make static. Adapt argument list. Call
1646 original version of create_inferior via super_create_inferior.
1647 (_initialize_core_rs6000): Install to_create_inferior target method.
1648
037a727e
UW
16492007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1650
1651 * aix-thread.c (aix_thread_xfer_memory): Replace by ...
1652 (aix_thread_xfer_partial): ... this.
1653 (init_aix_thread_ops): Install to_xfer_partial instead
1654 of deprecated_xfer_memory target method.
1655
1656 * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
1657 and inftarg.o, add inf-ptrace.o.
1658 * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
1659 CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
1660 * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
1661 (fetch_inferior_registers): Rename to ...
1662 (rs6000_fetch_inferior_registers): ... this. Make static.
1663 (store_inferior_registers): Rename to ...
1664 (rs6000_store_inferior_registers): ... this. Make static.
1665 (read_word, child_xfer_memory): Remove.
1666 (rs6000_xfer_partial): New function.
1667 (kernel_u_size): Remove.
1668 (_initialize_core_rs6000): Add inf_ptrace-based target.
1669 * Makefile.in (rs6000-nat.o): Update dependencies.
1670
f7dd0ed7
UW
16712007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1672
1673 * inf-ptrace.c: Include "gdb_stdint.h".
1674 (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
1675 intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
1676 (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
1677 before casting CORE_ADDR to PTRACE_TYPE_ARG3.
1678 (inf_ptrace_store_register): Likewise.
1679 * Makefile.in (inf-ptrace.o): Update dependencies.
1680
d9178763
UW
16812007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1682
1683 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
1684 * configure.tgt (rs6000-*-*): Likewise.
1685 * config/rs6000/aix4.mh: Delete file.
1686 * config/rs6000/aix4.mt: Delete file.
1687 * config/rs6000/rs6000.mh: Delete file.
1688 * config/rs6000/rs6000.mt: Delete file.
1689
1690 * config/powerpc/nm-aix.h: Delete file.
1691 * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
1692
0d16ee5d
UW
16932007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1694
1695 * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
1696 Remove obsolete part of comment.
1697 (store_regs_user_thread): Use uint32_t temporaries when calling
1698 fill_sprs32.
1699 (store_regs_kernel_thread): Likewise. Add assertion to verify
1700 correct size of struct ptsprs members.
1701 (aix_thread_xfer_memory): Fix type of myaddr.
1702 (aix_thread_extra_thread_info): Fix compiler warning.
1703 * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
1704 (fetch_register, store_register): Adapt callers.
1705
1e8877aa
UW
17062007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
1707
1708 * vec.h (vec_free): Rename to vec_free_. Adapt users.
1709
b02f9d57
UW
17102007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
1711
1712 * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
1713 and "regcache.h".
1714 (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
1715 (alpha_linux_gregset, alpha_linux_fpregset): New variables.
1716 (alpha_linux_regset_from_core_section): New function.
1717 (alpha_linux_init_abi): Install it.
1718 * alpha-linux-nat.c: Do not include "gdbcore.h". Include
1719 "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
1720 <sys/procfs.h>, and "gregset.h".
1721 (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
1722 Move from config/alpha/nm-linux.h.
1723 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
1724 from alpha-nat.c.
1725 (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
1726 * alpha-nat.c: Remove #ifdef __linux__ section.
1727 (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
1728 (_initialize_core_alpha): Do not register alpha_elf_core_fns.
1729 (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
1730 (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
1731 * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
1732 (NATDEPFILES): Remove alpha-nat.o.
1733 * config/alpha/nm-linux.h: Delete file.
1734 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
1735 * Makefile.in (alpha-linux-nat.o): Update dependencies.
1736 (alpha-linux-tdep.o): Likewise.
1737
dda0c97e
UW
17382007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
1739
1740 * mips-linux-nat.c: No longer include "gdbcore.h".
1741 (mips_linux_register_addr): Move from mips-linux-tdep.c.
1742 (mips64_linux_register_addr): Likewise.
1743 (mips_linux_register_u_offset): Call mips_linux_register_addr or
1744 mips64_linux_register_addr instead of register_addr.
1745 * mips-linux-tdep.c (mips_linux_register_addr,
1746 mips64_linux_register_addr): Move to mips-linux-nat.c.
1747 (register_addr): Remove.
1748 (register_addr_data, init_register_addr_data): Remove.
1749 (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
1750 (set_mips_linux_register_addr): Remove.
1751 (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
1752 * Makefile.in (mips-linux-nat.o): Update dependencies.
1753
910122bf
UW
17542007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
1755
1756 * linux-nat.c (linux_register_u_offset): Remove.
1757 (linux_target_install_ops): New function.
1758 (linux_target): Use it.
1759 (linux_trad_target): New function.
1760 * linux-nat.h (linux_trad_target): Declare.
1761
1762 * alpha-linux-nat.c: Include "gdbcore.h".
1763 (alpha_linux_register_u_offset): New function.
1764 (_initialize_alpha_linux_nat): Use linux_trad_target.
1765
1766 * mips-linux-nat.c: Include "gdbcore.h".
1767 (mips_linux_register_u_offset): New function.
1768 (_initialize_mips_linux_nat): Use linux_trad_target.
1769
1770 * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1771 * config/arm/nm-linux.h: Delete file.
1772
1773 * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
1774 * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
1775
1776 * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1777 * config/ia64/nm-linux.h: Delete file.
1778
1779 * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1780 * config/m32r/nm-linux.h: Delete file.
1781
1782 * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1783 * config/m68k/nm-linux.h: Delete file.
1784
1785 * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1786 * config/pa/nm-linux.h: Delete file.
1787
1788 * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1789 * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
1790 * config/powerpc/nm-linux.h: Delete file.
1791
1792 * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
1793 * config/s390/nm-linux.h: Delete file.
1794
1795 * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1796 * config/sparc/linux64.mh (NAT_FILE): Likewise.
1797 * config/sparc/nm-linux.h: Delete file.
1798
1799 * Makefile.in (alpha-linux-nat.o): Update dependencies.
1800 (mips-linux-nat.o): Likewise.
1801
de732108
UW
18022007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
1803
1804 * core-aout.c: Delete file.
1805 * Makefile.in (ALLDEPFILES): Remove core-aout.c.
1806 (core-aout.o): Delete rule.
1807 * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
1808
1809 * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
1810
1811 * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
1812 * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
1813 KERNEL_U_ADDR): Remove.
1814
1815 * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
1816 (cannot_fetch_register, cannot_store_register): Remove.
1817 (fetch_register): Inline cannot_fetch_register and register_addr.
1818 (store_register): Inline cannot_store_register and register_addr.
1819 * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
1820 * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
1821 REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
1822 Remove.
1823
1824 * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
1825 (fetch_register): Inline register_addr.
1826 (store_register): Inline register_addr.
1827 * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
1828 * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
1829 U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
1830
1831 * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
1832 * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
1833 REGISTER_U_ADDR): Remove.
1834
1835 * hppa-linux-nat.c (register_addr): Rename to ...
1836 (hppa_linux_register_addr): ... this. Make static.
1837 (fetch_register, store_register): Adapt callers.
1838 * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
1839
1840 * ppc-linux-nat.c (kernel_u_size): Remove.
1841 * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
1842
1843 * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
1844 * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
1845 (NAT_FILE): Remove.
1846 * config/vax/nm-vax.h: Delete file.
1847
1f90c757
MS
18482007-04-20 Mark Shinwell <shinwell@codesourcery.com>
1849
1850 * MAINTAINERS (Write After Approval): Add myself.
1851
bf1242a5
MS
18522007-04-20 Mark Shinwell <shinwell@codesourcery.com>
1853
1854 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
1855 * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
1856 (m68k_linux_sigcontext_reg_offset): Fix typo.
1857 (target_is_uclinux): New.
1858 (m68k_linux_inferior_created): New.
1859 (m68k_linux_get_sigtramp_info): Check for uClinux or
1860 normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
1861 uClinux.
1862 (_initialize_m68k_linux_tdep): Register
1863 m68k_linux_inferior_created.
1864
96998ce7
PA
18652007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
1866
1867 * win32-nat.c (win32_detach): Remove delete_command call.
1868 Resume inferior with win32_resume instead of win32_continue.
1869
7e71daaa
JG
18702007-04-19 Jerome Guitton <guitton@adacore.com>
1871
1872 * ser-mingw.c (fd_is_file): New function.
1873 (file_select_thread): New function.
1874 (ser_console_wait_handle): Add special handling for files.
1875
3d1f72c2
DP
18762007-04-18 Denis Pilat <denis.pilat@st.com>
1877
1878 * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
1879 when missing from DW_TAG_subrange_type. Remove the handling of null
1880 return from die_type.
1881
9ecf7166
MR
18822007-04-18 Maciej W. Rozycki <macro@mips.com>
1883
1884 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
1885 change to rearrange some brackets.
1886 (mips_n32n64_push_dummy_call): Likewise.
1887 (mips_o32_push_dummy_call): Likewise.
1888 (mips_o64_push_dummy_call): Likewise.
1889
b79599ff
DP
18902007-04-18 Denis Pilat <denis.pilat@st.com>
1891
1892 * infcmd.c (post_create_inferior): Start with a call to
3d1f72c2 1893 target_terminal_ours.
b79599ff 1894
06f9a1af
MR
18952007-04-17 Maciej W. Rozycki <macro@mips.com>
1896
1897 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
1898 brackets.
1899 (mips_n32n64_push_dummy_call): Likewise. Reformat some
1900 expressions.
1901 (mips_o32_push_dummy_call): Likewise.
1902 (mips_o64_push_dummy_call): Likewise.
1903
ad018eee
MR
19042007-04-17 Maciej W. Rozycki <macro@mips.com>
1905
1906 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
1907 comment.
1908
e914cb17
MR
19092007-04-17 Maciej W. Rozycki <macro@mips.com>
1910
1911 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
1912 comment.
1913 (mips_o32_push_dummy_call): Likewise.
1914
91934273
AS
19152007-04-17 Andreas Schwab <schwab@suse.de>
1916
1917 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
1918 sal to be bigger than the end of the function.
1919
968b5391
MR
19202007-04-17 Maciej W. Rozycki <macro@mips.com>
1921 Nigel Stephens <nigel@mips.com>
1922
1923 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
1924 argument alignment requirements when calculating stack space
1925 required. When aligning an arg register to eight bytes
1926 boundary, align stack_offset too. Write floating-point
1927 arguments to the appropriate integer register if need go there.
1928 (mips_o64_push_dummy_call): Likewise.
1929
e0cd558a
UW
19302007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
1931
1932 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
1933 "sig" arguments, add "regcache" argument.
1934 * gdbarch.c, gdbarch.h: Regenerate.
1935
1936 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
1937 (handle_inferior_event): Call remove_single_step_breakpoints directly
1938 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
1939
1940 * alpha-tdep.c (alpha_software_single_step): Update argument list.
1941 Remove handling of !insert_breakpoints_p case.
1942 * arm-tdep.c (arm_software_single_step): Likewise.
1943 * cris-tdep.c (cris_software_single_step): Likewise.
1944 * mips-tdep.c (mips_software_single_step): Likewise.
1945 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
1946 * sparc-tdep.c (sparc_software_single_step): Likewise.
1947 * spu-tdep.c (spu_software_single_step): Likewise.
1948
1949 * alpha-tdep.h (alpha_software_single_step): Update prototype.
1950 * mips-tdep.h (mips_software_single_step): Likewise.
1951 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
1952 * sparc-tdep.h (sparc_software_single_step): Likewise.
1953
06a86285
UW
19542007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
1955
1956 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
1957 when removing single-step breakpoints.
1958
25d5ea92
VP
19592007-04-14 Vladimir Prus <vladimir@codesourcery.com>
1960
1961 * varobj.h (varobj_set_frozen): New
1962 (varobj_get_frozen): New.
1963 (varobj_update): New parameter explicit.
1964 * varobj.c (struct varobj): New fields frozen
1965 and not_fetched.
1966 (varobj_set_frozen, varobj_get_frozen): New.
1967 (install_new_value): Don't fetch values for
1968 frozen variable object, or children thereof. Allow
1969 a frozen variable object to have non-fetched value.
1970 (varobj_update): Allow updating child variables.
1971 Don't traverse frozen children.
1972 (new_variable): Initialize the frozen field.
1973 (c_value_of_variable): Return NULL for frozen
1974 variable without any value yet.
1975 * mi/mi-cmd-var.c (varobj_update_one): New parameter
1976 'explicit'.
1977 (mi_cmd_var_create): Output the 'frozen' field,
1978 as soon as testsuite is adjusted to expect that field.
1979 (mi_cmd_var_set_frozen): New.
1980 (mi_cmd_var_update): Pass the 'explicit' parameter to
1981 varobj_update_one.
1982 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
1983 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
1984
6e3bbd1a
PB
19852007-04-13 Paul Brook <paul@codesourcery.com>
1986
1987 * target-descriptions.c (tdesc_named_type): Add ieee_single and
1988 ieee_double.
1989 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
1990
ea35711c
DJ
19912007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
1992
1993 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
1994 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
1995 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
1996 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
1997 * Makefile.in: Remove references to deleted files.
1998 * README: Do not mention deleted ROM monitor interfaces.
1999 * defs.h (enum language): Delete language_scm.
2000 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
2001 (dump_subexp_body_standard): Likewise.
2002 * parse.c (operator_length_standard): Likewise.
2003 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
2004 * remote-mips.c: Do not include remote-utils.h.
2005 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
2006 throughout.
2007 * value.c: Do not include scm-lang.h.
2008 (unpack_long): Delete scm_unpack call.
2009 * config/h8300/h8300.mt, config/mips/embed.mt,
2010 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
2011 config/sh/embed.mt, config/sh/linux.mt: Remove references to
2012 deleted files.
2013 * NEWS: Mention removed files.
2014
058b9c07
DJ
20152007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2016
2017 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
2018 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
2019
54d61198
DJ
20202007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2021
2022 * NEWS: Mention removal of HP aCC support.
2023
e499d0f1
DJ
20242007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2025
2026 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
2027 first entry for static executables.
2028 (breakpoint_addr): Delete unused variable.
2029 (elf_locate_base): Search for _r_debug in static executables.
2030 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
2031 also.
2032
4d5b2cd7
DJ
20332007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2034
2035 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
2036 (bpstat_what, print_one_breakpoint, allocate_bp_location)
2037 (mention): Remove bp_through_sigtramp support.
2038 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
2039
46d57086
DJ
20402007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2041
2042 * breakpoint.c (bpstat_what): Give step-resume higher priority than
2043 shlib events.
2044
d3169d93
DJ
20452007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
2046
2047 * infrun.c: Doc fixes.
2048 (handle_inferior_event): Clarify debug message.
2049 (insert_step_resume_breakpoint_at_sal): Print a debug message.
2050
8c9e4384
UW
20512007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
2052
2053 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
2054
9418f048
UW
20552007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
2056
2057 * config/m68k/tm-monitor.h: Delete file.
2058 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
2059 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
2060 call moved to ...
2061 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
2062 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
2063
e6590a1b
UW
20642007-04-12 Luis Machado <luisgpm@br.ibm.com>
2065
2066 * gdbarch.sh (software_single_step): Change the return type
2067 from void to int and reformatted some comments to <= 80
2068 columns.
2069 * gdbarch.c, gdbarch.h: Regenerated.
2070 * alpha-tdep.c (alpha_software_single_step): Likewise.
2071 * alpha-tdep.h (alpha_software_single_step): Likewise.
2072 * arm-tdep.c (arm_software_single_step): Likewise.
2073 * cris-tdep.c (cris_software_single_step): Likewise.
2074 * mips-tdep.c (mips_software_single_step): Likewise.
2075 * mips-tdep.h (mips_software_single_step): Likewise.
2076 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
2077 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
2078 * sparc-tdep.c (sparc_software_single_step): Likewise.
2079 * sparc-tdep.h (sparc_software_single_step): Likewise.
2080 * spu-tdep.c (spu_software_single_step): Likewise.
2081 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
2082 and act accordingly.
2083
58b38ee2
SE
20842007-04-11 Steve Ellcey <sje@cup.hp.com>
2085
2086 * configure.ac (build_warnings): Add -Wno-char-subscripts.
2087 * configure: Regenerate.
2088 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2089
70f575cc
JK
20902007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2091
2092 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
2093
d77b6808
JK
20942007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2095
2096 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
2097 macros.
2098 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
2099 distinct on the TYPE_STUB_SUPPORTED debug targets.
2100 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
2101
b0b92586
JB
21022007-04-11 Joel Brobecker <brobecker@adacore.com>
2103
2104 * sparc-tdep.c (X_RS2): New macro.
2105 (sparc_skip_stack_check): New function.
2106 (sparc_analyze_prologue): Adjust PC past stack probing
2107 sequence if necessary.
2108
a489f789
AS
21092007-04-10 Andreas Schwab <schwab@suse.de>
2110
2111 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
2112 register.
2113
b0b13bb4
DJ
21142007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
2115
2116 * breakpoint.c (gdb_breakpoint_query): Really return an
2117 enum gdb_rc.
2118 (gdb_breakpoint): Likewise.
3f11755e
DJ
2119 * thread.c (gdb_list_thread_ids): Likewise.
2120 (gdb_thread_select): Likewise.
b0b13bb4
DJ
2121 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
2122 (mi_cmd_thread_list_ids): Remove bogus initialization.
2123
1a92f856
DJ
21242007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
2125
2126 * Makefile.in (SFILES): Remove hpacc-abi.c.
2127 (COMMON_OBS): Remove hpacc-abi.o.
2128 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
2129 (hpacc-abi.o, hpread.o): Delete rules.
2130 * somread.c: Delete extern declarations from hpread.c.
2131 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
2132 (som_symfile_finish): Do not call hpread_symfile_finish.
2133 (som_symfile_init): Do not call hpread_symfile_init.
2134 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
2135 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
2136 * hpacc-abi.c, hpread.c: Deleted.
2137
542c95c2
DJ
21382007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
2139
2140 * solib-svr4.c (enable_break): Simplify return value.
2141 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
2142
cfaefc65
AS
21432007-04-10 Andreas Schwab <schwab@suse.de>
2144
2145 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
2146 l_ld_size, l_next_size, l_prev_size, l_name_size.
2147
2148 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
2149 to extract addresses from link map.
2150 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
2151 (LM_NEXT): Likewise.
2152 (LM_NAME): Likewise.
2153 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
2154 (elf_locate_base): Likewise.
2155 (open_symbol_file_object): Likewise.
2156 (svr4_fetch_objfile_link_map): Likewise.
2157 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
2158 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
2159 l_ld_size.
2160 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
2161 (svr4_lp64_fetch_link_map_offsets): Likewise.
2162
2163 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
2164 removed members. Set l_ld_offset to -1 if not present.
2165
65cc4390
VP
21662007-04-08 Vladimir Prus <vladimir@codesourcery.com>
2167
2168 Pass stderr of program run with "target remote |"
2169 via gdb_stderr.
2170 * serial.c (serial_open): Set error_fd to -1.
2171 * serial.h (struct serial): New field error_fd.
2172 (struct serial_opts): New field avail.
2173 * ser-pipe.c (pipe_open): Create another pair
2174 of sockets. Pass stderr to gdb.
2175 * ser-mingw.c (pipe_windows_open): Pass
2176 PEX_STDERR_TO_PIPE to pex_run. Initialize
2177 sd->error_fd.
2178 (pipe_avail): New.
2179 (_initialize_ser_windows): Hook pipe_avail.
2180 * ser-base.c (generic_readchar): Check if there's
2181 anything in stderr channel and route that to gdb_stderr.
2182
e9112110
PA
21832007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
2184
2185 * dbxread.c (read_ofile_symtab): Move current_objfile
2186 clearing to after end_stabs.
2187
7f68ac27
AS
21882007-04-01 Andreas Schwab <schwab@suse.de>
2189
2190 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
2191 gdbarch instead of current_gdbarch.
2192
e55dccf0
VP
21932007-04-01 Vladimir Prus <vladimir@codesourcery.com>
2194
2195 * varobj.c (varobj_create): Keep varobj value
2196 NULL when evaluating the type.
2197
7c963485
PA
21982007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
2199
2200 * NEWS: Mention new Windows CE support.
2201
ad527d2e
PA
22022007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
2203
2204 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
2205 the obsoletion stanza.
2206 * NEWS: Mention deleted targets.
2207
2208 * config/sh/tm-wince.h: Remove.
2209 * config/sh/wince.mt: Remove.
2210 * config/mips/tm-wince.h: Remove.
2211 * config/mips/wince.mt: Remove.
2212
2213 * wince.c: Remove.
2214 * wince-stub.c: Remove.
2215 * wince-stub.h: Remove.
2216 * Makefile.in (wince.o): Remove rule.
2217 (wince-stub.o): Likewise.
2218
2219 * mips-tdep.c (mips_next_pc): Make static.
2220 * mips-tdep.h (mips_next_pc): Remove declaration.
2221 * arm-tdep.c (arm_pc_is_thumb): Make static.
2222 (thumb_get_next_pc): Likewise.
2223 (arm_get_next_pc): Likewise.
2224 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
2225 (arm_pc_is_thumb): Likewise.
2226 (thumb_get_next_pc): Likewise.
2227 (arm_get_next_pc): Likewise.
2228
7ce59000
DJ
22292007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2230
2231 * MAINTAINERS: Remove d10v entry.
2232 * Makefile.in (SFILES): Remove dwarfread.c.
2233 (COMMON_OBS): Remove dwarfread.o.
2234 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
2235 (remote-est.o, rom68k-rom.o): Delete.
2236 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
2237 target est, target rom68k, and DWARF 1.
2238 * configure.tgt: Mark d10v as removed.
2239 * dwarf2read.c: Doc update.
2240 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
2241 and lnsize.
2242 (elf_locate_sections): Do not set them.
2243 (elf_symfile_read): Do not call dwarf_build_psymtabs.
2244 * symfile.h (dwarf_build_psymtabs): Delete prototype.
2245 * config/m68k/monitor.mt (TDEPFILES): Prune.
2246 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
2247 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
2248
20389057
DJ
22492007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2250
2251 * doublest.c (convert_floatformat_to_doublest): Use
2252 floatformat_classify.
2253 (floatformat_is_nan): Rename to...
2254 (floatformat_classify): ...this. Return more information.
2255 * doublest.h (enum float_kind): New.
2256 (floatformat_is_nan): Replace prototype...
2257 (floatformat_classify): ...with this one.
2258 * valprint.c (print_floating): Use floatformat_classify. Handle
2259 infinity.
2260
30b50213
DJ
22612007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2262
2263 * README: Mention ISO C library requirement.
2264
8807d78b
DJ
22652007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2266
2267 * Makefile.in (SFILES): Remove nlmread.c.
2268 (COMMON_OBS): Remove nlmread.o.
2269 (nlmread.o): Delete rule.
2270 * README: Delete reference to remote-st.c.
2271 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
2272 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
2273 GDB_OSABI_LYNXOS.
2274 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
2275 (_initialize_i386_tdep): Do not reference them.
2276 * nlmread.c: Delete file.
2277 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
2278 * target.c: Doc update.
2279 * thread.c: Delete commented include.
2280 * config/alpha/tm-alpha.h: Doc update.
2281
ced572fe
MR
22822007-03-30 Chris Dearman <chris@mips.com>
2283
2284 * utils.c (string_to_core_addr): Comment typo.
2285
8a9fc081
MR
22862007-03-30 Chris Dearman <chris@mips.com>
2287
2288 * mips-tdep.c: Comment typo.
2289
5f402660
UW
22902007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2291
2292 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
2293 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
2294 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
2295 * config/powerpc/nm-ppc64-linux.h: Remove file.
2296 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
2297 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
2298 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
2299 * infptrace.c (call_ptrace): Likewise.
2300 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
2301 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
2302 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
2303 (store_register): Likewise.
2304
bbf90c81
JB
23052007-03-29 Joel Brobecker <brobecker@adacore.com>
2306
2307 * Makefile.in (varobj.o): Add missing dependency.
2308
243c053b
MS
23092007-03-29 Michael Snyder <msnyder@access-company.com>
2310
2311 * MAINTAINERS: Update my email address.
2312
0259addd
JB
23132007-03-29 Joel Brobecker <brobecker@adacore.com>
2314
2315 Add support for exception handling with multiple versions of
2316 the Ada runtime:
2317 * ada-lang.c: Update general comments on how Ada exception catchpoints
2318 are implemented.
2319 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
2320 (__gnat_raise_nodefer_with_msg): Delete.
2321 (ada_unhandled_exception_name_addr_ftype): New type.
2322 (exception_support_info): New type.
2323 (ada_unhandled_exception_name_addr): Add forward declaration.
2324 (ada_unhandled_exception_name_addr_from_raise): Likewise.
2325 (default_exception_support_info): New constant.
2326 (exception_support_info_fallback): Likewise.
2327 (exception_info): New global variable.
2328 (ada_exception_support_info_sniffer): New function.
2329 (ada_executable_changed_observer): Likewise.
2330 (ada_unhandled_exception_name_addr_from_raise): Renamed from
2331 ada_unhandled_exception_name_addr.
2332 (ada_unhandled_exception_name_addr): Reimplement to match the
2333 latest Ada runtime implementation.
2334 (error_breakpoint_runtime_sym_not_found): Delete.
2335 (ada_exception_sym_name): Get the exception sym name from
2336 exception_info rather than hardcoding it.
2337 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
2338 Update error handling.
2339 * Makefile.in (ada-lang.o): Add dependency on observer.h.
2340
483367ee
DJ
23412007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2342
2343 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
2344 (remote-st.o, uw-thread.o): Delete.
2345 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
2346 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
2347 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
2348 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
2349 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
2350 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
2351 rs6000-*-lynxos* to an obsoletion stanza.
2352 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
2353 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
2354 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
2355 i[34567]86-*-netware*.
2356 * NEWS: Mention deleted targets.
2357
2358 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
2359 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
2360 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
2361 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
2362 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
2363 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
2364 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
2365 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
2366 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
2367 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
2368 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
2369 config/rs6000/tm-rs6000ly.h: Delete files.
2370
3adda9d8
DJ
23712007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2372
2373 * defs.h (deprecated_registers_changed_hook): Delete declaration.
2374 * interps.c (clear_interpreter_hooks): Do not clear
2375 deprecated_registers_changed_hook.
2376 * regcache.c (registers_changed): Do not call it.
2377 * top.c (deprecated_registers_changed_hook): Do not define it.
2378 * mi/mi-interp.c (mi_command_loop): Do not clear it.
2379 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
2380 (tui_remove_hooks): Do not remove it.
2381 (tui_selected_frame_level_changed_hook): Check for negative level.
2382 Use get_selected_frame.
2383 (tui_registers_changed_hook): Deleted.
2384
bf362611
JB
23852007-03-29 Joel Brobecker <brobecker@adacore.com>
2386
2387 * stabsread.c (add_undefined_type): Add extra parameter.
2388 Now handles nameless types separately.
2389 (struct nat): New type.
2390 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
2391 New static variables.
2392 (read_type): Update calls to add_undefined_type.
2393 (add_undefined_type_noname): New function.
2394 (add_undefined_type_1): Renames from add_undefined_type.
2395 (cleanup_undefined_types_noname): New function.
2396 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
2397 (cleanup_undefined_types): New handles nameless types separately.
2398 (_initialize_stabsread): Initialize our new static constants.
2399
436868fb
DP
24002007-03-29 Denis Pilat <denis.pilat@st.com>
2401
2402 * configure.ac: Test for signal.h.
2403 * configure, config.in: Regenerate.
2404
aaf9e9fd
DP
24052007-03-29 Denis Pilat <denis.pilat@st.com>
2406
2407 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
2408 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
2409
68070c10
PA
24102007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
2411
2412 * arm-wince-tdep.c: New.
2413 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
2414 (MT_CFLAGS): Delete.
2415 (TM_CLIBS): Delete.
2416 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
2417 solib-legacy.o, solib-svr4.o, and remove wince.o.
2418 * configure.tgt (arm*-*-mingw32ce*): Add.
2419 * signals/signals.c [HAVE_SIGNAL_H]: Check.
2420 (do_target_signal_to_host): Silence 'not used' warning.
2421 * config/arm/tm-wince.h: Remove.
2422
74174d2e
UW
24232007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
2424
2425 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
2426 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
2427
2428 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
2429 * config/ia64/tm-linux.h: Remove file.
2430 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
2431 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
2432 legacy_pc_in_sigtramp.
2433 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
2434 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
2435 Remove func_name argument.
2436 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
2437
2438 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
2439 * target.c (update_current_target): Add to_have_steppable_watchpoint.
2440 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
2441 (HAVE_STEPPABLE_WATCHPOINT): Define.
2442
2443 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
2444 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
2445 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
2446 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
2447 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
2448 target_insert_watchpoint, target_remove_watchpoint): Remove.
2449 (FETCH_INFERIOR_REGISTERS): Define.
2450 * ia64-linux-nat.c (ia64_register_addr): Make static.
2451 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
2452 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
2453 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
2454 (ia64_linux_stopped_data_address): Make static. Add target_ops.
2455 (ia64_linux_stopped_by_watchpoint): Make static.
2456 (ia64_linux_can_use_hw_breakpoint): New function.
2457 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
2458 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
2459 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
2460
53c5240f
PA
24612007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
2462
2463 * linespec.c: Include language.h.
2464 (find_methods): Add language parameter. Call
2465 lookup_symbol_in_language. Pass language down.
2466 (add_matching_methods): Likewise. Call
2467 lookup_symbol_in_language.
2468 (add_constructors): Likewise.
2469 (find_method): Pass sym_class to collect_methods.
2470 (collect_methods): Add sym_class parameter. Pass language
2471 down.
2472 * symtab.c (lookup_symbol): Rename to ...
2473 (lookup_symbol_in_language): ... this. Add language
2474 parameter. Use passed language instead of current_language.
2475 (lookup_symbol): New as wrapper around
2476 lookup_symbol_in_language.
2477 (lookup_symbol_aux): Add language parameter. Use passed
2478 language instead of current_language.
2479 (search_symbols): Indent.
2480 * symtab.h (enum language): Forward declare.
2481 (lookup_symbol_in_language): Declare.
2482 (lookup_symbol): Update description.
2483 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
2484 * ada-lang.c (restore_language): Remove.
2485 (lookup_symbol_in_language): Remove.
2486
8671a17b
PA
24872007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
2488
2489 * breakpoint.c (bpstat_num): Add int *num parameter.
2490 * breakpoint.h (bpstat_num): Likewise.
2491 * infcmd.c (continue_command): Adjust to new bpstat_num
2492 interface.
2493 (program_info): Likewise.
2494
214197f9
UW
24952007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
2496
2497 * config/sh/tm-sh.h: Remove file.
2498 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
2499 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
2500 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
2501 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
2502
bac718a6
UW
25032007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
2504
2505 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
2506 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
2507 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
2508 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
2509 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
2510 sequence if target_shortname is "remote".
2511
de6a76fd
DJ
25122007-03-27 Anton Blanchard <anton@samba.org>
2513
2514 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
2515 instead of wordsize when looking for the LR in a stack frame.
2516
4fc771b8
DJ
25172007-03-27 Andreas Schwab <schwab@suse.de>
2518 Daniel Jacobowitz <dan@codesourcery.com>
2519
2520 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
2521 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
2522 argument. Update all callers.
2523 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
2524 (dwarf2_frame_set_eh_frame_regnum): Rename to...
2525 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
2526 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
2527 (dwarf2_frame_set_adjust_regnum): ...this.
2528 (dwarf2_frame_eh_frame_regnum): Delete prototype.
2529 * rs6000-tdep.c: Include "dwarf2-frame.h".
2530 (rs6000_adjust_frame_regnum): Define.
2531 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
2532 Register rs6000_adjust_frame_regnum.
2533
2534 * Makefile.in (rs6000-tdep.o): Update dependencies.
2535
9453113a
DJ
25362007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
2537
2538 * Makefile.in: Add support for a "pdf" target.
2539
d2449ee8
DJ
25402007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
2541
2542 * amd64-tdep.c (amd64_init_frame_cache): New function.
2543 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
2544
a72d8a8e
MR
25452007-03-26 Nigel Stephens <nigel@mips.com>
2546 Maciej W. Rozycki <macro@mips.com>
2547
2548 * ui-out.c (ui_out_field_core_addr): Truncate address to
2549 TARGET_ADDR_BIT size before printing.
2550
5200c3f3 25512007-03-22 Nigel Stephens <nigel@mips.com>
a72d8a8e 2552 Maciej W. Rozycki <macro@mips.com>
5200c3f3
L
2553
2554 * remote-mips.c (mips_xfer_memory): Update prototype.
2555
16708cba
JB
25562007-03-22 Joel Brobecker <brobecker@adacore.com>
2557
2558 * symfile.h: #include "symtab.h"
2559
0fe514e3
DP
25602007-03-22 Denis Pilat <denis.pilat@st.com>
2561
2562 * utils.c (pagination_on_command, pagination_off_command):
2563 Remove useless prototypes.
2564
4a52dc15
PM
25652007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
2566
2567 Fix PR pascal/2232.
2568 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
2569 instead of TYPE_NAME for object base class name.
2570
2571
1c86fa97
KB
25722007-03-19 Kevin Buettner <kevinb@redhat.com>
2573
2574 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
2575 Specify frame type in calls to frame_func_unwind().
2576
4e463ff5
DJ
25772007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
2578
2579 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
2580 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
2581 (refine_prologue_limit): Delete.
2582 (skip_prologue): Don't call it. Use extract_unsigned_integer.
2583 Assume lim_pc is set. Correct check for incomplete prologues.
2584 Do not skip clobbers of the frame pointer.
2585 * symtab.c (skip_prologue_using_sal): Fail if there is only one
2586 sal.
2587
348473d5
NF
25882007-03-13 Nathan Froyd <froydnj@codesourcery.com>
2589
2590 * frame.c (frame_pop): Check to see whether there's a frame to
2591 which we can pop first.
2592
a2f9cf0d
NF
25932007-03-13 Nathan Froyd <froydnj@codesourcery.com>
2594
2595 * MAINTAINERS (Write After Approval): Add myself.
2596
569631c6
UW
25972007-03-09 Markus Deuling <deuling@de.ibm.com>
2598
2599 * infrun.c (breakpoints_failed): Remove unnecessary variable.
2600 (handle_inferior_event): Remove unnecessary braces.
2601 * breakpoint.c (bpstat_what): Remove wrong comment.
2602
fe5febed
UW
26032007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
2604
2605 * spu-tdep.c (spu_in_function_epilogue_p): New function.
2606 (spu_gdbarch_init): Install it.
2607
9dea8ca2
UW
26082007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
2609
2610 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
2611 object types, not 0.
2612
7b3dc0b7
UW
26132007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
2614
2615 * spu-tdep.c (spu_frame_align): New function.
2616 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
2617
118dfbaf
UW
26182007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
2619
2620 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
2621 (spu_software_single_step): Likewise.
2622 (spu_read_pc, spu_write_pc): New functions.
2623 (spu_gdbarch_init): Install them.
2624
29e4017d
UW
26252007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
2626
2627 * cli/cli-dump.c (struct callback_data): load_offset needs to
2628 have signed long type.
2629
6de5b849
JB
26302007-03-07 Joel Brobecker <brobecker@adacore.com>
2631
2632 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
2633 Revert the previous change that had some unexpected side-effects
2634 on mips32.
2635 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
2636 function to get the address of the calling instruction.
2637
7490ba4f
DP
26382007-03-07 Denis Pilat <denis.pilat@st.com>
2639
2640 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
2641 get_selected_frame by deprecated_safe_get_selected_frame.
2642
861fb77c
MK
26432007-03-02 Mark Kettenis <kettenis@gnu.org>
2644
2645 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
2646 "gdb_string.h". Don't include "nbsd-tdep.h".
2647 (SIZEOF_STRUCT_REG): Remove.
2648 (SHNBSD_SIZEOF_GREGS): New.
2649 (shnbsd_supply_gregset, shnbsd_collect_gregset)
2650 (shnbsd_regset_from_core_section): New functions.
2651 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
2652 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
2653 shnbsd_supply_gregset, shnbsd_collect_gregset.
2654 (shnbsd_gregset): New variable.
2655 (shnbsd_init_abi): Set regset_from_core_section.
2656 (GDB_OSABI_NETBSD_CORE): New define.
2657 (shnbsd_core_osabi_sniffer): New function.
2658 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
2659 * Makefile.in (shnbsd-tdep.o): Update dependencies.
2660 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
2661 nbsd-tdep.o.
2662 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2663
787cbe14
JB
26642007-02-28 Joel Brobecker <brobecker@adacore.com>
2665
2666 * gdbtypes.c (replace_type): Fix typo that caused us to not update
2667 length of the types referenced by the new type CV ring.
2668
35f196d9
DJ
26692007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
2670
2671 * frame.c (frame_pop, frame_observer_target_changed): Call
2672 reinit_frame_cache.
2673 (flush_cached_frames): Rename to reinit_frame_cache and delete
2674 old implementation.
2675 * frame.h (flush_cached_frames): Delete prototype and update comment.
2676
2677 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
2678 reinit_frame_cache instead of flush_cached_frames. Do not call
2679 select_frame after reinit_frame_cache.
2680 * corelow.c (core_open): Likewise.
2681 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
2682 * infrun.c (prepare_to_proceed, context_switch)
2683 (handle_inferior_event): Likewise.
2684 * linux-fork.c (fork_load_infrun_state): Likewise.
2685 * ocd.c (ocd_start_remote): Likewise.
2686 * remote-e7000.c (e7000_start_remote): Likewise.
2687 * remote-mips.c (device): Likewise.
2688 * thread.c (switch_to_thread): Likewise.
2689 * tracepoint.c (finish_tfind_command): Likewise.
2690 * gdbarch.c: Regenerated.
2691
c26f2453
JB
26922007-02-28 Jerome Guitton <guitton@adacore.com>
2693 Joel Brobecker <brobecker@adacore.com>
2694
2695 * gdbtypes.c (check_typedef): Do not replace stub type if
2696 the resolved type is not defined in the same objfile.
2697
7d900f1a
DJ
26982007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
2699
2700 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
2701
76038652 27022007-02-28 Joel Brobecker <brobecker@adacore.com>
52eea4ce
JB
2703
2704 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
2705 symbol for Ada units when the symbol is defined using 't' rather
2706 than 'Tt' as symbol descriptor.
2707
d74fb156 27082007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1344afe0
UW
2709
2710 * config/mips/tm-nbsd.h: Delete file.
2711 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
2712 * config/sh/tm-nbsd.h: Delete file.
2713 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
2714
f8d225db
JB
27152007-02-28 Joel Brobecker <brobecker@adacore.com>
2716
2717 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
2718 unused WRONG_PARAM value since it was recently deleted.
2719
1bbfb19a
NR
27202007-02-28 Vladimir Prus <vladimir@codesourcery.com>
2721
2722 * varobj.c (varobj_update): Free temporary vectors.
2723
6f7f3f0d
UW
27242007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
2725
2726 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
2727 * config/powerpc/tm-linux.h: Delete file.
2728 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
2729 (PROCESS_LINENUMBER_HOOK): Do not undefine.
2730 (TEXT_SEGMENT_BASE): Do not redefine.
2731 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
2732 from config/rs6000/tm-rs6000.h.
2733 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
2734 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
2735 (TEXT_SEGMENT_BASE): Remove.
2736 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
2737 (rs6000_in_solib_return_trampoline): Remove.
2738 (SKIP_TRAMPOLINE_CODE): Remove.
2739 (rs6000_skip_trampoline_code): Remove.
2740 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
2741 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
2742 (FP0_REGNUM): Remove.
2743 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
2744 (rs6000_set_host_arch_hook): Remove.
2745 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
2746 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
2747 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
2748 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
2749 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
2750 * rs6000-nat.c: Include "rs6000-tdep.h".
2751 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
2752 (set_host_arch): Rename to ...
2753 (rs6000_create_inferior): ... this. Make public.
2754 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
2755 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
2756 (rs6000_create_inferior): Remove.
2757 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
2758 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
2759 set_gdbarch_in_solib_return_trampoline, and
2760 set_gdbarch_skip_trampoline_code.
2761 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
2762 from config/rs6000/tm-rs6000.h.
2763
63050a44 27642007-02-27 Joel Brobecker <brobecker@adacore.com>
05279ca0
JB
2765
2766 * buildsym.c (record_producer): Do nothing if no producer is provided.
2767
63050a44 27682007-02-27 Nick Roberts <nickrob@snap.net.nz>
e0b75a46
NR
2769
2770 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
2771 to check changelist is non-NULL. Call error if the frontend tries
2772 to update a non-root variable.
2773
2774 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
2775
93d42b30
DJ
27762007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
2777
2778 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
2779 (dwarf2_frame_sniffer): Update.
2780 (dwarf2_signal_frame_this_id): New function.
2781 (dwarf2_signal_frame_unwind): Use it.
2782 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
2783 * frame.c (frame_func_unwind): Add this_type argument.
2784 (get_frame_func): Update.
2785 (frame_unwind_address_in_block): Add this_type argument and check it.
2786 Fix a typo.
2787 (get_frame_address_in_block): Update.
2788 * frame.h (enum frame_type): Move higher in the file.
2789 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
2790 argument.
2791
2792 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
2793 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
2794 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
2795 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
2796 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
2797 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
2798 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
2799 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
2800 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
2801 frame_func_unwind and frame_unwind_address_in_block to specify
2802 the frame type. Use frame_unwind_address_in_block instead of
2803 frame_pc_unwind in sniffers.
2804
206415a3
DJ
28052007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
2806
2807 * frame.c (deprecated_selected_frame): Rename to...
2808 (selected_frame): ...this. Make static.
2809 (get_selected_frame, select_frame): Update.
2810 * frame.h (deprected_select_frame): Delete.
2811 (deprecated_safe_get_selected_frame): Update comments.
2812
2813 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
2814 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
2815 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
2816 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
2817 tui/tui.c: Replace references to deprecated_selected_frame.
2818
7313566f
FF
28192007-02-27 Fred Fish <fnf@specifix.com>
2820
2821 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
2822 directly decrement the stack pointer, accumulate their operand into
2823 the stack offset, and mark the function as not being frameless.
2824
b6d373df
DJ
28252007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
2826
2827 * arch-utils.c (selected_byte_order): New.
2828 * arch-utils.h (selected_byte_order): New prototype.
2829 * remote-sim.c (gdbsim_open): Use selected_byte_order.
2830
2711e456
DJ
28312007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
2832
2833 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
2834 (default_symfile_offsets): Check VMA here. Update section VMAs.
2835
baef701f
DJ
28362007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
2837
2838 * remote.c (init_remote_state): Add special handling for placeholder
2839 registers.
2840
05a4558a
DJ
28412007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
2842
2843 * Makefile.in (XMLFILES): Include $(TDEP_XML).
2844 (filenames_h): New variable.
2845 (clean): Clean up xml-builtin.c and stamp-xml.
2846 (arm-linux-nat.o): Update.
2847 * config/arm/linux.mh (TDEP_XML): Define.
2848 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
2849 (arm_linux_has_wmmx_registers): New.
2850 (GET_THREAD_ID): Fix typo.
2851 (IWMMXT_REGS_SIZE): Define.
2852 (fetch_wmmx_regs, store_wmmx_regs): New.
2853 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
2854 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
2855 (super_xfer_partial, arm_linux_xfer_partial): New.
2856 (_initialize_arm_linux_nat): Use them.
2857 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
2858 (xml_builtin_xfer_partial): New function.
2859 * xml-support.h (xml_builtin_xfer_partial): New prototype.
2860 * NEWS: Update mention of iWMMXt support.
2861
ff6f572f
DJ
28622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
2863
2864 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
2865 if there are no FPA registers.
2866 (arm_dwarf_reg_to_regnum): New function.
2867 (arm_register_type, arm_register_name): Return minimal values for
2868 unsupported registers.
2869 (arm_register_sim_regno): Handle iWMMXt registers.
2870 (arm_gdbarch_init): Record missing FPA registers if indicated by
2871 a target description. Recognize iWMMXt registers. Only register
2872 "info float" for FPA. Use ARM_NUM_REGS. Register
2873 arm_dwarf_reg_to_regnum.
2874 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
2875 constants.
2876 (struct gdbarch_tdep): Add have_fpa_registers.
2877 * features/xscale-iwmmxt.xml: Update capitalization.
2878 * regformats/arm-with-iwmmxt.dat: Regenerated.
2879
c077150c
KB
28802007-02-24 Kevin Buettner <kevinb@redhat.com>
2881
2882 * NEWS (New targets): Add entry for the Toshiba Media Processor.
2883
01c996c1
KB
28842007-02-23 Kevin Buettner <kevinb@redhat.com>
2885
2886 * MAINTAINERS (mep): New target.
2887
aeb43123
KB
28882007-02-23 Kevin Buettner <kevinb@redhat.com>
2889
2890 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
2891 Richard Sandiford:
2892 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
2893 (mep-tdep.o): New rule.
2894 * configure.tgt (mep-*-*): New target.
2895 * mep-tdep.c: New file.
2896 * config/mep/mep.mt: New file.
2897
115d86cf
UW
28982007-02-22 Markus Deuling <deuling@de.ibm.com>
2899
2900 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
2901 BREAKPOINT_HIT and STOP_UNKNOWN.
2902
fef862e5
UW
29032007-02-22 Markus Deuling <deuling@de.ibm.com>
2904
2905 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
2906
9a7d5afb
JB
29072007-02-20 Joel Brobecker <brobecker@adacore.com>
2908
2909 * gdb_expat.h (XMLCALL): Define if not already defined.
2910
81de920d
AS
29112007-02-20 Andreas Schwab <schwab@suse.de>
2912
2913 * Makefile.in (symfile.o): Update dependencies.
2914
cb5c8c39
DJ
29152007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
2916
2917 * MAINTAINERS: Disable -Werror for cris simulator. Build
2918 sparc64-solaris2.10 instead of the broken sparc-elf.
2919 * solib-frv.c: Include "solib.h".
2920 * Makefile.in (solib-frv.o): Update.
2921 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
2922 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
2923 (xtensa_frame_this_id, xtensa_frame_prev_register)
2924 (xtensa_push_dummy_call): Use %p.
2925
e6bb342a
DJ
29262007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2927
2928 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
2929 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
2930 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
2931 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
2932 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
2933 (sparc-linux-tdep.o): Update.
2934
ff7a4c00
MG
29352007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
2936
2937 * xtensa-tdep.h (xtensa_reg_mask_t): New.
2938 (xtensa_mask_t): Change mask field to be a separate array.
2939 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
2940 (xtensa_pseudo_register_write, xtensa_unwind_pc)
2941 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
2942 (xtensa_breakpoint_from_pc): Remove implicit type casting.
2943 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
2944 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
2945 (mask14, mask15): Rename to
2946 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
2947 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
2948 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
2949 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
2950 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
2951 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
2952 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
2953 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
2954 (xtensa_submask14, xtensa_submask15): New.
2955 (rmap): Follow strict aliasing rules doing static initialization.
2956
d9cc5895
DJ
29572007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
2958
2959 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
2960 handling from here...
2961 (tdesc_register_type): ...to here.
2962 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
2963 * features/arm-core.xml: Use code_ptr and data_ptr.
2964
8756216b
DP
29652007-02-13 Denis Pilat <denis.pilat@st.com>
2966
2967 * varobj.h (enum varobj_update_error): New enum.
2968 * varobj.c (struct varobj_root): Add is_valid member.
2969 (varobj_get_type): Check for invalid varobj.
2970 (varobj_get_attributes): Likewise.
2971 (variable_editable):Likewise.
2972 (varobj_update): Likewise. Use varobj_update_error.
2973 (new_root_variable): Set root varobj as valid by default.
2974 (varobj_invalidate): New function.
2975 * symfile.c (clear_symtab_users): Use varobj_invalidate.
2976 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
2977 Use varobj_update_error.
2978
fe8e67fd
PM
29792007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
2980
2981 Fix PR pascal/2223.
2982 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
2983 Pascal language marker.
2984 * dwarf2read.c (set_cu_language): Likewise.
2985
c44537cf
CV
29862007-02-12 Corinna Vinschen <vinschen@redhat.com>
2987
2988 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
2989 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
2990 instead of target_terminal_init since inferior_ptid isn't set yet.
2991
20dad8ea
PA
29922007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
2993
2994 * MAINTAINERS (Write After Approval): Add myself.
2995
4ac94eda
FF
29962007-02-09 Fred Fish <fnf@specifix.com>
2997
2998 Based on work by Apple Computer, Inc.
2999 * event-top.c (async_request_quit): Call quit() whenever either
3000 quit_flag is set or immediate_quit is set.
3001
b260b6c1
GDR
30022007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
3003
3004 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
3005 type to a pointer to const struct block.
3006 (ada_lookup_symbol_list): Don't cast away constness when calling
3007 remove_out_of_scope_renamings.
3008
30092007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
3010
3011 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
3012 address of 'filename'; it is always non null.
3013
0f5d55d8
JB
30142007-02-09 Joel Brobecker <brobecker@adacore.com>
3015
3016 * exec.c (add_to_section_table): Do not discard empty sections.
3017
fb1e4ffc
DJ
30182007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3019
3020 * features/Makefile, features/arm-with-iwmmxt.xml,
3021 features/gdbserver-regs.xsl, features/number-regs.xsl,
3022 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
3023 * regformats/arm-with-iwmmxt.dat: Generate.
3024 * NEWS: Mention iWMMXt.
3025
123dc839
DJ
30262007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3027
3028 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
3029 (xml-tdesc.o): Update.
3030 * xml-support.c: Add a comment.
3031 (gdb_xml_enums_boolean): New variable.
3032 (gdb_xml_parse_attr_enum): Use strcasecmp.
3033 * xml-support.h (gdb_xml_enums_boolean): Declare.
3034 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
3035 next_regnum, and current_union.
3036 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
3037 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
3038 (field_attributes, union_children, reg_attributes, union_attributes)
3039 (vector_attributes, feature_attributes, feature_children): New.
3040 (target_children): Make static. Add <feature>.
3041 (tdesc_elements): Make static.
3042 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
3043 (struct tdesc_feature, tdesc_feature_p): New types.
3044 (struct target_desc): Add features member.
3045 (struct tdesc_arch_data, tdesc_data): New.
3046 (target_find_description): Clarify error message. Warn about
3047 ignored register descriptions.
3048 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
3049 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
3050 (tdesc_data_cleanup, tdesc_numbered_register)
3051 (tdesc_numbered_register_choices, tdesc_find_register)
3052 (tdesc_register_name, tdesc_register_type)
3053 (tdesc_remote_register_number, tdesc_register_reggroup_p)
3054 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
3055 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
3056 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
3057 (tdesc_create_feature, tdesc_record_type): New.
3058 (free_target_description): Free features.
3059 (_initialize_target_descriptions): Initialize tdesc_data.
3060 * arch-utils.c (default_remote_register_number): New.
3061 * arch-utils.h (default_remote_register_number): New prototype.
3062 * target-descriptions.h (set_tdesc_pseudo_register_name)
3063 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
3064 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
3065 (tdesc_numbered_register, tdesc_numbered_register_choices)
3066 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
3067 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
3068 (tdesc_create_reg): Declare.
3069 * gdbarch.sh (remote_register_number): New entry.
3070 * gdbarch.c, gdbarch.h: Regenerate.
3071 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
3072 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
3073
3074 * arm-tdep.c (arm_register_aliases): New.
3075 (arm_register_name_strings): Rename to...
3076 (arm_register_names): ...this. Make const. Delete the old version.
3077 (current_option, arm_register_byte): Delete.
3078 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
3079 (value_of_arm_user_reg): New.
3080 (arm_gdbarch_init): Verify any described registers. Call
3081 tdesc_use_registers. Don't use arm_register_byte. Create aliases
3082 for standard register names.
3083 (_initialize_arm_tdep): Do not adjust arm_register_names.
3084 * user-regs.c (struct user_reg): Add baton member.
3085 (append_user_reg, user_reg_add_builtin, user_regs_init)
3086 (user_reg_add, value_of_user_reg): Use a baton for user
3087 register functions.
3088 * std-regs.c: Update.
3089 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
3090 (user_reg_add): Add baton argument.
3091 * NEWS: Mention target description register support.
3092 * features/arm-core.xml, features/arm-fpa.xml: New.
3093 * eval.c (evaluate_subexp_standard): Allow ptype $register
3094 when the program is not running.
3095
87604222
NR
30962007-02-09 Nick Roberts <nickrob@snap.net.nz>
3097
3098 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
3099
ee4f0f76
DJ
31002007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
3101
3102 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
3103 info->disassembler_options to "any".
3104
7af9851d
DJ
31052007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3106
3107 * varobj.c (install_new_value): Only call value_get_print_value
3108 if changeable.
3109
8944021f
DJ
31102007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3111
3112 Reported by timeless@gmail.com:
3113 * gdb/target.c (target_flash_erase): Do not return void value.
3114 (target_flash_done): Likewise.
3115 * gdb/cli/cli-cmds.c (source_command): Likewise.
3116
31172007-02-08 Fred Fish <fnf@specifix.com>
5f960e00 3118
4ac94eda 3119 Based on work by Apple Computer, Inc.
5f960e00
FF
3120 * event-top.c (handle_sigint): Set quit_flag.
3121 (async_request_quit): Don't set quit_flag. Avoid calling quit()
3122 if quit_flag has already been reset.
3123
4998c1df
DJ
31242007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3125
3126 * ser-mingw.c (pipe_windows_close): Move variable initialization back
3127 up.
3128
79da184e
FF
31292007-02-08 Fred Fish <fnf@specifix.com>
3130
3131 * defs.h (request_quit): Remove declaration.
3132 * utils.c (request_quit): Remove definition.
3133
3c77c82a
DJ
31342007-02-08 Joel Brobecker <brobecker@gnat.com>
3135 Jan Kratochvil <jan.kratochvil@redhat.com>
3136 Daniel Jacobowitz <dan@codesourcery.com>
3137
3138 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
3139 (skip_prologue): Allow bl->blrl used by PIC code.
3140
c1b6e682
DJ
31412007-02-08 Mark Kettenis <kettenis@gnu.org>
3142 Daniel Jacobowitz <dan@codesourcery.com>
3143
3144 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
3145 initialize tmp_obstack.
3146 * p-valprint.c (pascal_object_print_value_fields)
3147 (pascal_object_print_value): Likewise.
3148
fe5dedf4
DJ
31492007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
3150
3151 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
3152
3e461478
MK
31532007-02-08 Mark Kettenis <kettenis@gnu.org>
3154
3155 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
3156 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
3157
fc6e0168
DJ
31582007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
3159
3160 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
3161 (xml_cache): New.
3162 (tdesc_parse_xml): Cache expanded descriptions.
3163
108546a0
DJ
31642007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
3165
3166 * Makefile.in (XMLFILES): New.
3167 (COMMON_OBS): Add xml-builtin.o.
3168 (xml-builtin.c, stamp-xml): New rules.
3169 (xml-tdesc.o): Update.
3170 * features/feature_to_c.sh: New file.
3171 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
3172 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
3173 (gdb_xml_start_element): Initialize scope after possibly reallocating
3174 scopes. Move cleanup later. Handle the XInclude description
3175 specially.
3176 (gdb_xml_end_element): Only parse the body if there is a current element.
3177 Call XML_DefaultCurrent if there is no element.
3178 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
3179 (struct xinclude_parsing_data, xinclude_start_include)
3180 (xinclude_end_include, xml_xinclude_default)
3181 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
3182 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
3183 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
3184 * xml-support.h (xml_fetch_another, xml_process_xincludes)
3185 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
3186 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
3187 XInclude directives. Use the compiled in DTD.
3188 (fetch_xml_from_file): Add baton argument. Treat it as a containing
3189 directory name. Do not warn here.
3190 (file_read_description_xml): Update call. Warn here instead. Pass
3191 a dirname as baton.
3192 (fetch_available_features_from_target): New.
3193 (target_read_description_xml): Use it.
3194 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
3195 to handle XInclude.
3196 * features/xinclude.dtd: New file.
3197
b5057acd
DJ
31982007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
3199
3200 * linux-thread-db.c (check_for_thread_db): Return early if we have
3201 no libthread_db support.
3202
6a089cf2
DJ
32032007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
3204
3205 * mi/mi-parse.h: Include <sys/time.h>.
3206
9fbcbb40
NR
32072007-02-05 Nick Roberts <nickrob@snap.net.nz>
3208
3209 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
3210 instead of print_variable_value to print values.
3211
b3d2152a
NR
32122007-02-03 Nick Roberts <nickrob@snap.net.nz>
3213
3214 * mi/mi-main.c: Numerous formatting changes.
3215 (mi_cmd_data_write_register_values): Replace clause inadvertantly
3216 removed in my previous change.
3217
79f0a97a
NR
32182007-02-03 Eli Zaretskii <eliz@gnu.org>
3219
3220 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
3221 Use 1000000L instead of 1000000.
3222
95a98c01 32232007-02-03 Nick Roberts <nickrob@snap.net.nz>
cd375699
NR
3224
3225 Based on work by Apple Computer, Inc.
3226
3227 * configure.ac: Test for sys/resource.h and getrusage.
3228 * configure, config.in: Regenerate.
3229
3230 * mi/mi-main.c: Include <sys/resource.h> if present.
3231 (rusage): Declare if HAVE_GETRUSAGE.
3232 (current_command_ts, do_timings): New static variables.
3233 (timestamp, print_diff_now, print_diff, timeval_diff):
3234 New static timing functions.
3235 (mi_cmd_enable_timings): New function for new MI command.
3236 (captured_mi_execute_command, mi_execute_async_cli_command):
3237 Call timing functions.
3238
3239 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
3240 -enable-timings.
3241
3242 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
3243
3244 * mi/mi-parse.h: (mi_timestamp): New structure.
3245 (mi_parse): Add mi_timestamp* member.
3246
99b3d574
DP
32472007-02-02 Denis Pilat <denis.pilat@st.com>
3248
3249 * thread.c (make_cleanup_restore_current_thread): New function.
3250 (info_threads_command): Use of make_cleanup_restore_current_thread
3251 to restore the current thread and the selected frame.
3252 (restore_selected_frame): New function.
3253 (struct current_thread_cleanup): Add frame_id field.
3254 (do_restore_current_thread_cleanup): Add restoring of the selected
3255 frame.
3256 (make_cleanup_restore_current_thread): Likewise.
3257 (thread_apply_all_command): backup the selected frame while
3258 entering the function and restore it at exit.
3259 (thread_apply_command): Likewise.
3260
d3c598de
DP
32612007-02-02 Denis Pilat <denis.pilat@st.com>
3262
3263 * MAINTAINERS (Write After Approval): Add myself to the list.
3264
b69733ab 32652007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3e41d55f
KI
3266
3267 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
3268 (m32r_store_register): Ditto.
3269
b69733ab 32702007-01-30 Vladimir Prus <vladimir@codesourcery.com>
ef7723eb
VP
3271
3272 * ser-mingw.c (pipe_windows_open)
3273 (pipe_windows_read, pipe_windows_write): Declare
3274 variables at the top of the function.
3275
8da61cc4
DJ
32762007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3277
3278 * doublest.c (floatformat_from_length): Use the right element from
3279 gdbarch floatformats.
3280 (floatformat_from_type, extract_typed_floating)
3281 (store_typed_floating): Likewise.
3282 * doublest.h: Remove declarations for undefined floatformat arrays.
3283 * gdbarch.sh (float_format, double_format, long_double_format): Change
3284 to pairs.
3285 (pformat): Update for pairs.
3286 * gdbarch.c, gdbarch.h: Regenerated.
3287 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
3288 (floatformats_ieee_double_littlebyte_bigword)
3289 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
3290 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
3291 (floatformats_vax_d): New variables.
3292 (builtin_type_ieee_single, builtin_type_ieee_double)
3293 (builtin_type_arm_ext, builtin_type_ia64_spill)
3294 (builtin_type_ia64_quad): Replace arrays with individual types.
3295 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
3296 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
3297 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
3298 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
3299 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
3300 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
3301 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
3302 unused and endian-specific types.
3303 (recursive_dump_type): Update for floatformat pairs.
3304 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
3305 (build_gdbtypes): Use build_flt.
3306 (_initialize_gdbtypes): Update set of initialized types.
3307 * gdbtypes.h: Update declarations to match gdbtypes.c.
3308 (struct main_type): Store a pointer to two floatformats.
3309 * arch-utils.c (default_float_format, default_double_format): Delete.
3310 * arch-utils.h (default_float_format, default_double_format): Delete.
3311
3312 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
3313 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
3314 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
3315 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
3316 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
3317
87680a14
JB
33182007-01-29 Joel Brobecker <brobecker@adacore.com>
3319
3320 * target.c (maintenance_print_target_stack): New function.
3321 (initialize_targets): Add new "maintenance print target-stack"
3322 command.
3323
1c3d648d
MK
33242007-01-28 Mark Kettenis <kettenis@gnu.org>
3325
3326 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
3327
607269ae
DJ
33282007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
3329
3330 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
3331 (struct dwarf2_loclist_baton): Likewise.
3332
40c03ae8
EZ
33332007-01-27 Eli Zaretskii <eliz@gnu.org>
3334
3335 * cli/cli-script.c: Include breakpoint.h.
3336 (build_command_line): Require arguments only for if and while
3337 commands.
3338 (get_command_line, execute_user_command, execute_control_command):
3339 Fix wording of warning messages.
3340 (print_command_lines): Print breakpoint commands.
3341 (execute_control_command): Call commands_from_control_command to
3342 handle the `commands' command inside a body of a flow-control
3343 command.
3344 (read_next_line): Recognize the `commands' command and build a
3345 command line structure for it.
3346 (recurse_read_control_structure, read_command_lines): Handle
3347 `commands' similarly to `if' and `while'.
3348
3349 * breakpoint.c (get_number_trailer): Document the special meaning
3350 of NULL as the first argument PP.
3351 (commands_from_control_command): New function.
3352
3353 * breakpoint.h (commands_from_control_command): Add prototype.
3354
3355 * defs.h (commands_control): New enumerated value for enum
3356 command_control_type.
3357
4b9eee8c
JB
33582007-01-26 Joel Brobecker <brobecker@adacore.com>
3359
3360 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
3361 (ada_exception_sal): Update accordingly.
3362
e1f48ead
JK
33632007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3364
3365 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
3366 * NEWS: Describe CHAR array vs. string identifcation rules.
3367
e150acc7
PB
33682007-01-25 Paul Brook <paul@codesourcery.com>
3369
3370 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
3371
10fb19b6
JB
33722007-01-24 Jim Blandy <jimb@codesourcery.com>
3373
3374 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
3375 expression is empty, bother to return the 'optimized out' value we
3376 construct. (Thanks to Carl Burch.)
3377
85d93f1d
VP
33782007-01-24 Vladimir Prus <vladimir@codesourcery.com>
3379
3380 * varobj.c (c_value_of_root, c_value_of_child)
3381 (cplus_describe_child): Don't call release_value.
3382
fcbd8a5c
TS
33832007-01-24 Thiemo Seufer <ths@mips.com>
3384
3385 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
3386 initialization.
3387
2024f65a
VP
33882007-01-24 Vladimir Prus <vladimir@codesourcery.com>
3389
3390 Refactor getting children name, value and type access
3391 for varobjs in C++.
3392 * varobj.c (get_type_deref): Remove.
3393 (adjust_value_for_child_access): New.
3394 (c_number_of_children): Use the above.
3395 (c_describe_child): Likewise.
3396 (enum accessibility): New.
3397 (match_accessibility): New function.
3398 (cplus_describe_child): New function.
3399 (cplus_name_of_child, cplus_value_of_child)
3400 (cplus_type_of_child): Reimplement in terms
3401 of cplus_describe_child.
3402 (cplus_number_of_children): Use
3403 adjust_value_for_child_access.
3404
6e2a9270
VP
34052007-01-24 Vladimir Prus <vladimir@codesourcery.com>
3406
3407 Fix computation of the 'editable' attribute and
3408 value changeability for for references.
3409 * varobj.c (get_value_type): New function.
3410 (c_variable_editable): Use get_value_type.
3411 (varobj_value_is_changeable): Likewise.
3412
56163ce1
JB
34132007-01-24 Joel Brobecker <brobecker@adacore.com>
3414
3415 * source.c (find_and_open_source): Try rewriting the source
3416 path inside filename if dirname is NULL.
3417
8c6860bb
JB
34182007-01-24 Joel Brobecker <brobecker@adacore.com>
3419
3420 * dwarf2read.c (add_partial_symbol): Create an extra partial
3421 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
3422 (new_symbol): Likewise for symbols.
3423
6db6d2ca
NR
34242007-01-24 Nick Roberts <nickrob@snap.net.nz>
3425
3426 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
3427
7d85ee02
VP
34282007-01-23 Vladimir Prus <vladimir@codesourcery.com>
3429
3430 * value.c (value_primitive_field): Copy the full 'location'
3431 contents, instead of assuming that copying ADDRESS will
3432 bring over everything in the union. Remove obsolete comment.
3433
f79b9530
DJ
34342007-01-23 Masaki Muranaka <monaka@monami-software.com>
3435
3436 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
3437 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
3438 (m32c_m16c_pointer_to_address): Separate code from declarations.
3439
08d8bcd7
DJ
34402007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
3441
3442 * target.c (update_current_target): Correct typo.
3443
57fdbbbe
CV
34442007-01-22 Masaki Muranaka <monaka@monami-software.com>
3445
3446 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
3447 declaration.
3448
58894217
JK
34492007-01-11 Andrew Cagney <cagney@redhat.com>
3450 Daniel Jacobowitz <dan@codesourcery.com>
3451 Jan Kratochvil <jan.kratochvil@redhat.com>
3452
3453 * dwarf2-frame.c (execute_cfa_program): New support of
3454 `DW_CFA_GNU_negative_offset_extended'.
3455
9ebce043
DJ
34562007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3457
3458 * NEWS: Mention flash support for "load" and new remote packets.
3459
973d738b
DJ
34602007-01-21 Markus Deuling <deuling@de.ibm.com>
3461
3462 * breakpoint.c (delete_command): Skip redundant loop iterations.
3463
7b9ee6a8
DJ
34642007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3465
3466 * gdbarch.sh (register_type): Update comment.
3467 * gdbarch.h: Regenerated.
3468 * arch-utils.c (generic_register_size): Call register_type.
3469 * ia64-tdep.c (ia64_extract_return_value): Likewise.
3470 * m32c-tdep.c (check_for_saved): Likewise.
3471 * mips-tdep.c (mips_print_register, print_gp_register_row)
3472 (mips_print_registers_info): Likewise.
3473 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
3474 Likewise.
3475 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
3476 (sh64_do_register, sh64_print_register)
3477 (sh64_media_print_registers_info): Likewise.
3478 * tui/tui-regs.c (tui_register_format): Likewise.
3479
11309657
DJ
34802007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3481
3482 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
3483
3484 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
3485 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
3486 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
3487 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
3488 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
3489 (make_symbol_completion_list): Likewise.
3490
cb1df416
DJ
34912007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3492 Daniel Jacobowitz <dan@codesourcery.com>
3493
3494 * buildsym.c (end_symtab): Use preallocated symtab if available.
3495 Fill in SYMBOL_SYMTAB.
3496 * buildsym.h (struct subfile): Add symtab member.
3497 * dwarf2read.c (struct dwarf2_cu): Add line_header.
3498 (struct file_entry): Add symtab.
3499 (free_cu_line_header): New function.
3500 (read_file_scope): Use it. Save line_header in the cu. Process
3501 lines before DIEs.
3502 (add_file_name): Initialize new symtab member.
3503 (dwarf_decode_lines): Create symtabs for included files.
3504 (new_symbol): Set SYMBOL_SYMTAB.
3505 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
3506 (search_symbols): Likewise.
3507 * symtab.h (struct symbol): Add symtab member.
3508 (SYMBOL_SYMTAB): Define.
3509
727da900
DJ
35102007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
3511
3512 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
3513
7b6b9e83
DJ
35142007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
3515
3516 * arch-utils.c (show_endian): Correct reversed condition.
3517
e767400c
JK
35182007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3519
3520 * MAINTAINERS (Write After Approval): Add myself.
3521
b20d8971
VP
35222007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
3523 Vladimir Prus <vladimir@codesourcery.com>
3524
3525 Fix 'selected frame' varobjs.
3526 * varobj.c (struct varobj): Remove the error field.
3527 (varobj_set_value): Don't check var->error.
3528 (install_new_value): Don't set var->error.
3529 (varobj_update): Always pass the new value
3530 of the root via install_new_value.
3531 (create_child): Don't set error field.
3532 (new_variable): Likewise.
3533 (c_value_of_root): Always reevaluate the value
3534 of selected frame varobjs in the selected frame.
3535 Don't call reinit_frame_cache.
3536
7ef2b397
JB
35372007-01-15 Joel Brobecker <brobecker@adacore.com>
3538
3539 * source.c (_initialize_source): Improve the help text of
3540 the substitute-path commands.
3541
1208538e
MK
35422007-01-14 Mark Kettenis <kettenis@gnu.org>
3543
3544 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
3545 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
3546 (frv_skip_prologue): Remove prototypes.
3547 (frv_adjust_breakpoint_address): Renamed from
3548 frv_gdbarch_adjust_breakpoint_address.
3549 (frv_gdbarch_init): Adjust.
3550
765f065a
MK
35512007-01-13 Mark Kettenis <kettenis@gnu.org>
3552
5e66aab2
MK
3553 * gdbarch.sh (deprecated_extract_return_value)
3554 (deprecated_store_return_value): Remove.
3555 (extract_return_value, store_return_value): Remove default values.
3556 * gdbarch.c, gdbarch.h: Regenerate.
3557 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
3558 (legacy_store_return_value): Remove.
3559 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
3560 Remove.
3561
56178203
MK
3562 * mi/mi-main.c: Remove obsolete comment.
3563
23303b2e
MK
3564 * regcache.c, regcache.h (deprecated_register_bytes)
3565 (deprecated_read_register_bytes)
3566 (deprecated_write_register_bytes): Remove.
3567
765f065a
MK
3568 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
3569 Don't forget to move destination pointer.
3570
610acfff
MK
35712007-01-01 Mark Kettenis <kettenis@gnu.org>
3572
3573 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
3574
12102450
UW
35752007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
3576
3577 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
3578 past entry function with recent newlib.
3579
c8b2f53c
VP
35802007-01-11 Vladimir Prus <vladimir@codesourcery.com>
3581
3582 * gdb.texinfo (GDB/MI Variable Objects): Improve the
3583 introduction. Specify -var-update more exactly.
3584
d57df5e4
DJ
35852007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
3586
3587 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
3588
03f597d5
JB
35892007-01-10 Jim Blandy <jimb@codesourcery.com>
3590
3591 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
3592 the Global Maintainers' invitation to be a global maintainer.
3593
fd48f117
DJ
35942007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
3595
3596 * infrun.c (singlestep_pc): New variable.
3597 (resume): Set singlestep_pc.
3598 (context_switch): Add a debugging message. Flush the frame cache.
3599 (handle_inferior_event): Add debugging messages. Handle thread
3600 hops when a software single step has completed. Let context_switch
3601 handle flushing the frame cache.
3602
23181151
DJ
36032007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3604
3605 * NEWS: Mention target descriptions, "set tdesc filename",
3606 "unset tdesc filename", "show tdesc filename", and
3607 qXfer:features:read.
3608 * arch-utils.c (choose_architecture_for_target): New function.
3609 (gdbarch_info_fill): Call it.
3610 * target-descriptions.c (struct property): Make members non-const.
3611 (struct target_desc): Add arch member.
3612 (target_description_filename): New variable.
3613 (target_find_description): Try via XML first.
3614 (tdesc_architecture): New.
3615 (free_target_description, make_cleanup_free_target_description): New.
3616 (set_tdesc_property): Call xstrdup.
3617 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
3618 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
3619 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
3620 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
3621 * target-descriptions.h (tdesc_architecture)
3622 (make_cleanup_free_target_description, set_tdesc_architecture): New
3623 prototypes.
3624 * Makefile.in (SFILES): Add xml-tdesc.c.
3625 (COMMON_OBS): Add xml-tdesc.o.
3626 (target-descriptions.o): Update.
3627 (xml-tdesc.o): New rule.
3628 * xml-tdesc.c, xml-tdesc.h: New files.
3629 * remote.c (PACKET_qXfer_features): New enum.
3630 (remote_protocol_features): Add qXfer:features:read.
3631 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
3632 (_initialize_remote): Register qXfer:features:read.
3633 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
3634 * features/gdb-target.dtd: New file.
3635
3e9cb5f4
DJ
36362007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3637
3638 * copyright.sh: Clarify error.
3639
818f79f6
DJ
36402007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * symtab.c (matching_bfd_sections): Fix VMA matching for
3643 prelinked objects.
3644
f7a6bb70
DJ
36452007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3646
3647 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
3648 nested symbols.
3649
20ac0504
DJ
36502007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3651
3652 Updated copyright notices for most files.
3653
85bb0718
DJ
36542007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3655
3656 * copyright.sh (prunes): Add step-line.inp and step-line.c.
3657
aa28a74e
DJ
36582007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3659
3660 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
3661 exec_prefix.
3662 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
3663 '${prefix}'.
3664 * configure, config.in: Regenerate.
3665 * defs.h (debug_file_directory): Declare.
3666 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
3667 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
3668 relocate it if DEBUGDIR_RELOCATABLE.
3669 * symfile.c (debug_file_directory): Make non-static.
3670 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
3671 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
3672 (_initialize_symfile): Don't initialize debug_file_directory here.
3673
1cfd2c3e
JB
36742007-01-09 Jim Blandy <jimb@codesourcery.com>
3675
3676 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
3677 statements.
3678
5efde112
DJ
36792007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3680
3681 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
3682 frame_unwind_register to recurse.
3683 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
3684 (alpha_heuristic_frame_prev_register): Likewise.
3685 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
3686 * m32c-tdep.c (m32c_prev_register): Likewise.
3687 * frame.c (frame_register_unwind_location): Remove FIXME.
3688
4de1f557
DJ
36892007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3690 Eli Zaretskii <eliz@gnu.org>
3691
3692 * copyright.sh: New file.
3693
ca4ca11e
DJ
36942007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
3695
3696 * configure.ac: Check for XML_StopParser.
3697 * xml-support.c (gdb_xml_body_text): Check for an error.
3698 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
3699 (gdb_xml_end_element_wrapper): Likewise.
3700 * config.in, configure: Regenerated.
3701
57e66780
DJ
37022007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3703
3704 * varobj.c (install_new_value): Always update print_value.
3705 (value_get_print_value): Immediately return NULL for missing
3706 values.
3707
b523a1fd
JB
37082007-01-08 Jim Blandy <jimb@codesourcery.com>
3709
3710 * configure.ac: Tighten pattern for extracting value of
3711 DEPRECATED_TM_FILE from the target makefile fragment.
3712 * configure: Regenerated.
3713
3d799a95
DJ
37142007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3715
3716 * linux-nat.c (struct simple_pid_list): Add status.
3717 (add_to_pid_list): Record the PID's status.
3718 (linux_record_stopped_pid): Likewise. Make static.
3719 (pull_pid_from_list): Return the saved status.
3720 (linux_nat_handle_extended): Deleted.
3721 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
3722 Make static. Handle non-SIGSTOP for a new thread's first signal.
3723 (flush_callback): Handle unexpected pending signals.
3724 (linux_nat_wait): Update calls to changed functions.
3725 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
3726 Remove prototypes for newly static functions.
3727
9acbedc0
UW
37282007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
3729
3730 * gdbarch.sh (value_from_register): New gdbarch function.
3731 * gdbarch.c, gdbarch.h: Regenerate.
3732 * findvar.c (default_value_from_register): New function.
3733 (value_from_register): Use gdbarch_value_from_register.
3734 * value.h (default_value_from_register): Declare.
3735 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
3736 spu_value_to_register): Remove.
3737 (spu_value_from_register): New function.
3738 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
3739 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
3740 Call set_gdbarch_value_from_register.
3741 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
3742 s390_value_to_register): Remove.
3743 (s390_value_from_register): New function.
3744 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
3745 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
3746 Call set_gdbarch_value_from_register.
3747
f822c95b
DJ
37482007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3749
3750 * NEWS: Add "set sysroot" and "show sysroot".
3751 * solib.c (solib_absolute_prefix): Delete. Replace
3752 all uses with gdb_sysroot.
3753 (_initialize_solib): Add "set sysroot" and "show sysroot".
3754 Make "solib-absolute-prefix" an alias to it.
3755
00fa51f6
UW
37562007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
3757
3758 * frame.c (get_frame_register_bytes): New function.
3759 (put_frame_register_bytes): Likewise.
3760 * frame.h (get_frame_register_bytes): Declare.
3761 (put_frame_register_bytes): Likewise.
3762 * findvar.c (value_from_register): Always construct lval_register
3763 values. Use get_frame_register_bytes.
3764 * valops.c (value_assign): Use get_frame_register_bytes and
3765 put_frame_register_bytes.
3766
a95c9d06
JB
37672007-01-08 Jim Blandy <jimb@codesourcery.com>
3768
3769 * MAINTAINERS: Update Stan Shebs' email address.
3770
4ed6b5be
JB
37712007-01-07 Joel Brobecker <brobecker@adacore.com>
3772
3773 * ada-lang.c (is_known_support_routine): Improve the implementation.
3774
9bbc9174
JB
37752007-01-06 Joel Brobecker <brobecker@adacore.com>
3776
3777 * ada-lang.c: Add include of source.h.
3778 (is_known_support_routine): Improve the check verifying that the file
3779 associated to this frame exists.
3780 * Makefile.in (ada-lang.o): Add dependency on source.h.
3781
44a81774
JB
37822007-01-07 Jim Blandy <jimb@codesourcery.com>
3783
3784 * ax-general.c (ax_const_l): Select proper opcode for the given
3785 value.
3786
fcd19eb1 37872007-01-05 Vladimir Prus <vladimir@codesourcery.com>
6fe1a487
NR
3788
3789 * varobj.c (c_value_of_root): Don't select frame if variable
3790 object is out of scope.
3791
fcd19eb1 37922007-01-05 Nick Roberts <nickrob@snap.net.nz>
3fa6deb5
NR
3793
3794 * varobj.c (struct varobj): New member print_value.
3795 (install_new_value): Compare last printed value with current one
3796 instead of contents.
3797 (new_variable): Initialize var->print_value to NULL.
3798 (free_variable): Free var->print_value.
3799 (value_get_print_value): New function derived from
3800 c_value_of_variable.
3801 (c_value_of_variable): Use value_get_print_value.
3802
92a56b20
JB
38032007-01-05 Joel Brobecker <brobecker@adacore.com>
3804
3805 * i386-tdep.c (i386_analyze_stack_align): Add comment.
3806
0e420bd8
JB
38072007-01-05 Joel Brobecker <brobecker@adacore.com>
3808
3809 * NEWS: Add entries for new catch commands.
3810
b69733ab 38112007-01-05 Joel Brobecker <brobecker@adacore.com>
fa4028e9
JB
3812
3813 * dwarf2read.c (partial_die_info): Add field has_byte_size.
3814 (add_partial_symbol): Correct identification of external references.
3815 (process_structure_scope): Likewise.
3816 (read_partial_die): Handle DW_AT_byte_size attribute.
3817
38182007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
d097fa3e
DJ
3819
3820 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
3821
8e38af42
NR
38222007-01-05 Nick Roberts <nickrob@snap.net.nz>
3823
3824 * varobj.c (get_type_deref): Fix variable objects for references to
3825 pointers.
3826
d1c79ecd
DJ
38272007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3828
3829 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
3830 with no symbols.
3831
e776119f
DJ
38322007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3833
3834 * memory-map.c (struct_memory_map_parsing_data): Remove most
3835 members. Make property_name an array.
3836 (free_memory_map_parsing_data, memory_map_start_element)
3837 (memory_map_end_element, memory_map_character_data): Delete.
3838 (memory_map_start_memory, memory_map_end_memory)
3839 (memory_map_start_property, memory_map_end_property): New functions.
3840 (property_attributes, memory_children, memory_type_enum)
3841 (memory_attributes, memory_map_children, memory_map_elements): New.
3842 (parse_memory_map): Rewrite.
3843 * xml-support.c (debug_xml): New.
3844 (xml_get_required_attribute, xml_get_integer_attribute)
3845 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
3846 Delete.
3847 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
3848 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
3849 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
3850 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
3851 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
3852 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
3853 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
3854 New.
3855 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
3856 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
3857 (enum gdb_xml_element_flag, struct gdb_xml_element)
3858 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
3859 (struct gdb_xml_enum): New.
3860 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
3861 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
3862 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
3863 (xml_get_required_attribute, xml_get_integer_attribute)
3864 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
3865 * Makefile.in (xml_support_h, xml-support.o): Update.
3866
5e572bb4
DJ
38672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3868
3869 * Makefile.in (eval.o): Update dependencies.
3870 * eval.c: Include "ui-out.h" and "exceptions.h".
3871 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
3872 Use value_zero if an error occurs when avoiding side effects.
3873 * varobj.c (c_value_of_root): Initialize new_val.
3874
74a44383
DJ
38752007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3876
3877 * varobj.c (varobj_list_children): Stop if the number of children is
3878 unknown.
3879 (c_number_of_children):
3880
e8d2d628
MK
38812007-01-04 Mark Kettenis <kettenis@gnu.org>
3882
3883 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
3884 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
3885 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
3886 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
3887 sizeof, instead of hardcoded constants.
3888
c941839d
DJ
38892007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3890
3891 * CONTRIBUTE: Use sourceware.org.
3892
303b6f5d 38932007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2d0720d9 3894
303b6f5d
DJ
3895 * buildsym.c (start_subfile): Handle producer.
3896 (record_producer): New function.
3897 * buildsym.h (struct subfile): Include producer.
3898 (record_producer): New prototype.
3899 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
3900 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
3901 armcc_cfa_offsets_reversed.
3902 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
3903 (dwarf2_frame_find_quirks): New function.
3904 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
3905 (decode_frame_entry_1): Record the CIE version. Record the
3906 augmentation. Skip armcc augmentations.
3907 * dwarf2read.c (read_file_scope): Save the producer.
3908 * symtab.h (struct symtab): Rename unused version member to
3909 producer.
2d0720d9 3910
aa79a185
DJ
39112007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3912
3913 * configure.ac (build_warnings): Use -Wall and
3914 -Wdeclaration-after-statement.
3915 * configure: Regenerated.
3916
bbec2603
VP
39172007-01-04 Vladimir Prus <vladimir@codesourcery.com>
3918
3919 Simplify access to variours properties of child
3920 variable objects in C.
3921 * varobj.c (value_struct_element_index): New function.
3922 (c_describe_child): New function.
3923 (c_name_of_child, c_value_of_child)
3924 (c_type_of_child): Rewrite to use c_describe_child.
3925
28335dcc
VP
39262007-01-04 Vladimir Prus <vladimir@codesourcery.com>
3927
3928 gdb/
3929 * varobj.c: Include "vec.h".
3930 (varobj_p): New typedef, declare vector of those.
3931 (struct varobj): Use vector for the 'children' member.
3932 (child_exists): Remove.
3933 (save_child_in_parent): Remove.
3934 (remove_child_from_parent): Remove.
3935 (struct varobj_child): Remove.
3936 (struct vstack): Remove.
3937 (vpush, vpop): Remove.
3938 (varobj_list_children): Adjust to work work vector.
3939 (varobj_update): Likewise. Use vectors for
3940 working stack and result.
3941 (delete_variable_1): Likewise.
3942 * Makefile.in (varobj.o): Update dependencies.
3943
b2c2bd75
VP
39442007-01-04 Vladimir Prus <vladimir@codesourcery.com>
3945
3946 Port from Apple's version.
3947 gdb/
3948 * varobj.c (type_changeable): Rename to...
3949 (varobj_value_is_changeable_p): ...this. Adjust all callers.
3950 (is_root_p): New function. Use it everywhere.
3951
bdfb3870
JB
39522007-01-04 Jim Blandy <jimb@codesourcery.com>
3953
3954 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
3955 then plain 'fixup'.
3956
5d15052e
JB
39572007-01-04 Joel Brobecker <brobecker@adacore.com>
3958
3959 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
3960
53103997
JB
39612007-01-04 Joel Brobecker <brobecker@adacore.com>
3962
3963 * hpread.c (hpread_type_lookup): Fix compilation failure.
3964
27fd2f50
Q
39652007-01-04 Qinwei <qinwei@sunnorth.com.cn>
3966
3967 * NEWS: New port to S+core.
3968 * MAINTAINERS (Write After Approval, Responsible Maintainers):
3969 Add myself.
3970
3971 * Makefile.in: Add dependencies for S+core files.
3972 * configure.tgt (score*, score-*-*): Add S+core target.
3973 * config/score/embed.mt: New file.
3974 * score-tdep.c: New file.
3975 * score-tdep.h: New file.
3976
a6cfbe68
JB
39772007-01-04 Joel Brobecker <brobecker@adacore.com>
3978
3979 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
3980 the appropriate type rather than a bogus void type.
3981
67cf15b7 39822007-01-04 Joel Brobecker <brobecker@adacore.com>
f7f9143b
JB
3983
3984 * ada-lang.h (ada_find_printable_frame): Remove.
3985 (ada_exception_catchpoint_p, ada_decode_exception_location)
3986 (ada_decode_assert_location): Add declaration.
3987 * ada-lang.c: Add include of annotate.h and valprint.h.
3988 (exception_catchpoint_kind): New enum.
3989 (function_name_from_pc, is_known_support_routine)
3990 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
3991 (ada_exception_name_addr_1, ada_exception_name_addr)
3992 (print_it_exception, print_one_exception, print_mention_exception)
3993 (print_it_catch_exception, print_one_catch_exception)
3994 (print_mention_catch_exception, catch_exception_breakpoint_ops)
3995 (print_it_catch_exception_unhandled)
3996 (print_one_catch_exception_unhandled)
3997 (print_mention_catch_exception_unhandled, print_it_catch_assert)
3998 (print_one_catch_assert, print_mention_catch_assert)
3999 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
4000 (ada_get_next_arg, catch_ada_exception_command_split)
4001 (ada_exception_sym_name, ada_exception_sym_name)
4002 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
4003 (ada_parse_catchpoint_condition, ada_exception_sal)
4004 (ada_decode_exception_location)
4005 (ada_decode_assert_location): New function.
4006 (catch_exception_unhandled_breakpoint_ops): New global variable.
4007 (catch_assert_breakpoint_ops): New global variable.
4008 * breakpoint.c: Add include of ada-lang.h.
4009 (print_one_breakpoint): Do not print the condition for Ada
4010 exception catchpoints.
4011 (create_ada_exception_breakpoint): New function.
4012 (catch_ada_exception_command, catch_assert_command): New function.
4013 (catch_command_1): Add support for the new "catch exception" and
4014 "catch assert" commands.
4015 (_initialize_breakpoint): Add help description for the new catch
4016 commands.
4017 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
4018 valprint.h.
4019 (breakpoint.o): Add dependency on ada-lang.h.
4020
05cfdb42
DJ
40212007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
4022
4023 * coffread.c (cs_to_section): If bfd_section is found, always
4024 return its section index.
4025 (coff_symtab_read): Determine the minimal_symbol_type using the
4026 bfd_section flags.
4027
2e03ee74
DJ
40282007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4029 Daniel Jacobowitz <dan@codesourcery.com>
4030
4031 * Makefile.in (top.o): Update.
4032 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
4033 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
4034 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
4035 New.
4036 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
4037
1c63d086
MK
40382007-01-03 Mark Kettenis <kettenis@gnu.org>
4039
4040 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
4041 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
4042
d5d6fca5
DJ
40432007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4044
4045 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
4046 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
4047 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
4048 greater than or equal to zero.
4049 * m2-typeprint.c (m2_array): Likewise.
4050 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
4051 * gdbtypes.c (copy_type_recursive): Correct == typo.
4052 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
4053 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
4054 greater than zero.
4055 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
4056 (default_macro_scope): Remove unused variable.
4057 * prologue-value.h (pv_area_find_reg): Don't name an argument
4058 "register".
4059 * remote-fileio.c (remote_fio_func_map): Add missing braces.
4060 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
4061 type.
4062 (cleanup_sigint_signal_handler): Remove casts.
4063 * valprint.c (val_print): Use a volatile local for the modified
4064 argument.
4065 * varobj.c (languages): Remove extra array dimension.
4066 (varobj_create): Correct access to languages array.
4067 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
4068 missing braces.
4069 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
4070 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
4071 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
4072 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
4073 (mi_cmd_data_write_memory): Likewise.
4074 * signals/signals.c (target_signal_to_string): Cast to int before
4075 comparing.
4076 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
4077 Update all callers.
4078
0d5de010
DJ
40792007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4080
4081 * NEWS: Mention pointer to member improvements.
4082 * Makefile.in (gnu-v3-abi.o): Delete special rule.
4083 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
4084 * ada-valprint.c (ada_print_scalar): Update for new type codes.
4085 * c-typeprint.c (c_print_type): Update for new type codes.
4086 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
4087 (c_type_print_base): Likewise.
4088 (c_type_print_args): Rewrite.
4089 * c-valprint.c (c_val_print): Update for new type codes. Remove
4090 support for references to members. Treat methods like functions.
4091 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
4092 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
4093 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
4094 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
4095 (struct cp_abi_ops): Add corresponding members.
4096 * cp-valprint.c (cp_print_class_method): Delete.
4097 (cp_find_class_member): New function.
4098 (cp_print_class_member): Use it. Simplify support for bogus
4099 member pointers.
4100 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
4101 lookup_methodptr_type.
4102 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
4103 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
4104 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
4105 pointer support.
4106 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
4107 references returned by user defined operators.
4108 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
4109 (f_type_print_varspec_suffix): Remove support for member pointers.
4110 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
4111 and adjusted.
4112 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
4113 (lookup_methodptr_type): New.
4114 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
4115 (recursive_dump_type): Update for new types.
4116 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
4117 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
4118 (lookup_memberptr_type, lookup_methodptr_type)
4119 (smash_to_memberptr_type): New prototypes.
4120 (smash_to_method_type): Formatting fix.
4121 (lookup_member_type, smash_to_member_type): Delete prototypes.
4122 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
4123 Do not rely on debug information for the vptr or the method's
4124 enclosing type. Handle function descriptors for IA64.
4125 (gnuv3_virtual_fn_field): Rewrite using the new functions.
4126 (gnuv3_find_method_in, gnuv3_print_method_ptr)
4127 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
4128 (gnuv3_method_ptr_to_value): New.
4129 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
4130 * hpread.c (hpread_type_lookup): Update for new types.
4131 * infcall.c (value_arg_coerce): Likewise.
4132 * m2-typeprint.c (m2_print_type): Remove explicit support
4133 for member pointers.
4134 * m2-valprint.c (m2_val_print): Likewise.
4135 * p-typeprint.c (pascal_type_print_varspec_prefix)
4136 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
4137 * p-valprint.c (pascal_val_print): Likewise.
4138 (pascal_object_print_class_method, pascal_object_print_class_member):
4139 Delete.
4140 * p-lang.h (pascal_object_print_class_method)
4141 (pascal_object_print_class_member): Delete prototypes.
4142 * stabsread.c (read_type): Update for new types.
4143 * typeprint.c (print_type_scalar): Likewise.
4144 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
4145 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
4146 argument. Construct a pointer to member if the address of a
4147 function or data member is requested.
4148 (value_cast_pointers): Don't modify the input value.
4149 (value_cast): Adjust pointer to member handling for new types.
4150 Allow null pointer to member constants. Don't modify the input
4151 value.
4152 (value_ind): Remove pointer to member check. Handle function
4153 descriptors for function pointers.
4154 (value_struct_elt, value_find_oload_method_list, check_field):
4155 Remove pointer to member checks.
4156 * value.c (unpack_long): Allow pointers to data members.
4157 (value_from_longest): Allow member pointers.
4158 * value.h (value_aggregate_elt): Add want_address.
4159 * varobj.c (c_variable_editable): Remove check for members.
4160 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
4161 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
4162 in virtual tables.
4163 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
4164 * c-lang.h (cp_print_class_method): Delete prototype.
4165 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
4166 * mips-tdep.c (mips_gdbarch_init): Likewise.
4167 * gdbarch.c, gdbarch.h: Regenerated.
4168
d217aaed
MK
41692007-01-01 Mark Kettenis <kettenis@gnu.org>
4170
4171 * rs6000-tdep.c (rs6000_use_struct_convention)
4172 (rs6000_extract_return_value, rs6000_store_return_value)
4173 (rs6000_extract_struct_value_address): Remove.
4174 (rs6000_return_value): New function.
4175 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
4176 store_return_value, deprecated_extract_struct_value_address and
4177 deprecated_use_struct_convention. Use rs6000_return_value
4178 instead.
4179
02296b29
NR
41802007-01-02 Nick Roberts <nickrob@snap.net.nz>
4181
4182 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
4183 -display-disable, -display-enable, -display-insert and
4184 -display-list.
4185
b69733ab 41862007-01-01 Joel Brobecker <brobecker@adacore.com>
ce186b30
JB
4187
4188 * breakpoint.c (remove_breakpoint): Remove dead code.
4189
41902007-01-01 Nick Roberts <nickrob@snap.net.nz>
ab9245ed
NR
4191
4192 * varobj.c: Include block.h.
4193 (c_value_of_root): Check scope within nested statements.
4194
9f3a1602
MK
41952007-01-01 Mark Kettenis <kettenis@gnu.org>
4196
4197 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
4198 regcache_cooked_write_signed instead of
4199 deprecated_write_register_bytes.
4200
12349ccd
JB
42012007-01-01 Joel Brobecker <brobecker@adacore.com>
4202
4203 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
4204
8c48ebcf
JB
42052007-01-01 Joel Brobecker <brobecker@adacore.com>
4206
4207 Followed the Start of New Year Procedure:
4208 * ChangeLog-2006: New file, containing all the entries for 2006.
4209 * ChangeLog: Removed all 2006 entries, and changed the reference
4210 to the previous ChangeLog to point to ChangeLog 2006.
4211 * top.c (print_gdb_version): Update copyright year.
4212
154927ff
MK
42132007-01-01 Mark Kettenis <kettenis@gnu.org>
4214
4215 * Makefile.in (remote-sds.o): Remove.
4216 * remote-sds.c: Delete.
4217
8c48ebcf 4218For older changes see ChangeLog-2006.
c906108c
SS
4219\f
4220Local Variables:
4221mode: change-log
4222left-margin: 8
4223fill-column: 74
4224version-control: never
4225End:
This page took 1.203816 seconds and 4 git commands to generate.