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