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