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