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