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