]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
* i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
4 Add REGCACHE parameter. Use it instead of current_regcache.
5 (i386nto_supply_regset): Add REGCACHE parameter, pass it to
6 i386nto_supply_gregset and i386nto_supply_fpregset.
7 (i386nto_regset_fill): Add REGCACHE parameter; use it instead
8 of current_regcache.
9
10 * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
11 nto_supply_ helper functions.
12 (procfs_store_registers): Pass current_regcache to nto_regset_fill.
13
14 * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
15
16 * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
17 supply_greget, supply_fpregset, supply_altregset, supply_regset,
18 and regset_fill member function pointers.
19 (nto_dummy_supply_regset): Adapt prototype.
20
21 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
22
23 * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
24 instead of current_regcache. Make REGS const.
25 (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
26 * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
27 prototypes.
28 * shnbsd-nat.c: Include "regcache.h".
29 (shnbsd_fetch_inferior_registers): Pass current_regcache to
30 shnbsd_supply_reg.
31 (shnbsd_store_inferior_registers): Pass current_regcache to
32 shnbsd_fill_reg.
33 * Makefile.in (shbsd-nat.o): Update dependencies.
34
35 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
36
37 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
38 instead of current_regcache.
39 (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
40 Make GREGSETP const, remove superfluous casts.
41 (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
42 (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
43 superfluous casts.
44 (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
45 (supply_64bit_reg): Likewise
46 (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
47 Make GREGSETP const, adapt casts accordingly.
48 (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
49 (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
50 casts accordingly.
51 (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
52 (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
53 helper routines.
54 * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
55 mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
56 mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
57 Adapt prototypes.
58 * mips-linux-nat.c: Include "regcache.h".
59 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
60 current_regcache to mips{64}_(supply|fill)_ helper routines.
61 (mips64_linux_regsets_fetch_registers): Likewise.
62 (mips64_linux_regsets_store_registers): Likewise.
63
64 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
65 REGCACHE argument; replace current_regcache. Make REGS const.
66 (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
67 replace current_regcache.
68 * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
69 mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
70 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
71 mipsnbsd_store_inferior_registers): Pass current_regcache to
72 mipsnbsd_(supply|fill)_... helper routines.
73
74 * Makefile.in (mips-linux-nat.o): Update dependencies.
75
76 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
77
78 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
79 * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
80 * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
81 i387_fill_fsave and i387_fill_fxsave calls by inline copies.
82 * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
83 * i386gnu-nat.c (store_fpregs): Likewise.
84 * i386v4-nat.c (fill_fpregset): Likewise.
85 * go32-nat.c (store_register, go32_store_registers): Likewise.
86
87 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
88
89 * cris-tdep.c (supply_gregset): Rename to ...
90 (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
91 instead of current_regcache.
92 (fetch_core_registers): Update call. Pass current_regcache.
93
94 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
95
96 * arnmnbsd-nat.c (supply_gregset): Rename to ...
97 (arm_supply_gregset): ... this. Add REGCACHE parameter.
98 Use it instead of current_regcache.
99 (supply_fparegset): Rename to ...
100 (arm_supply_fparegset): ... this. Add REGCACHE parameter.
101 Use it instead of current_regcache.
102 (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
103 (fetch_core_registers, fetch_elfcore_registers): Likewise.
104
105 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
106
107 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
108 alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
109 use it instead of current_regcache.
110 * alpha-tdep.h (struct regcache): Add forward declaration.
111 (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
112 alpha_fill_fp_regs): Update prototypes.
113
114 * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
115 fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
116 * alpha-linux-nat.c: Include "regcache.h".
117 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
118 current_regcache to alpha_supply/fill_ routines.
119
120 * alphabsd-tdep.c: Include "regcache.h".
121 (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
122 pass it to alpha_supply_ routines. Make REGS const.
123 (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
124 pass it to alpha_fill_ routines.
125 * alphabsd-tdep.h (struct regcache): Add forward declaration.
126 (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
127 alphabsd_fill_fpreg): Update prototypes.
128
129 * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
130 fill_fpregset, alphabsd_fetch_inferior_registers,
131 alphabsd_store_inferior_registers): Pass current_regcache to
132 alphabsd_supply/fill_ routines.
133
134 * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
135 dependencies.
136
137 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
138
139 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
140 supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
141 instead of current_regcache.
142 (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
143 REGCACHE parameter, pass it to supply_ routines.
144 (aix_thread_fetch_registers): Pass current_regcache to
145 fetch_regs_user_thread and fetch_regs_kernel_thread.
146
147 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
148 Add REGCACHE parameter, use it instead of current_regcache.
149 Call regcache_valid_p instead of register_cached.
150 (store_regs_user_thread, store_regs_kernel_thread): Likewise.
151 Also, pass REGCACHE to fill_ routines.
152 (aix_thread_store_registers): Pass current_regcache to
153 store_regs_user_thread and store_regs_kernel_thread.
154
155 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
156
157 * m32r-linux-nat.c (supply_gregset): Do not modify contents
158 pointed to by GREGSETP.
159
160 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
161
162 * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
163 of regcache_raw_read_signed.
164 (fill_fpregset): Use regcache_raw_collect instead of
165 regcache_raw_read.
166
167 2007-05-03 Kevin Buettner <kevinb@redhat.com>
168
169 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
170 point arguments, test explicitly for use of the EABI32 ABI
171 instead of inferring this condition from tests on register
172 sizes.
173
174 2007-05-03 Kevin Buettner <kevinb@redhat.com>
175
176 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
177 prior to allocating its location.
178
179 2007-05-02 Maciej W. Rozycki <macro@mips.com>
180
181 * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
182 based on mips_abi_regsize() whose result is known in advance.
183 (mips_o64_push_dummy_call): Likewise.
184
185 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
186
187 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
188 * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
189
190 * mips-linux-nat.c: Include "gregset.h".
191 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
192 from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
193 * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
194 fill_fpregset): Move to mips-linux-nat.c.
195
196 * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
197
198 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
199
200 * regcache.c (deprecated_read_register_gen): Remove, inline ...
201 (read_register): ... here.
202 (deprecated_write_register_gen): Remove, inline ...
203 (write_register): ... here.
204 * regcache.h (deprecated_read_register_gen): Remove prototype.
205 (deprecated_write_register_gen): Likewise.
206
207 * remote-sim.c (gdbsim_store_register): Replace call to
208 deprecated_read_register_gen with regcache_cooked_read.
209 * target.c (debug_print_register): Replace calls to
210 deprecated_read_register_gen and read_register with
211 regcache_cooked_read.
212
213 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
214
215 * hpux-thread.c (hpux_thread_store_registers): Use
216 regcache_raw_collect, not regcache_raw_read.
217 * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
218 not regcache_raw_write.
219
220 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
221
222 * gdbarch.sh: Remove deprecated_register_byte.
223 * gdbarch.c, gdbarch.h: Regenerate.
224 * arch-utils.h (generic_register_size, generic_register_byte): Remove.
225 * arch-utils.c (generic_register_size, generic_register_byte): Remove.
226
227 * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
228 * regcache.c (regcache_valid_p): Allow to query cooked registers in
229 read-only register caches. Make REGCACHE parameter const.
230 (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
231
232 * mi/mi-main.c (old_regs): Remove.
233 (mi_setup_architecture_data, _initialize_mi_main): Remove.
234 (register_changed_p): Reimplement to compare two register caches.
235 (mi_cmd_data_list_changed_registers): Update caller.
236 * mi/mi-main.h (mi_setup_architecture_data): Remove.
237 * mi/mi-interp.c (mi_interpreter_init): Do not call
238 mi_setup_architecture_data.
239
240 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
241
242 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
243 inline definition at the places the macros are used.
244 * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
245
246 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
247
248 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
249 "gdb_string.h".
250 (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
251 (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
252 (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
253 (rs6000_aix_regset_from_core_section): New function.
254 (rs6000_aix_init_osabi): Register it.
255 (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
256 sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
257 * rs6000-nat.c (CoreRegs): Do not define type.
258 (fetch_core_registers, rs6000_core_fns): Remove.
259 (_initialize_core_rs6000): Do not register it. Rename to ...
260 (_initialize_rs6000_nat): ... this.
261 * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
262
263 2007-04-27 Kevin Buettner <kevinb@redhat.com>
264
265 * dwarf2expr.c (unsigned_address_type): Add forward declaration.
266 (dwarf2_read_address): Sign extend return address as required by
267 target architecture.
268
269 2007-04-27 Kevin Buettner <kevinb@redhat.com>
270
271 * solib-frv.c (lm_base): Bail out if the main executable has
272 not been relocated.
273
274 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
275
276 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
277 of FPCR register in fpregset.
278
279 2007-04-27 Maciej W. Rozycki <macro@mips.com>
280
281 * Makefile.in (gdbtk-wrapper.o): Update dependencies.
282 (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
283
284 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
285
286 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
287 * rs6000-nat.c (rs6000_wait): New function.
288 (_initialize_core_rs6000): Install it as to_wait target method.
289 * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
290
291 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
292
293 * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
294 * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
295 * rs6000-nat.c (super_create_inferior): New variable.
296 (rs6000_create_inferior): Make static. Adapt argument list. Call
297 original version of create_inferior via super_create_inferior.
298 (_initialize_core_rs6000): Install to_create_inferior target method.
299
300 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
301
302 * aix-thread.c (aix_thread_xfer_memory): Replace by ...
303 (aix_thread_xfer_partial): ... this.
304 (init_aix_thread_ops): Install to_xfer_partial instead
305 of deprecated_xfer_memory target method.
306
307 * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
308 and inftarg.o, add inf-ptrace.o.
309 * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
310 CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
311 * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
312 (fetch_inferior_registers): Rename to ...
313 (rs6000_fetch_inferior_registers): ... this. Make static.
314 (store_inferior_registers): Rename to ...
315 (rs6000_store_inferior_registers): ... this. Make static.
316 (read_word, child_xfer_memory): Remove.
317 (rs6000_xfer_partial): New function.
318 (kernel_u_size): Remove.
319 (_initialize_core_rs6000): Add inf_ptrace-based target.
320 * Makefile.in (rs6000-nat.o): Update dependencies.
321
322 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
323
324 * inf-ptrace.c: Include "gdb_stdint.h".
325 (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
326 intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
327 (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
328 before casting CORE_ADDR to PTRACE_TYPE_ARG3.
329 (inf_ptrace_store_register): Likewise.
330 * Makefile.in (inf-ptrace.o): Update dependencies.
331
332 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
333
334 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
335 * configure.tgt (rs6000-*-*): Likewise.
336 * config/rs6000/aix4.mh: Delete file.
337 * config/rs6000/aix4.mt: Delete file.
338 * config/rs6000/rs6000.mh: Delete file.
339 * config/rs6000/rs6000.mt: Delete file.
340
341 * config/powerpc/nm-aix.h: Delete file.
342 * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
343
344 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
345
346 * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
347 Remove obsolete part of comment.
348 (store_regs_user_thread): Use uint32_t temporaries when calling
349 fill_sprs32.
350 (store_regs_kernel_thread): Likewise. Add assertion to verify
351 correct size of struct ptsprs members.
352 (aix_thread_xfer_memory): Fix type of myaddr.
353 (aix_thread_extra_thread_info): Fix compiler warning.
354 * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
355 (fetch_register, store_register): Adapt callers.
356
357 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
358
359 * vec.h (vec_free): Rename to vec_free_. Adapt users.
360
361 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
362
363 * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
364 and "regcache.h".
365 (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
366 (alpha_linux_gregset, alpha_linux_fpregset): New variables.
367 (alpha_linux_regset_from_core_section): New function.
368 (alpha_linux_init_abi): Install it.
369 * alpha-linux-nat.c: Do not include "gdbcore.h". Include
370 "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
371 <sys/procfs.h>, and "gregset.h".
372 (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
373 Move from config/alpha/nm-linux.h.
374 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
375 from alpha-nat.c.
376 (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
377 * alpha-nat.c: Remove #ifdef __linux__ section.
378 (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
379 (_initialize_core_alpha): Do not register alpha_elf_core_fns.
380 (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
381 (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
382 * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
383 (NATDEPFILES): Remove alpha-nat.o.
384 * config/alpha/nm-linux.h: Delete file.
385 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
386 * Makefile.in (alpha-linux-nat.o): Update dependencies.
387 (alpha-linux-tdep.o): Likewise.
388
389 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
390
391 * mips-linux-nat.c: No longer include "gdbcore.h".
392 (mips_linux_register_addr): Move from mips-linux-tdep.c.
393 (mips64_linux_register_addr): Likewise.
394 (mips_linux_register_u_offset): Call mips_linux_register_addr or
395 mips64_linux_register_addr instead of register_addr.
396 * mips-linux-tdep.c (mips_linux_register_addr,
397 mips64_linux_register_addr): Move to mips-linux-nat.c.
398 (register_addr): Remove.
399 (register_addr_data, init_register_addr_data): Remove.
400 (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
401 (set_mips_linux_register_addr): Remove.
402 (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
403 * Makefile.in (mips-linux-nat.o): Update dependencies.
404
405 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
406
407 * linux-nat.c (linux_register_u_offset): Remove.
408 (linux_target_install_ops): New function.
409 (linux_target): Use it.
410 (linux_trad_target): New function.
411 * linux-nat.h (linux_trad_target): Declare.
412
413 * alpha-linux-nat.c: Include "gdbcore.h".
414 (alpha_linux_register_u_offset): New function.
415 (_initialize_alpha_linux_nat): Use linux_trad_target.
416
417 * mips-linux-nat.c: Include "gdbcore.h".
418 (mips_linux_register_u_offset): New function.
419 (_initialize_mips_linux_nat): Use linux_trad_target.
420
421 * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
422 * config/arm/nm-linux.h: Delete file.
423
424 * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
425 * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
426
427 * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
428 * config/ia64/nm-linux.h: Delete file.
429
430 * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
431 * config/m32r/nm-linux.h: Delete file.
432
433 * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
434 * config/m68k/nm-linux.h: Delete file.
435
436 * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
437 * config/pa/nm-linux.h: Delete file.
438
439 * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
440 * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
441 * config/powerpc/nm-linux.h: Delete file.
442
443 * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
444 * config/s390/nm-linux.h: Delete file.
445
446 * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
447 * config/sparc/linux64.mh (NAT_FILE): Likewise.
448 * config/sparc/nm-linux.h: Delete file.
449
450 * Makefile.in (alpha-linux-nat.o): Update dependencies.
451 (mips-linux-nat.o): Likewise.
452
453 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
454
455 * core-aout.c: Delete file.
456 * Makefile.in (ALLDEPFILES): Remove core-aout.c.
457 (core-aout.o): Delete rule.
458 * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
459
460 * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
461
462 * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
463 * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
464 KERNEL_U_ADDR): Remove.
465
466 * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
467 (cannot_fetch_register, cannot_store_register): Remove.
468 (fetch_register): Inline cannot_fetch_register and register_addr.
469 (store_register): Inline cannot_store_register and register_addr.
470 * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
471 * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
472 REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
473 Remove.
474
475 * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
476 (fetch_register): Inline register_addr.
477 (store_register): Inline register_addr.
478 * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
479 * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
480 U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
481
482 * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
483 * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
484 REGISTER_U_ADDR): Remove.
485
486 * hppa-linux-nat.c (register_addr): Rename to ...
487 (hppa_linux_register_addr): ... this. Make static.
488 (fetch_register, store_register): Adapt callers.
489 * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
490
491 * ppc-linux-nat.c (kernel_u_size): Remove.
492 * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
493
494 * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
495 * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
496 (NAT_FILE): Remove.
497 * config/vax/nm-vax.h: Delete file.
498
499 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
500
501 * MAINTAINERS (Write After Approval): Add myself.
502
503 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
504
505 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
506 * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
507 (m68k_linux_sigcontext_reg_offset): Fix typo.
508 (target_is_uclinux): New.
509 (m68k_linux_inferior_created): New.
510 (m68k_linux_get_sigtramp_info): Check for uClinux or
511 normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
512 uClinux.
513 (_initialize_m68k_linux_tdep): Register
514 m68k_linux_inferior_created.
515
516 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
517
518 * win32-nat.c (win32_detach): Remove delete_command call.
519 Resume inferior with win32_resume instead of win32_continue.
520
521 2007-04-19 Jerome Guitton <guitton@adacore.com>
522
523 * ser-mingw.c (fd_is_file): New function.
524 (file_select_thread): New function.
525 (ser_console_wait_handle): Add special handling for files.
526
527 2007-04-18 Denis Pilat <denis.pilat@st.com>
528
529 * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
530 when missing from DW_TAG_subrange_type. Remove the handling of null
531 return from die_type.
532
533 2007-04-18 Maciej W. Rozycki <macro@mips.com>
534
535 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
536 change to rearrange some brackets.
537 (mips_n32n64_push_dummy_call): Likewise.
538 (mips_o32_push_dummy_call): Likewise.
539 (mips_o64_push_dummy_call): Likewise.
540
541 2007-04-18 Denis Pilat <denis.pilat@st.com>
542
543 * infcmd.c (post_create_inferior): Start with a call to
544 target_terminal_ours.
545
546 2007-04-17 Maciej W. Rozycki <macro@mips.com>
547
548 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
549 brackets.
550 (mips_n32n64_push_dummy_call): Likewise. Reformat some
551 expressions.
552 (mips_o32_push_dummy_call): Likewise.
553 (mips_o64_push_dummy_call): Likewise.
554
555 2007-04-17 Maciej W. Rozycki <macro@mips.com>
556
557 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
558 comment.
559
560 2007-04-17 Maciej W. Rozycki <macro@mips.com>
561
562 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
563 comment.
564 (mips_o32_push_dummy_call): Likewise.
565
566 2007-04-17 Andreas Schwab <schwab@suse.de>
567
568 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
569 sal to be bigger than the end of the function.
570
571 2007-04-17 Maciej W. Rozycki <macro@mips.com>
572 Nigel Stephens <nigel@mips.com>
573
574 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
575 argument alignment requirements when calculating stack space
576 required. When aligning an arg register to eight bytes
577 boundary, align stack_offset too. Write floating-point
578 arguments to the appropriate integer register if need go there.
579 (mips_o64_push_dummy_call): Likewise.
580
581 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
582
583 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
584 "sig" arguments, add "regcache" argument.
585 * gdbarch.c, gdbarch.h: Regenerate.
586
587 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
588 (handle_inferior_event): Call remove_single_step_breakpoints directly
589 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
590
591 * alpha-tdep.c (alpha_software_single_step): Update argument list.
592 Remove handling of !insert_breakpoints_p case.
593 * arm-tdep.c (arm_software_single_step): Likewise.
594 * cris-tdep.c (cris_software_single_step): Likewise.
595 * mips-tdep.c (mips_software_single_step): Likewise.
596 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
597 * sparc-tdep.c (sparc_software_single_step): Likewise.
598 * spu-tdep.c (spu_software_single_step): Likewise.
599
600 * alpha-tdep.h (alpha_software_single_step): Update prototype.
601 * mips-tdep.h (mips_software_single_step): Likewise.
602 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
603 * sparc-tdep.h (sparc_software_single_step): Likewise.
604
605 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
606
607 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
608 when removing single-step breakpoints.
609
610 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
611
612 * varobj.h (varobj_set_frozen): New
613 (varobj_get_frozen): New.
614 (varobj_update): New parameter explicit.
615 * varobj.c (struct varobj): New fields frozen
616 and not_fetched.
617 (varobj_set_frozen, varobj_get_frozen): New.
618 (install_new_value): Don't fetch values for
619 frozen variable object, or children thereof. Allow
620 a frozen variable object to have non-fetched value.
621 (varobj_update): Allow updating child variables.
622 Don't traverse frozen children.
623 (new_variable): Initialize the frozen field.
624 (c_value_of_variable): Return NULL for frozen
625 variable without any value yet.
626 * mi/mi-cmd-var.c (varobj_update_one): New parameter
627 'explicit'.
628 (mi_cmd_var_create): Output the 'frozen' field,
629 as soon as testsuite is adjusted to expect that field.
630 (mi_cmd_var_set_frozen): New.
631 (mi_cmd_var_update): Pass the 'explicit' parameter to
632 varobj_update_one.
633 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
634 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
635
636 2007-04-13 Paul Brook <paul@codesourcery.com>
637
638 * target-descriptions.c (tdesc_named_type): Add ieee_single and
639 ieee_double.
640 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
641
642 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
643
644 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
645 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
646 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
647 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
648 * Makefile.in: Remove references to deleted files.
649 * README: Do not mention deleted ROM monitor interfaces.
650 * defs.h (enum language): Delete language_scm.
651 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
652 (dump_subexp_body_standard): Likewise.
653 * parse.c (operator_length_standard): Likewise.
654 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
655 * remote-mips.c: Do not include remote-utils.h.
656 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
657 throughout.
658 * value.c: Do not include scm-lang.h.
659 (unpack_long): Delete scm_unpack call.
660 * config/h8300/h8300.mt, config/mips/embed.mt,
661 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
662 config/sh/embed.mt, config/sh/linux.mt: Remove references to
663 deleted files.
664 * NEWS: Mention removed files.
665
666 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
667
668 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
669 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
670
671 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
672
673 * NEWS: Mention removal of HP aCC support.
674
675 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
676
677 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
678 first entry for static executables.
679 (breakpoint_addr): Delete unused variable.
680 (elf_locate_base): Search for _r_debug in static executables.
681 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
682 also.
683
684 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
685
686 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
687 (bpstat_what, print_one_breakpoint, allocate_bp_location)
688 (mention): Remove bp_through_sigtramp support.
689 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
690
691 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
692
693 * breakpoint.c (bpstat_what): Give step-resume higher priority than
694 shlib events.
695
696 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
697
698 * infrun.c: Doc fixes.
699 (handle_inferior_event): Clarify debug message.
700 (insert_step_resume_breakpoint_at_sal): Print a debug message.
701
702 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
703
704 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
705
706 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
707
708 * config/m68k/tm-monitor.h: Delete file.
709 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
710 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
711 call moved to ...
712 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
713 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
714
715 2007-04-12 Luis Machado <luisgpm@br.ibm.com>
716
717 * gdbarch.sh (software_single_step): Change the return type
718 from void to int and reformatted some comments to <= 80
719 columns.
720 * gdbarch.c, gdbarch.h: Regenerated.
721 * alpha-tdep.c (alpha_software_single_step): Likewise.
722 * alpha-tdep.h (alpha_software_single_step): Likewise.
723 * arm-tdep.c (arm_software_single_step): Likewise.
724 * cris-tdep.c (cris_software_single_step): Likewise.
725 * mips-tdep.c (mips_software_single_step): Likewise.
726 * mips-tdep.h (mips_software_single_step): Likewise.
727 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
728 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
729 * sparc-tdep.c (sparc_software_single_step): Likewise.
730 * sparc-tdep.h (sparc_software_single_step): Likewise.
731 * spu-tdep.c (spu_software_single_step): Likewise.
732 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
733 and act accordingly.
734
735 2007-04-11 Steve Ellcey <sje@cup.hp.com>
736
737 * configure.ac (build_warnings): Add -Wno-char-subscripts.
738 * configure: Regenerate.
739 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
740
741 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
742
743 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
744
745 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
746
747 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
748 macros.
749 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
750 distinct on the TYPE_STUB_SUPPORTED debug targets.
751 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
752
753 2007-04-11 Joel Brobecker <brobecker@adacore.com>
754
755 * sparc-tdep.c (X_RS2): New macro.
756 (sparc_skip_stack_check): New function.
757 (sparc_analyze_prologue): Adjust PC past stack probing
758 sequence if necessary.
759
760 2007-04-10 Andreas Schwab <schwab@suse.de>
761
762 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
763 register.
764
765 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
766
767 * breakpoint.c (gdb_breakpoint_query): Really return an
768 enum gdb_rc.
769 (gdb_breakpoint): Likewise.
770 * thread.c (gdb_list_thread_ids): Likewise.
771 (gdb_thread_select): Likewise.
772 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
773 (mi_cmd_thread_list_ids): Remove bogus initialization.
774
775 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
776
777 * Makefile.in (SFILES): Remove hpacc-abi.c.
778 (COMMON_OBS): Remove hpacc-abi.o.
779 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
780 (hpacc-abi.o, hpread.o): Delete rules.
781 * somread.c: Delete extern declarations from hpread.c.
782 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
783 (som_symfile_finish): Do not call hpread_symfile_finish.
784 (som_symfile_init): Do not call hpread_symfile_init.
785 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
786 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
787 * hpacc-abi.c, hpread.c: Deleted.
788
789 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
790
791 * solib-svr4.c (enable_break): Simplify return value.
792 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
793
794 2007-04-10 Andreas Schwab <schwab@suse.de>
795
796 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
797 l_ld_size, l_next_size, l_prev_size, l_name_size.
798
799 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
800 to extract addresses from link map.
801 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
802 (LM_NEXT): Likewise.
803 (LM_NAME): Likewise.
804 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
805 (elf_locate_base): Likewise.
806 (open_symbol_file_object): Likewise.
807 (svr4_fetch_objfile_link_map): Likewise.
808 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
809 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
810 l_ld_size.
811 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
812 (svr4_lp64_fetch_link_map_offsets): Likewise.
813
814 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
815 removed members. Set l_ld_offset to -1 if not present.
816
817 2007-04-08 Vladimir Prus <vladimir@codesourcery.com>
818
819 Pass stderr of program run with "target remote |"
820 via gdb_stderr.
821 * serial.c (serial_open): Set error_fd to -1.
822 * serial.h (struct serial): New field error_fd.
823 (struct serial_opts): New field avail.
824 * ser-pipe.c (pipe_open): Create another pair
825 of sockets. Pass stderr to gdb.
826 * ser-mingw.c (pipe_windows_open): Pass
827 PEX_STDERR_TO_PIPE to pex_run. Initialize
828 sd->error_fd.
829 (pipe_avail): New.
830 (_initialize_ser_windows): Hook pipe_avail.
831 * ser-base.c (generic_readchar): Check if there's
832 anything in stderr channel and route that to gdb_stderr.
833
834 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
835
836 * dbxread.c (read_ofile_symtab): Move current_objfile
837 clearing to after end_stabs.
838
839 2007-04-01 Andreas Schwab <schwab@suse.de>
840
841 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
842 gdbarch instead of current_gdbarch.
843
844 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
845
846 * varobj.c (varobj_create): Keep varobj value
847 NULL when evaluating the type.
848
849 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
850
851 * NEWS: Mention new Windows CE support.
852
853 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
854
855 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
856 the obsoletion stanza.
857 * NEWS: Mention deleted targets.
858
859 * config/sh/tm-wince.h: Remove.
860 * config/sh/wince.mt: Remove.
861 * config/mips/tm-wince.h: Remove.
862 * config/mips/wince.mt: Remove.
863
864 * wince.c: Remove.
865 * wince-stub.c: Remove.
866 * wince-stub.h: Remove.
867 * Makefile.in (wince.o): Remove rule.
868 (wince-stub.o): Likewise.
869
870 * mips-tdep.c (mips_next_pc): Make static.
871 * mips-tdep.h (mips_next_pc): Remove declaration.
872 * arm-tdep.c (arm_pc_is_thumb): Make static.
873 (thumb_get_next_pc): Likewise.
874 (arm_get_next_pc): Likewise.
875 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
876 (arm_pc_is_thumb): Likewise.
877 (thumb_get_next_pc): Likewise.
878 (arm_get_next_pc): Likewise.
879
880 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
881
882 * MAINTAINERS: Remove d10v entry.
883 * Makefile.in (SFILES): Remove dwarfread.c.
884 (COMMON_OBS): Remove dwarfread.o.
885 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
886 (remote-est.o, rom68k-rom.o): Delete.
887 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
888 target est, target rom68k, and DWARF 1.
889 * configure.tgt: Mark d10v as removed.
890 * dwarf2read.c: Doc update.
891 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
892 and lnsize.
893 (elf_locate_sections): Do not set them.
894 (elf_symfile_read): Do not call dwarf_build_psymtabs.
895 * symfile.h (dwarf_build_psymtabs): Delete prototype.
896 * config/m68k/monitor.mt (TDEPFILES): Prune.
897 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
898 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
899
900 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
901
902 * doublest.c (convert_floatformat_to_doublest): Use
903 floatformat_classify.
904 (floatformat_is_nan): Rename to...
905 (floatformat_classify): ...this. Return more information.
906 * doublest.h (enum float_kind): New.
907 (floatformat_is_nan): Replace prototype...
908 (floatformat_classify): ...with this one.
909 * valprint.c (print_floating): Use floatformat_classify. Handle
910 infinity.
911
912 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
913
914 * README: Mention ISO C library requirement.
915
916 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
917
918 * Makefile.in (SFILES): Remove nlmread.c.
919 (COMMON_OBS): Remove nlmread.o.
920 (nlmread.o): Delete rule.
921 * README: Delete reference to remote-st.c.
922 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
923 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
924 GDB_OSABI_LYNXOS.
925 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
926 (_initialize_i386_tdep): Do not reference them.
927 * nlmread.c: Delete file.
928 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
929 * target.c: Doc update.
930 * thread.c: Delete commented include.
931 * config/alpha/tm-alpha.h: Doc update.
932
933 2007-03-30 Chris Dearman <chris@mips.com>
934
935 * utils.c (string_to_core_addr): Comment typo.
936
937 2007-03-30 Chris Dearman <chris@mips.com>
938
939 * mips-tdep.c: Comment typo.
940
941 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
942
943 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
944 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
945 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
946 * config/powerpc/nm-ppc64-linux.h: Remove file.
947 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
948 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
949 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
950 * infptrace.c (call_ptrace): Likewise.
951 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
952 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
953 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
954 (store_register): Likewise.
955
956 2007-03-29 Joel Brobecker <brobecker@adacore.com>
957
958 * Makefile.in (varobj.o): Add missing dependency.
959
960 2007-03-29 Michael Snyder <msnyder@access-company.com>
961
962 * MAINTAINERS: Update my email address.
963
964 2007-03-29 Joel Brobecker <brobecker@adacore.com>
965
966 Add support for exception handling with multiple versions of
967 the Ada runtime:
968 * ada-lang.c: Update general comments on how Ada exception catchpoints
969 are implemented.
970 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
971 (__gnat_raise_nodefer_with_msg): Delete.
972 (ada_unhandled_exception_name_addr_ftype): New type.
973 (exception_support_info): New type.
974 (ada_unhandled_exception_name_addr): Add forward declaration.
975 (ada_unhandled_exception_name_addr_from_raise): Likewise.
976 (default_exception_support_info): New constant.
977 (exception_support_info_fallback): Likewise.
978 (exception_info): New global variable.
979 (ada_exception_support_info_sniffer): New function.
980 (ada_executable_changed_observer): Likewise.
981 (ada_unhandled_exception_name_addr_from_raise): Renamed from
982 ada_unhandled_exception_name_addr.
983 (ada_unhandled_exception_name_addr): Reimplement to match the
984 latest Ada runtime implementation.
985 (error_breakpoint_runtime_sym_not_found): Delete.
986 (ada_exception_sym_name): Get the exception sym name from
987 exception_info rather than hardcoding it.
988 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
989 Update error handling.
990 * Makefile.in (ada-lang.o): Add dependency on observer.h.
991
992 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
993
994 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
995 (remote-st.o, uw-thread.o): Delete.
996 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
997 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
998 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
999 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
1000 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
1001 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
1002 rs6000-*-lynxos* to an obsoletion stanza.
1003 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
1004 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
1005 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
1006 i[34567]86-*-netware*.
1007 * NEWS: Mention deleted targets.
1008
1009 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
1010 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
1011 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
1012 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
1013 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
1014 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
1015 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
1016 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
1017 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
1018 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
1019 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
1020 config/rs6000/tm-rs6000ly.h: Delete files.
1021
1022 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1023
1024 * defs.h (deprecated_registers_changed_hook): Delete declaration.
1025 * interps.c (clear_interpreter_hooks): Do not clear
1026 deprecated_registers_changed_hook.
1027 * regcache.c (registers_changed): Do not call it.
1028 * top.c (deprecated_registers_changed_hook): Do not define it.
1029 * mi/mi-interp.c (mi_command_loop): Do not clear it.
1030 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
1031 (tui_remove_hooks): Do not remove it.
1032 (tui_selected_frame_level_changed_hook): Check for negative level.
1033 Use get_selected_frame.
1034 (tui_registers_changed_hook): Deleted.
1035
1036 2007-03-29 Joel Brobecker <brobecker@adacore.com>
1037
1038 * stabsread.c (add_undefined_type): Add extra parameter.
1039 Now handles nameless types separately.
1040 (struct nat): New type.
1041 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
1042 New static variables.
1043 (read_type): Update calls to add_undefined_type.
1044 (add_undefined_type_noname): New function.
1045 (add_undefined_type_1): Renames from add_undefined_type.
1046 (cleanup_undefined_types_noname): New function.
1047 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
1048 (cleanup_undefined_types): New handles nameless types separately.
1049 (_initialize_stabsread): Initialize our new static constants.
1050
1051 2007-03-29 Denis Pilat <denis.pilat@st.com>
1052
1053 * configure.ac: Test for signal.h.
1054 * configure, config.in: Regenerate.
1055
1056 2007-03-29 Denis Pilat <denis.pilat@st.com>
1057
1058 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
1059 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
1060
1061 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
1062
1063 * arm-wince-tdep.c: New.
1064 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
1065 (MT_CFLAGS): Delete.
1066 (TM_CLIBS): Delete.
1067 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
1068 solib-legacy.o, solib-svr4.o, and remove wince.o.
1069 * configure.tgt (arm*-*-mingw32ce*): Add.
1070 * signals/signals.c [HAVE_SIGNAL_H]: Check.
1071 (do_target_signal_to_host): Silence 'not used' warning.
1072 * config/arm/tm-wince.h: Remove.
1073
1074 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
1075
1076 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
1077 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
1078
1079 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
1080 * config/ia64/tm-linux.h: Remove file.
1081 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
1082 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
1083 legacy_pc_in_sigtramp.
1084 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
1085 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
1086 Remove func_name argument.
1087 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
1088
1089 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
1090 * target.c (update_current_target): Add to_have_steppable_watchpoint.
1091 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
1092 (HAVE_STEPPABLE_WATCHPOINT): Define.
1093
1094 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
1095 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
1096 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
1097 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
1098 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
1099 target_insert_watchpoint, target_remove_watchpoint): Remove.
1100 (FETCH_INFERIOR_REGISTERS): Define.
1101 * ia64-linux-nat.c (ia64_register_addr): Make static.
1102 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
1103 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
1104 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
1105 (ia64_linux_stopped_data_address): Make static. Add target_ops.
1106 (ia64_linux_stopped_by_watchpoint): Make static.
1107 (ia64_linux_can_use_hw_breakpoint): New function.
1108 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
1109 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
1110 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
1111
1112 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
1113
1114 * linespec.c: Include language.h.
1115 (find_methods): Add language parameter. Call
1116 lookup_symbol_in_language. Pass language down.
1117 (add_matching_methods): Likewise. Call
1118 lookup_symbol_in_language.
1119 (add_constructors): Likewise.
1120 (find_method): Pass sym_class to collect_methods.
1121 (collect_methods): Add sym_class parameter. Pass language
1122 down.
1123 * symtab.c (lookup_symbol): Rename to ...
1124 (lookup_symbol_in_language): ... this. Add language
1125 parameter. Use passed language instead of current_language.
1126 (lookup_symbol): New as wrapper around
1127 lookup_symbol_in_language.
1128 (lookup_symbol_aux): Add language parameter. Use passed
1129 language instead of current_language.
1130 (search_symbols): Indent.
1131 * symtab.h (enum language): Forward declare.
1132 (lookup_symbol_in_language): Declare.
1133 (lookup_symbol): Update description.
1134 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
1135 * ada-lang.c (restore_language): Remove.
1136 (lookup_symbol_in_language): Remove.
1137
1138 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
1139
1140 * breakpoint.c (bpstat_num): Add int *num parameter.
1141 * breakpoint.h (bpstat_num): Likewise.
1142 * infcmd.c (continue_command): Adjust to new bpstat_num
1143 interface.
1144 (program_info): Likewise.
1145
1146 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
1147
1148 * config/sh/tm-sh.h: Remove file.
1149 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
1150 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
1151 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1152 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
1153
1154 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
1155
1156 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
1157 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
1158 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
1159 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
1160 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
1161 sequence if target_shortname is "remote".
1162
1163 2007-03-27 Anton Blanchard <anton@samba.org>
1164
1165 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
1166 instead of wordsize when looking for the LR in a stack frame.
1167
1168 2007-03-27 Andreas Schwab <schwab@suse.de>
1169 Daniel Jacobowitz <dan@codesourcery.com>
1170
1171 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
1172 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
1173 argument. Update all callers.
1174 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
1175 (dwarf2_frame_set_eh_frame_regnum): Rename to...
1176 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
1177 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
1178 (dwarf2_frame_set_adjust_regnum): ...this.
1179 (dwarf2_frame_eh_frame_regnum): Delete prototype.
1180 * rs6000-tdep.c: Include "dwarf2-frame.h".
1181 (rs6000_adjust_frame_regnum): Define.
1182 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
1183 Register rs6000_adjust_frame_regnum.
1184
1185 * Makefile.in (rs6000-tdep.o): Update dependencies.
1186
1187 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
1188
1189 * Makefile.in: Add support for a "pdf" target.
1190
1191 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
1192
1193 * amd64-tdep.c (amd64_init_frame_cache): New function.
1194 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
1195
1196 2007-03-26 Nigel Stephens <nigel@mips.com>
1197 Maciej W. Rozycki <macro@mips.com>
1198
1199 * ui-out.c (ui_out_field_core_addr): Truncate address to
1200 TARGET_ADDR_BIT size before printing.
1201
1202 2007-03-22 Nigel Stephens <nigel@mips.com>
1203 Maciej W. Rozycki <macro@mips.com>
1204
1205 * remote-mips.c (mips_xfer_memory): Update prototype.
1206
1207 2007-03-22 Joel Brobecker <brobecker@adacore.com>
1208
1209 * symfile.h: #include "symtab.h"
1210
1211 2007-03-22 Denis Pilat <denis.pilat@st.com>
1212
1213 * utils.c (pagination_on_command, pagination_off_command):
1214 Remove useless prototypes.
1215
1216 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
1217
1218 Fix PR pascal/2232.
1219 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
1220 instead of TYPE_NAME for object base class name.
1221
1222
1223 2007-03-19 Kevin Buettner <kevinb@redhat.com>
1224
1225 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
1226 Specify frame type in calls to frame_func_unwind().
1227
1228 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
1229
1230 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
1231 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
1232 (refine_prologue_limit): Delete.
1233 (skip_prologue): Don't call it. Use extract_unsigned_integer.
1234 Assume lim_pc is set. Correct check for incomplete prologues.
1235 Do not skip clobbers of the frame pointer.
1236 * symtab.c (skip_prologue_using_sal): Fail if there is only one
1237 sal.
1238
1239 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
1240
1241 * frame.c (frame_pop): Check to see whether there's a frame to
1242 which we can pop first.
1243
1244 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
1245
1246 * MAINTAINERS (Write After Approval): Add myself.
1247
1248 2007-03-09 Markus Deuling <deuling@de.ibm.com>
1249
1250 * infrun.c (breakpoints_failed): Remove unnecessary variable.
1251 (handle_inferior_event): Remove unnecessary braces.
1252 * breakpoint.c (bpstat_what): Remove wrong comment.
1253
1254 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
1255
1256 * spu-tdep.c (spu_in_function_epilogue_p): New function.
1257 (spu_gdbarch_init): Install it.
1258
1259 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1260
1261 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
1262 object types, not 0.
1263
1264 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1265
1266 * spu-tdep.c (spu_frame_align): New function.
1267 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
1268
1269 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1270
1271 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
1272 (spu_software_single_step): Likewise.
1273 (spu_read_pc, spu_write_pc): New functions.
1274 (spu_gdbarch_init): Install them.
1275
1276 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
1277
1278 * cli/cli-dump.c (struct callback_data): load_offset needs to
1279 have signed long type.
1280
1281 2007-03-07 Joel Brobecker <brobecker@adacore.com>
1282
1283 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
1284 Revert the previous change that had some unexpected side-effects
1285 on mips32.
1286 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
1287 function to get the address of the calling instruction.
1288
1289 2007-03-07 Denis Pilat <denis.pilat@st.com>
1290
1291 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
1292 get_selected_frame by deprecated_safe_get_selected_frame.
1293
1294 2007-03-02 Mark Kettenis <kettenis@gnu.org>
1295
1296 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
1297 "gdb_string.h". Don't include "nbsd-tdep.h".
1298 (SIZEOF_STRUCT_REG): Remove.
1299 (SHNBSD_SIZEOF_GREGS): New.
1300 (shnbsd_supply_gregset, shnbsd_collect_gregset)
1301 (shnbsd_regset_from_core_section): New functions.
1302 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
1303 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
1304 shnbsd_supply_gregset, shnbsd_collect_gregset.
1305 (shnbsd_gregset): New variable.
1306 (shnbsd_init_abi): Set regset_from_core_section.
1307 (GDB_OSABI_NETBSD_CORE): New define.
1308 (shnbsd_core_osabi_sniffer): New function.
1309 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
1310 * Makefile.in (shnbsd-tdep.o): Update dependencies.
1311 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
1312 nbsd-tdep.o.
1313 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
1314
1315 2007-02-28 Joel Brobecker <brobecker@adacore.com>
1316
1317 * gdbtypes.c (replace_type): Fix typo that caused us to not update
1318 length of the types referenced by the new type CV ring.
1319
1320 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1321
1322 * frame.c (frame_pop, frame_observer_target_changed): Call
1323 reinit_frame_cache.
1324 (flush_cached_frames): Rename to reinit_frame_cache and delete
1325 old implementation.
1326 * frame.h (flush_cached_frames): Delete prototype and update comment.
1327
1328 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
1329 reinit_frame_cache instead of flush_cached_frames. Do not call
1330 select_frame after reinit_frame_cache.
1331 * corelow.c (core_open): Likewise.
1332 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
1333 * infrun.c (prepare_to_proceed, context_switch)
1334 (handle_inferior_event): Likewise.
1335 * linux-fork.c (fork_load_infrun_state): Likewise.
1336 * ocd.c (ocd_start_remote): Likewise.
1337 * remote-e7000.c (e7000_start_remote): Likewise.
1338 * remote-mips.c (device): Likewise.
1339 * thread.c (switch_to_thread): Likewise.
1340 * tracepoint.c (finish_tfind_command): Likewise.
1341 * gdbarch.c: Regenerated.
1342
1343 2007-02-28 Jerome Guitton <guitton@adacore.com>
1344 Joel Brobecker <brobecker@adacore.com>
1345
1346 * gdbtypes.c (check_typedef): Do not replace stub type if
1347 the resolved type is not defined in the same objfile.
1348
1349 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
1350
1351 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
1352
1353 2007-02-28 Joel Brobecker <brobecker@adacore.com>
1354
1355 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
1356 symbol for Ada units when the symbol is defined using 't' rather
1357 than 'Tt' as symbol descriptor.
1358
1359 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1360
1361 * config/mips/tm-nbsd.h: Delete file.
1362 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1363 * config/sh/tm-nbsd.h: Delete file.
1364 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
1365
1366 2007-02-28 Joel Brobecker <brobecker@adacore.com>
1367
1368 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
1369 unused WRONG_PARAM value since it was recently deleted.
1370
1371 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
1372
1373 * varobj.c (varobj_update): Free temporary vectors.
1374
1375 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1376
1377 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
1378 * config/powerpc/tm-linux.h: Delete file.
1379 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
1380 (PROCESS_LINENUMBER_HOOK): Do not undefine.
1381 (TEXT_SEGMENT_BASE): Do not redefine.
1382 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
1383 from config/rs6000/tm-rs6000.h.
1384 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
1385 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
1386 (TEXT_SEGMENT_BASE): Remove.
1387 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
1388 (rs6000_in_solib_return_trampoline): Remove.
1389 (SKIP_TRAMPOLINE_CODE): Remove.
1390 (rs6000_skip_trampoline_code): Remove.
1391 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
1392 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
1393 (FP0_REGNUM): Remove.
1394 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
1395 (rs6000_set_host_arch_hook): Remove.
1396 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
1397 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
1398 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
1399 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
1400 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
1401 * rs6000-nat.c: Include "rs6000-tdep.h".
1402 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
1403 (set_host_arch): Rename to ...
1404 (rs6000_create_inferior): ... this. Make public.
1405 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
1406 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
1407 (rs6000_create_inferior): Remove.
1408 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
1409 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
1410 set_gdbarch_in_solib_return_trampoline, and
1411 set_gdbarch_skip_trampoline_code.
1412 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
1413 from config/rs6000/tm-rs6000.h.
1414
1415 2007-02-27 Joel Brobecker <brobecker@adacore.com>
1416
1417 * buildsym.c (record_producer): Do nothing if no producer is provided.
1418
1419 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
1420
1421 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
1422 to check changelist is non-NULL. Call error if the frontend tries
1423 to update a non-root variable.
1424
1425 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
1426
1427 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
1428
1429 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
1430 (dwarf2_frame_sniffer): Update.
1431 (dwarf2_signal_frame_this_id): New function.
1432 (dwarf2_signal_frame_unwind): Use it.
1433 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
1434 * frame.c (frame_func_unwind): Add this_type argument.
1435 (get_frame_func): Update.
1436 (frame_unwind_address_in_block): Add this_type argument and check it.
1437 Fix a typo.
1438 (get_frame_address_in_block): Update.
1439 * frame.h (enum frame_type): Move higher in the file.
1440 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
1441 argument.
1442
1443 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
1444 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
1445 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
1446 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
1447 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
1448 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
1449 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
1450 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
1451 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
1452 frame_func_unwind and frame_unwind_address_in_block to specify
1453 the frame type. Use frame_unwind_address_in_block instead of
1454 frame_pc_unwind in sniffers.
1455
1456 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
1457
1458 * frame.c (deprecated_selected_frame): Rename to...
1459 (selected_frame): ...this. Make static.
1460 (get_selected_frame, select_frame): Update.
1461 * frame.h (deprected_select_frame): Delete.
1462 (deprecated_safe_get_selected_frame): Update comments.
1463
1464 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
1465 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
1466 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
1467 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
1468 tui/tui.c: Replace references to deprecated_selected_frame.
1469
1470 2007-02-27 Fred Fish <fnf@specifix.com>
1471
1472 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
1473 directly decrement the stack pointer, accumulate their operand into
1474 the stack offset, and mark the function as not being frameless.
1475
1476 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1477
1478 * arch-utils.c (selected_byte_order): New.
1479 * arch-utils.h (selected_byte_order): New prototype.
1480 * remote-sim.c (gdbsim_open): Use selected_byte_order.
1481
1482 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1483
1484 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
1485 (default_symfile_offsets): Check VMA here. Update section VMAs.
1486
1487 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1488
1489 * remote.c (init_remote_state): Add special handling for placeholder
1490 registers.
1491
1492 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1493
1494 * Makefile.in (XMLFILES): Include $(TDEP_XML).
1495 (filenames_h): New variable.
1496 (clean): Clean up xml-builtin.c and stamp-xml.
1497 (arm-linux-nat.o): Update.
1498 * config/arm/linux.mh (TDEP_XML): Define.
1499 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
1500 (arm_linux_has_wmmx_registers): New.
1501 (GET_THREAD_ID): Fix typo.
1502 (IWMMXT_REGS_SIZE): Define.
1503 (fetch_wmmx_regs, store_wmmx_regs): New.
1504 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
1505 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
1506 (super_xfer_partial, arm_linux_xfer_partial): New.
1507 (_initialize_arm_linux_nat): Use them.
1508 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
1509 (xml_builtin_xfer_partial): New function.
1510 * xml-support.h (xml_builtin_xfer_partial): New prototype.
1511 * NEWS: Update mention of iWMMXt support.
1512
1513 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
1514
1515 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
1516 if there are no FPA registers.
1517 (arm_dwarf_reg_to_regnum): New function.
1518 (arm_register_type, arm_register_name): Return minimal values for
1519 unsupported registers.
1520 (arm_register_sim_regno): Handle iWMMXt registers.
1521 (arm_gdbarch_init): Record missing FPA registers if indicated by
1522 a target description. Recognize iWMMXt registers. Only register
1523 "info float" for FPA. Use ARM_NUM_REGS. Register
1524 arm_dwarf_reg_to_regnum.
1525 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
1526 constants.
1527 (struct gdbarch_tdep): Add have_fpa_registers.
1528 * features/xscale-iwmmxt.xml: Update capitalization.
1529 * regformats/arm-with-iwmmxt.dat: Regenerated.
1530
1531 2007-02-24 Kevin Buettner <kevinb@redhat.com>
1532
1533 * NEWS (New targets): Add entry for the Toshiba Media Processor.
1534
1535 2007-02-23 Kevin Buettner <kevinb@redhat.com>
1536
1537 * MAINTAINERS (mep): New target.
1538
1539 2007-02-23 Kevin Buettner <kevinb@redhat.com>
1540
1541 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
1542 Richard Sandiford:
1543 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
1544 (mep-tdep.o): New rule.
1545 * configure.tgt (mep-*-*): New target.
1546 * mep-tdep.c: New file.
1547 * config/mep/mep.mt: New file.
1548
1549 2007-02-22 Markus Deuling <deuling@de.ibm.com>
1550
1551 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
1552 BREAKPOINT_HIT and STOP_UNKNOWN.
1553
1554 2007-02-22 Markus Deuling <deuling@de.ibm.com>
1555
1556 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
1557
1558 2007-02-20 Joel Brobecker <brobecker@adacore.com>
1559
1560 * gdb_expat.h (XMLCALL): Define if not already defined.
1561
1562 2007-02-20 Andreas Schwab <schwab@suse.de>
1563
1564 * Makefile.in (symfile.o): Update dependencies.
1565
1566 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
1567
1568 * MAINTAINERS: Disable -Werror for cris simulator. Build
1569 sparc64-solaris2.10 instead of the broken sparc-elf.
1570 * solib-frv.c: Include "solib.h".
1571 * Makefile.in (solib-frv.o): Update.
1572 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
1573 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
1574 (xtensa_frame_this_id, xtensa_frame_prev_register)
1575 (xtensa_push_dummy_call): Use %p.
1576
1577 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1578
1579 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
1580 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
1581 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
1582 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
1583 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
1584 (sparc-linux-tdep.o): Update.
1585
1586 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
1587
1588 * xtensa-tdep.h (xtensa_reg_mask_t): New.
1589 (xtensa_mask_t): Change mask field to be a separate array.
1590 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
1591 (xtensa_pseudo_register_write, xtensa_unwind_pc)
1592 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
1593 (xtensa_breakpoint_from_pc): Remove implicit type casting.
1594 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
1595 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
1596 (mask14, mask15): Rename to
1597 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
1598 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
1599 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
1600 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
1601 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
1602 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
1603 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
1604 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
1605 (xtensa_submask14, xtensa_submask15): New.
1606 (rmap): Follow strict aliasing rules doing static initialization.
1607
1608 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
1609
1610 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
1611 handling from here...
1612 (tdesc_register_type): ...to here.
1613 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
1614 * features/arm-core.xml: Use code_ptr and data_ptr.
1615
1616 2007-02-13 Denis Pilat <denis.pilat@st.com>
1617
1618 * varobj.h (enum varobj_update_error): New enum.
1619 * varobj.c (struct varobj_root): Add is_valid member.
1620 (varobj_get_type): Check for invalid varobj.
1621 (varobj_get_attributes): Likewise.
1622 (variable_editable):Likewise.
1623 (varobj_update): Likewise. Use varobj_update_error.
1624 (new_root_variable): Set root varobj as valid by default.
1625 (varobj_invalidate): New function.
1626 * symfile.c (clear_symtab_users): Use varobj_invalidate.
1627 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
1628 Use varobj_update_error.
1629
1630 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
1631
1632 Fix PR pascal/2223.
1633 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
1634 Pascal language marker.
1635 * dwarf2read.c (set_cu_language): Likewise.
1636
1637 2007-02-12 Corinna Vinschen <vinschen@redhat.com>
1638
1639 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
1640 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
1641 instead of target_terminal_init since inferior_ptid isn't set yet.
1642
1643 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
1644
1645 * MAINTAINERS (Write After Approval): Add myself.
1646
1647 2007-02-09 Fred Fish <fnf@specifix.com>
1648
1649 Based on work by Apple Computer, Inc.
1650 * event-top.c (async_request_quit): Call quit() whenever either
1651 quit_flag is set or immediate_quit is set.
1652
1653 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
1654
1655 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
1656 type to a pointer to const struct block.
1657 (ada_lookup_symbol_list): Don't cast away constness when calling
1658 remove_out_of_scope_renamings.
1659
1660 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
1661
1662 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
1663 address of 'filename'; it is always non null.
1664
1665 2007-02-09 Joel Brobecker <brobecker@adacore.com>
1666
1667 * exec.c (add_to_section_table): Do not discard empty sections.
1668
1669 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1670
1671 * features/Makefile, features/arm-with-iwmmxt.xml,
1672 features/gdbserver-regs.xsl, features/number-regs.xsl,
1673 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
1674 * regformats/arm-with-iwmmxt.dat: Generate.
1675 * NEWS: Mention iWMMXt.
1676
1677 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1678
1679 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
1680 (xml-tdesc.o): Update.
1681 * xml-support.c: Add a comment.
1682 (gdb_xml_enums_boolean): New variable.
1683 (gdb_xml_parse_attr_enum): Use strcasecmp.
1684 * xml-support.h (gdb_xml_enums_boolean): Declare.
1685 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
1686 next_regnum, and current_union.
1687 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
1688 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
1689 (field_attributes, union_children, reg_attributes, union_attributes)
1690 (vector_attributes, feature_attributes, feature_children): New.
1691 (target_children): Make static. Add <feature>.
1692 (tdesc_elements): Make static.
1693 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
1694 (struct tdesc_feature, tdesc_feature_p): New types.
1695 (struct target_desc): Add features member.
1696 (struct tdesc_arch_data, tdesc_data): New.
1697 (target_find_description): Clarify error message. Warn about
1698 ignored register descriptions.
1699 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
1700 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
1701 (tdesc_data_cleanup, tdesc_numbered_register)
1702 (tdesc_numbered_register_choices, tdesc_find_register)
1703 (tdesc_register_name, tdesc_register_type)
1704 (tdesc_remote_register_number, tdesc_register_reggroup_p)
1705 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
1706 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
1707 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
1708 (tdesc_create_feature, tdesc_record_type): New.
1709 (free_target_description): Free features.
1710 (_initialize_target_descriptions): Initialize tdesc_data.
1711 * arch-utils.c (default_remote_register_number): New.
1712 * arch-utils.h (default_remote_register_number): New prototype.
1713 * target-descriptions.h (set_tdesc_pseudo_register_name)
1714 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
1715 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
1716 (tdesc_numbered_register, tdesc_numbered_register_choices)
1717 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
1718 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
1719 (tdesc_create_reg): Declare.
1720 * gdbarch.sh (remote_register_number): New entry.
1721 * gdbarch.c, gdbarch.h: Regenerate.
1722 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
1723 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
1724
1725 * arm-tdep.c (arm_register_aliases): New.
1726 (arm_register_name_strings): Rename to...
1727 (arm_register_names): ...this. Make const. Delete the old version.
1728 (current_option, arm_register_byte): Delete.
1729 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
1730 (value_of_arm_user_reg): New.
1731 (arm_gdbarch_init): Verify any described registers. Call
1732 tdesc_use_registers. Don't use arm_register_byte. Create aliases
1733 for standard register names.
1734 (_initialize_arm_tdep): Do not adjust arm_register_names.
1735 * user-regs.c (struct user_reg): Add baton member.
1736 (append_user_reg, user_reg_add_builtin, user_regs_init)
1737 (user_reg_add, value_of_user_reg): Use a baton for user
1738 register functions.
1739 * std-regs.c: Update.
1740 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
1741 (user_reg_add): Add baton argument.
1742 * NEWS: Mention target description register support.
1743 * features/arm-core.xml, features/arm-fpa.xml: New.
1744 * eval.c (evaluate_subexp_standard): Allow ptype $register
1745 when the program is not running.
1746
1747 2007-02-09 Nick Roberts <nickrob@snap.net.nz>
1748
1749 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
1750
1751 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
1752
1753 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
1754 info->disassembler_options to "any".
1755
1756 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1757
1758 * varobj.c (install_new_value): Only call value_get_print_value
1759 if changeable.
1760
1761 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1762
1763 Reported by timeless@gmail.com:
1764 * gdb/target.c (target_flash_erase): Do not return void value.
1765 (target_flash_done): Likewise.
1766 * gdb/cli/cli-cmds.c (source_command): Likewise.
1767
1768 2007-02-08 Fred Fish <fnf@specifix.com>
1769
1770 Based on work by Apple Computer, Inc.
1771 * event-top.c (handle_sigint): Set quit_flag.
1772 (async_request_quit): Don't set quit_flag. Avoid calling quit()
1773 if quit_flag has already been reset.
1774
1775 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1776
1777 * ser-mingw.c (pipe_windows_close): Move variable initialization back
1778 up.
1779
1780 2007-02-08 Fred Fish <fnf@specifix.com>
1781
1782 * defs.h (request_quit): Remove declaration.
1783 * utils.c (request_quit): Remove definition.
1784
1785 2007-02-08 Joel Brobecker <brobecker@gnat.com>
1786 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 Daniel Jacobowitz <dan@codesourcery.com>
1788
1789 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
1790 (skip_prologue): Allow bl->blrl used by PIC code.
1791
1792 2007-02-08 Mark Kettenis <kettenis@gnu.org>
1793 Daniel Jacobowitz <dan@codesourcery.com>
1794
1795 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
1796 initialize tmp_obstack.
1797 * p-valprint.c (pascal_object_print_value_fields)
1798 (pascal_object_print_value): Likewise.
1799
1800 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
1801
1802 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
1803
1804 2007-02-08 Mark Kettenis <kettenis@gnu.org>
1805
1806 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
1807 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
1808
1809 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
1810
1811 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
1812 (xml_cache): New.
1813 (tdesc_parse_xml): Cache expanded descriptions.
1814
1815 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
1816
1817 * Makefile.in (XMLFILES): New.
1818 (COMMON_OBS): Add xml-builtin.o.
1819 (xml-builtin.c, stamp-xml): New rules.
1820 (xml-tdesc.o): Update.
1821 * features/feature_to_c.sh: New file.
1822 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
1823 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
1824 (gdb_xml_start_element): Initialize scope after possibly reallocating
1825 scopes. Move cleanup later. Handle the XInclude description
1826 specially.
1827 (gdb_xml_end_element): Only parse the body if there is a current element.
1828 Call XML_DefaultCurrent if there is no element.
1829 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
1830 (struct xinclude_parsing_data, xinclude_start_include)
1831 (xinclude_end_include, xml_xinclude_default)
1832 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
1833 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
1834 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
1835 * xml-support.h (xml_fetch_another, xml_process_xincludes)
1836 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
1837 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
1838 XInclude directives. Use the compiled in DTD.
1839 (fetch_xml_from_file): Add baton argument. Treat it as a containing
1840 directory name. Do not warn here.
1841 (file_read_description_xml): Update call. Warn here instead. Pass
1842 a dirname as baton.
1843 (fetch_available_features_from_target): New.
1844 (target_read_description_xml): Use it.
1845 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
1846 to handle XInclude.
1847 * features/xinclude.dtd: New file.
1848
1849 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
1850
1851 * linux-thread-db.c (check_for_thread_db): Return early if we have
1852 no libthread_db support.
1853
1854 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
1855
1856 * mi/mi-parse.h: Include <sys/time.h>.
1857
1858 2007-02-05 Nick Roberts <nickrob@snap.net.nz>
1859
1860 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
1861 instead of print_variable_value to print values.
1862
1863 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
1864
1865 * mi/mi-main.c: Numerous formatting changes.
1866 (mi_cmd_data_write_register_values): Replace clause inadvertantly
1867 removed in my previous change.
1868
1869 2007-02-03 Eli Zaretskii <eliz@gnu.org>
1870
1871 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
1872 Use 1000000L instead of 1000000.
1873
1874 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
1875
1876 Based on work by Apple Computer, Inc.
1877
1878 * configure.ac: Test for sys/resource.h and getrusage.
1879 * configure, config.in: Regenerate.
1880
1881 * mi/mi-main.c: Include <sys/resource.h> if present.
1882 (rusage): Declare if HAVE_GETRUSAGE.
1883 (current_command_ts, do_timings): New static variables.
1884 (timestamp, print_diff_now, print_diff, timeval_diff):
1885 New static timing functions.
1886 (mi_cmd_enable_timings): New function for new MI command.
1887 (captured_mi_execute_command, mi_execute_async_cli_command):
1888 Call timing functions.
1889
1890 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
1891 -enable-timings.
1892
1893 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
1894
1895 * mi/mi-parse.h: (mi_timestamp): New structure.
1896 (mi_parse): Add mi_timestamp* member.
1897
1898 2007-02-02 Denis Pilat <denis.pilat@st.com>
1899
1900 * thread.c (make_cleanup_restore_current_thread): New function.
1901 (info_threads_command): Use of make_cleanup_restore_current_thread
1902 to restore the current thread and the selected frame.
1903 (restore_selected_frame): New function.
1904 (struct current_thread_cleanup): Add frame_id field.
1905 (do_restore_current_thread_cleanup): Add restoring of the selected
1906 frame.
1907 (make_cleanup_restore_current_thread): Likewise.
1908 (thread_apply_all_command): backup the selected frame while
1909 entering the function and restore it at exit.
1910 (thread_apply_command): Likewise.
1911
1912 2007-02-02 Denis Pilat <denis.pilat@st.com>
1913
1914 * MAINTAINERS (Write After Approval): Add myself to the list.
1915
1916 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1917
1918 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
1919 (m32r_store_register): Ditto.
1920
1921 2007-01-30 Vladimir Prus <vladimir@codesourcery.com>
1922
1923 * ser-mingw.c (pipe_windows_open)
1924 (pipe_windows_read, pipe_windows_write): Declare
1925 variables at the top of the function.
1926
1927 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1928
1929 * doublest.c (floatformat_from_length): Use the right element from
1930 gdbarch floatformats.
1931 (floatformat_from_type, extract_typed_floating)
1932 (store_typed_floating): Likewise.
1933 * doublest.h: Remove declarations for undefined floatformat arrays.
1934 * gdbarch.sh (float_format, double_format, long_double_format): Change
1935 to pairs.
1936 (pformat): Update for pairs.
1937 * gdbarch.c, gdbarch.h: Regenerated.
1938 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
1939 (floatformats_ieee_double_littlebyte_bigword)
1940 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
1941 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
1942 (floatformats_vax_d): New variables.
1943 (builtin_type_ieee_single, builtin_type_ieee_double)
1944 (builtin_type_arm_ext, builtin_type_ia64_spill)
1945 (builtin_type_ia64_quad): Replace arrays with individual types.
1946 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
1947 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
1948 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
1949 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
1950 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
1951 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1952 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
1953 unused and endian-specific types.
1954 (recursive_dump_type): Update for floatformat pairs.
1955 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
1956 (build_gdbtypes): Use build_flt.
1957 (_initialize_gdbtypes): Update set of initialized types.
1958 * gdbtypes.h: Update declarations to match gdbtypes.c.
1959 (struct main_type): Store a pointer to two floatformats.
1960 * arch-utils.c (default_float_format, default_double_format): Delete.
1961 * arch-utils.h (default_float_format, default_double_format): Delete.
1962
1963 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
1964 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
1965 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
1966 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
1967 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
1968
1969 2007-01-29 Joel Brobecker <brobecker@adacore.com>
1970
1971 * target.c (maintenance_print_target_stack): New function.
1972 (initialize_targets): Add new "maintenance print target-stack"
1973 command.
1974
1975 2007-01-28 Mark Kettenis <kettenis@gnu.org>
1976
1977 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
1978
1979 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
1980
1981 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
1982 (struct dwarf2_loclist_baton): Likewise.
1983
1984 2007-01-27 Eli Zaretskii <eliz@gnu.org>
1985
1986 * cli/cli-script.c: Include breakpoint.h.
1987 (build_command_line): Require arguments only for if and while
1988 commands.
1989 (get_command_line, execute_user_command, execute_control_command):
1990 Fix wording of warning messages.
1991 (print_command_lines): Print breakpoint commands.
1992 (execute_control_command): Call commands_from_control_command to
1993 handle the `commands' command inside a body of a flow-control
1994 command.
1995 (read_next_line): Recognize the `commands' command and build a
1996 command line structure for it.
1997 (recurse_read_control_structure, read_command_lines): Handle
1998 `commands' similarly to `if' and `while'.
1999
2000 * breakpoint.c (get_number_trailer): Document the special meaning
2001 of NULL as the first argument PP.
2002 (commands_from_control_command): New function.
2003
2004 * breakpoint.h (commands_from_control_command): Add prototype.
2005
2006 * defs.h (commands_control): New enumerated value for enum
2007 command_control_type.
2008
2009 2007-01-26 Joel Brobecker <brobecker@adacore.com>
2010
2011 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
2012 (ada_exception_sal): Update accordingly.
2013
2014 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2015
2016 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
2017 * NEWS: Describe CHAR array vs. string identifcation rules.
2018
2019 2007-01-25 Paul Brook <paul@codesourcery.com>
2020
2021 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
2022
2023 2007-01-24 Jim Blandy <jimb@codesourcery.com>
2024
2025 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
2026 expression is empty, bother to return the 'optimized out' value we
2027 construct. (Thanks to Carl Burch.)
2028
2029 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
2030
2031 * varobj.c (c_value_of_root, c_value_of_child)
2032 (cplus_describe_child): Don't call release_value.
2033
2034 2007-01-24 Thiemo Seufer <ths@mips.com>
2035
2036 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
2037 initialization.
2038
2039 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
2040
2041 Refactor getting children name, value and type access
2042 for varobjs in C++.
2043 * varobj.c (get_type_deref): Remove.
2044 (adjust_value_for_child_access): New.
2045 (c_number_of_children): Use the above.
2046 (c_describe_child): Likewise.
2047 (enum accessibility): New.
2048 (match_accessibility): New function.
2049 (cplus_describe_child): New function.
2050 (cplus_name_of_child, cplus_value_of_child)
2051 (cplus_type_of_child): Reimplement in terms
2052 of cplus_describe_child.
2053 (cplus_number_of_children): Use
2054 adjust_value_for_child_access.
2055
2056 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
2057
2058 Fix computation of the 'editable' attribute and
2059 value changeability for for references.
2060 * varobj.c (get_value_type): New function.
2061 (c_variable_editable): Use get_value_type.
2062 (varobj_value_is_changeable): Likewise.
2063
2064 2007-01-24 Joel Brobecker <brobecker@adacore.com>
2065
2066 * source.c (find_and_open_source): Try rewriting the source
2067 path inside filename if dirname is NULL.
2068
2069 2007-01-24 Joel Brobecker <brobecker@adacore.com>
2070
2071 * dwarf2read.c (add_partial_symbol): Create an extra partial
2072 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
2073 (new_symbol): Likewise for symbols.
2074
2075 2007-01-24 Nick Roberts <nickrob@snap.net.nz>
2076
2077 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
2078
2079 2007-01-23 Vladimir Prus <vladimir@codesourcery.com>
2080
2081 * value.c (value_primitive_field): Copy the full 'location'
2082 contents, instead of assuming that copying ADDRESS will
2083 bring over everything in the union. Remove obsolete comment.
2084
2085 2007-01-23 Masaki Muranaka <monaka@monami-software.com>
2086
2087 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
2088 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
2089 (m32c_m16c_pointer_to_address): Separate code from declarations.
2090
2091 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
2092
2093 * target.c (update_current_target): Correct typo.
2094
2095 2007-01-22 Masaki Muranaka <monaka@monami-software.com>
2096
2097 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
2098 declaration.
2099
2100 2007-01-11 Andrew Cagney <cagney@redhat.com>
2101 Daniel Jacobowitz <dan@codesourcery.com>
2102 Jan Kratochvil <jan.kratochvil@redhat.com>
2103
2104 * dwarf2-frame.c (execute_cfa_program): New support of
2105 `DW_CFA_GNU_negative_offset_extended'.
2106
2107 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
2108
2109 * NEWS: Mention flash support for "load" and new remote packets.
2110
2111 2007-01-21 Markus Deuling <deuling@de.ibm.com>
2112
2113 * breakpoint.c (delete_command): Skip redundant loop iterations.
2114
2115 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
2116
2117 * gdbarch.sh (register_type): Update comment.
2118 * gdbarch.h: Regenerated.
2119 * arch-utils.c (generic_register_size): Call register_type.
2120 * ia64-tdep.c (ia64_extract_return_value): Likewise.
2121 * m32c-tdep.c (check_for_saved): Likewise.
2122 * mips-tdep.c (mips_print_register, print_gp_register_row)
2123 (mips_print_registers_info): Likewise.
2124 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
2125 Likewise.
2126 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
2127 (sh64_do_register, sh64_print_register)
2128 (sh64_media_print_registers_info): Likewise.
2129 * tui/tui-regs.c (tui_register_format): Likewise.
2130
2131 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
2132
2133 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
2134
2135 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
2136 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
2137 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
2138 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
2139 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
2140 (make_symbol_completion_list): Likewise.
2141
2142 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2143 Daniel Jacobowitz <dan@codesourcery.com>
2144
2145 * buildsym.c (end_symtab): Use preallocated symtab if available.
2146 Fill in SYMBOL_SYMTAB.
2147 * buildsym.h (struct subfile): Add symtab member.
2148 * dwarf2read.c (struct dwarf2_cu): Add line_header.
2149 (struct file_entry): Add symtab.
2150 (free_cu_line_header): New function.
2151 (read_file_scope): Use it. Save line_header in the cu. Process
2152 lines before DIEs.
2153 (add_file_name): Initialize new symtab member.
2154 (dwarf_decode_lines): Create symtabs for included files.
2155 (new_symbol): Set SYMBOL_SYMTAB.
2156 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
2157 (search_symbols): Likewise.
2158 * symtab.h (struct symbol): Add symtab member.
2159 (SYMBOL_SYMTAB): Define.
2160
2161 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2162
2163 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
2164
2165 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2166
2167 * arch-utils.c (show_endian): Correct reversed condition.
2168
2169 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2170
2171 * MAINTAINERS (Write After Approval): Add myself.
2172
2173 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
2174 Vladimir Prus <vladimir@codesourcery.com>
2175
2176 Fix 'selected frame' varobjs.
2177 * varobj.c (struct varobj): Remove the error field.
2178 (varobj_set_value): Don't check var->error.
2179 (install_new_value): Don't set var->error.
2180 (varobj_update): Always pass the new value
2181 of the root via install_new_value.
2182 (create_child): Don't set error field.
2183 (new_variable): Likewise.
2184 (c_value_of_root): Always reevaluate the value
2185 of selected frame varobjs in the selected frame.
2186 Don't call reinit_frame_cache.
2187
2188 2007-01-15 Joel Brobecker <brobecker@adacore.com>
2189
2190 * source.c (_initialize_source): Improve the help text of
2191 the substitute-path commands.
2192
2193 2007-01-14 Mark Kettenis <kettenis@gnu.org>
2194
2195 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
2196 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
2197 (frv_skip_prologue): Remove prototypes.
2198 (frv_adjust_breakpoint_address): Renamed from
2199 frv_gdbarch_adjust_breakpoint_address.
2200 (frv_gdbarch_init): Adjust.
2201
2202 2007-01-13 Mark Kettenis <kettenis@gnu.org>
2203
2204 * gdbarch.sh (deprecated_extract_return_value)
2205 (deprecated_store_return_value): Remove.
2206 (extract_return_value, store_return_value): Remove default values.
2207 * gdbarch.c, gdbarch.h: Regenerate.
2208 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
2209 (legacy_store_return_value): Remove.
2210 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
2211 Remove.
2212
2213 * mi/mi-main.c: Remove obsolete comment.
2214
2215 * regcache.c, regcache.h (deprecated_register_bytes)
2216 (deprecated_read_register_bytes)
2217 (deprecated_write_register_bytes): Remove.
2218
2219 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
2220 Don't forget to move destination pointer.
2221
2222 2007-01-01 Mark Kettenis <kettenis@gnu.org>
2223
2224 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
2225
2226 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
2227
2228 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
2229 past entry function with recent newlib.
2230
2231 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
2232
2233 * gdb.texinfo (GDB/MI Variable Objects): Improve the
2234 introduction. Specify -var-update more exactly.
2235
2236 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
2237
2238 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
2239
2240 2007-01-10 Jim Blandy <jimb@codesourcery.com>
2241
2242 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
2243 the Global Maintainers' invitation to be a global maintainer.
2244
2245 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
2246
2247 * infrun.c (singlestep_pc): New variable.
2248 (resume): Set singlestep_pc.
2249 (context_switch): Add a debugging message. Flush the frame cache.
2250 (handle_inferior_event): Add debugging messages. Handle thread
2251 hops when a software single step has completed. Let context_switch
2252 handle flushing the frame cache.
2253
2254 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2255
2256 * NEWS: Mention target descriptions, "set tdesc filename",
2257 "unset tdesc filename", "show tdesc filename", and
2258 qXfer:features:read.
2259 * arch-utils.c (choose_architecture_for_target): New function.
2260 (gdbarch_info_fill): Call it.
2261 * target-descriptions.c (struct property): Make members non-const.
2262 (struct target_desc): Add arch member.
2263 (target_description_filename): New variable.
2264 (target_find_description): Try via XML first.
2265 (tdesc_architecture): New.
2266 (free_target_description, make_cleanup_free_target_description): New.
2267 (set_tdesc_property): Call xstrdup.
2268 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
2269 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
2270 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
2271 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
2272 * target-descriptions.h (tdesc_architecture)
2273 (make_cleanup_free_target_description, set_tdesc_architecture): New
2274 prototypes.
2275 * Makefile.in (SFILES): Add xml-tdesc.c.
2276 (COMMON_OBS): Add xml-tdesc.o.
2277 (target-descriptions.o): Update.
2278 (xml-tdesc.o): New rule.
2279 * xml-tdesc.c, xml-tdesc.h: New files.
2280 * remote.c (PACKET_qXfer_features): New enum.
2281 (remote_protocol_features): Add qXfer:features:read.
2282 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
2283 (_initialize_remote): Register qXfer:features:read.
2284 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
2285 * features/gdb-target.dtd: New file.
2286
2287 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2288
2289 * copyright.sh: Clarify error.
2290
2291 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2292
2293 * symtab.c (matching_bfd_sections): Fix VMA matching for
2294 prelinked objects.
2295
2296 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2297
2298 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
2299 nested symbols.
2300
2301 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2302
2303 Updated copyright notices for most files.
2304
2305 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2306
2307 * copyright.sh (prunes): Add step-line.inp and step-line.c.
2308
2309 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2310
2311 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
2312 exec_prefix.
2313 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
2314 '${prefix}'.
2315 * configure, config.in: Regenerate.
2316 * defs.h (debug_file_directory): Declare.
2317 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
2318 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
2319 relocate it if DEBUGDIR_RELOCATABLE.
2320 * symfile.c (debug_file_directory): Make non-static.
2321 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
2322 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
2323 (_initialize_symfile): Don't initialize debug_file_directory here.
2324
2325 2007-01-09 Jim Blandy <jimb@codesourcery.com>
2326
2327 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
2328 statements.
2329
2330 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2331
2332 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
2333 frame_unwind_register to recurse.
2334 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
2335 (alpha_heuristic_frame_prev_register): Likewise.
2336 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
2337 * m32c-tdep.c (m32c_prev_register): Likewise.
2338 * frame.c (frame_register_unwind_location): Remove FIXME.
2339
2340 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2341 Eli Zaretskii <eliz@gnu.org>
2342
2343 * copyright.sh: New file.
2344
2345 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
2346
2347 * configure.ac: Check for XML_StopParser.
2348 * xml-support.c (gdb_xml_body_text): Check for an error.
2349 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
2350 (gdb_xml_end_element_wrapper): Likewise.
2351 * config.in, configure: Regenerated.
2352
2353 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2354
2355 * varobj.c (install_new_value): Always update print_value.
2356 (value_get_print_value): Immediately return NULL for missing
2357 values.
2358
2359 2007-01-08 Jim Blandy <jimb@codesourcery.com>
2360
2361 * configure.ac: Tighten pattern for extracting value of
2362 DEPRECATED_TM_FILE from the target makefile fragment.
2363 * configure: Regenerated.
2364
2365 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2366
2367 * linux-nat.c (struct simple_pid_list): Add status.
2368 (add_to_pid_list): Record the PID's status.
2369 (linux_record_stopped_pid): Likewise. Make static.
2370 (pull_pid_from_list): Return the saved status.
2371 (linux_nat_handle_extended): Deleted.
2372 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
2373 Make static. Handle non-SIGSTOP for a new thread's first signal.
2374 (flush_callback): Handle unexpected pending signals.
2375 (linux_nat_wait): Update calls to changed functions.
2376 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
2377 Remove prototypes for newly static functions.
2378
2379 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2380
2381 * gdbarch.sh (value_from_register): New gdbarch function.
2382 * gdbarch.c, gdbarch.h: Regenerate.
2383 * findvar.c (default_value_from_register): New function.
2384 (value_from_register): Use gdbarch_value_from_register.
2385 * value.h (default_value_from_register): Declare.
2386 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
2387 spu_value_to_register): Remove.
2388 (spu_value_from_register): New function.
2389 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
2390 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
2391 Call set_gdbarch_value_from_register.
2392 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
2393 s390_value_to_register): Remove.
2394 (s390_value_from_register): New function.
2395 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
2396 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
2397 Call set_gdbarch_value_from_register.
2398
2399 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2400
2401 * NEWS: Add "set sysroot" and "show sysroot".
2402 * solib.c (solib_absolute_prefix): Delete. Replace
2403 all uses with gdb_sysroot.
2404 (_initialize_solib): Add "set sysroot" and "show sysroot".
2405 Make "solib-absolute-prefix" an alias to it.
2406
2407 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
2408
2409 * frame.c (get_frame_register_bytes): New function.
2410 (put_frame_register_bytes): Likewise.
2411 * frame.h (get_frame_register_bytes): Declare.
2412 (put_frame_register_bytes): Likewise.
2413 * findvar.c (value_from_register): Always construct lval_register
2414 values. Use get_frame_register_bytes.
2415 * valops.c (value_assign): Use get_frame_register_bytes and
2416 put_frame_register_bytes.
2417
2418 2007-01-08 Jim Blandy <jimb@codesourcery.com>
2419
2420 * MAINTAINERS: Update Stan Shebs' email address.
2421
2422 2007-01-07 Joel Brobecker <brobecker@adacore.com>
2423
2424 * ada-lang.c (is_known_support_routine): Improve the implementation.
2425
2426 2007-01-06 Joel Brobecker <brobecker@adacore.com>
2427
2428 * ada-lang.c: Add include of source.h.
2429 (is_known_support_routine): Improve the check verifying that the file
2430 associated to this frame exists.
2431 * Makefile.in (ada-lang.o): Add dependency on source.h.
2432
2433 2007-01-07 Jim Blandy <jimb@codesourcery.com>
2434
2435 * ax-general.c (ax_const_l): Select proper opcode for the given
2436 value.
2437
2438 2007-01-05 Vladimir Prus <vladimir@codesourcery.com>
2439
2440 * varobj.c (c_value_of_root): Don't select frame if variable
2441 object is out of scope.
2442
2443 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
2444
2445 * varobj.c (struct varobj): New member print_value.
2446 (install_new_value): Compare last printed value with current one
2447 instead of contents.
2448 (new_variable): Initialize var->print_value to NULL.
2449 (free_variable): Free var->print_value.
2450 (value_get_print_value): New function derived from
2451 c_value_of_variable.
2452 (c_value_of_variable): Use value_get_print_value.
2453
2454 2007-01-05 Joel Brobecker <brobecker@adacore.com>
2455
2456 * i386-tdep.c (i386_analyze_stack_align): Add comment.
2457
2458 2007-01-05 Joel Brobecker <brobecker@adacore.com>
2459
2460 * NEWS: Add entries for new catch commands.
2461
2462 2007-01-05 Joel Brobecker <brobecker@adacore.com>
2463
2464 * dwarf2read.c (partial_die_info): Add field has_byte_size.
2465 (add_partial_symbol): Correct identification of external references.
2466 (process_structure_scope): Likewise.
2467 (read_partial_die): Handle DW_AT_byte_size attribute.
2468
2469 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
2470
2471 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
2472
2473 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
2474
2475 * varobj.c (get_type_deref): Fix variable objects for references to
2476 pointers.
2477
2478 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2479
2480 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
2481 with no symbols.
2482
2483 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2484
2485 * memory-map.c (struct_memory_map_parsing_data): Remove most
2486 members. Make property_name an array.
2487 (free_memory_map_parsing_data, memory_map_start_element)
2488 (memory_map_end_element, memory_map_character_data): Delete.
2489 (memory_map_start_memory, memory_map_end_memory)
2490 (memory_map_start_property, memory_map_end_property): New functions.
2491 (property_attributes, memory_children, memory_type_enum)
2492 (memory_attributes, memory_map_children, memory_map_elements): New.
2493 (parse_memory_map): Rewrite.
2494 * xml-support.c (debug_xml): New.
2495 (xml_get_required_attribute, xml_get_integer_attribute)
2496 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
2497 Delete.
2498 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
2499 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
2500 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
2501 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
2502 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
2503 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
2504 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
2505 New.
2506 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
2507 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
2508 (enum gdb_xml_element_flag, struct gdb_xml_element)
2509 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
2510 (struct gdb_xml_enum): New.
2511 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
2512 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
2513 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
2514 (xml_get_required_attribute, xml_get_integer_attribute)
2515 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
2516 * Makefile.in (xml_support_h, xml-support.o): Update.
2517
2518 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2519
2520 * Makefile.in (eval.o): Update dependencies.
2521 * eval.c: Include "ui-out.h" and "exceptions.h".
2522 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
2523 Use value_zero if an error occurs when avoiding side effects.
2524 * varobj.c (c_value_of_root): Initialize new_val.
2525
2526 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2527
2528 * varobj.c (varobj_list_children): Stop if the number of children is
2529 unknown.
2530 (c_number_of_children):
2531
2532 2007-01-04 Mark Kettenis <kettenis@gnu.org>
2533
2534 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
2535 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
2536 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
2537 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
2538 sizeof, instead of hardcoded constants.
2539
2540 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2541
2542 * CONTRIBUTE: Use sourceware.org.
2543
2544 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2545
2546 * buildsym.c (start_subfile): Handle producer.
2547 (record_producer): New function.
2548 * buildsym.h (struct subfile): Include producer.
2549 (record_producer): New prototype.
2550 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
2551 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
2552 armcc_cfa_offsets_reversed.
2553 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
2554 (dwarf2_frame_find_quirks): New function.
2555 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
2556 (decode_frame_entry_1): Record the CIE version. Record the
2557 augmentation. Skip armcc augmentations.
2558 * dwarf2read.c (read_file_scope): Save the producer.
2559 * symtab.h (struct symtab): Rename unused version member to
2560 producer.
2561
2562 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2563
2564 * configure.ac (build_warnings): Use -Wall and
2565 -Wdeclaration-after-statement.
2566 * configure: Regenerated.
2567
2568 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2569
2570 Simplify access to variours properties of child
2571 variable objects in C.
2572 * varobj.c (value_struct_element_index): New function.
2573 (c_describe_child): New function.
2574 (c_name_of_child, c_value_of_child)
2575 (c_type_of_child): Rewrite to use c_describe_child.
2576
2577 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2578
2579 gdb/
2580 * varobj.c: Include "vec.h".
2581 (varobj_p): New typedef, declare vector of those.
2582 (struct varobj): Use vector for the 'children' member.
2583 (child_exists): Remove.
2584 (save_child_in_parent): Remove.
2585 (remove_child_from_parent): Remove.
2586 (struct varobj_child): Remove.
2587 (struct vstack): Remove.
2588 (vpush, vpop): Remove.
2589 (varobj_list_children): Adjust to work work vector.
2590 (varobj_update): Likewise. Use vectors for
2591 working stack and result.
2592 (delete_variable_1): Likewise.
2593 * Makefile.in (varobj.o): Update dependencies.
2594
2595 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
2596
2597 Port from Apple's version.
2598 gdb/
2599 * varobj.c (type_changeable): Rename to...
2600 (varobj_value_is_changeable_p): ...this. Adjust all callers.
2601 (is_root_p): New function. Use it everywhere.
2602
2603 2007-01-04 Jim Blandy <jimb@codesourcery.com>
2604
2605 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
2606 then plain 'fixup'.
2607
2608 2007-01-04 Joel Brobecker <brobecker@adacore.com>
2609
2610 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
2611
2612 2007-01-04 Joel Brobecker <brobecker@adacore.com>
2613
2614 * hpread.c (hpread_type_lookup): Fix compilation failure.
2615
2616 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
2617
2618 * NEWS: New port to S+core.
2619 * MAINTAINERS (Write After Approval, Responsible Maintainers):
2620 Add myself.
2621
2622 * Makefile.in: Add dependencies for S+core files.
2623 * configure.tgt (score*, score-*-*): Add S+core target.
2624 * config/score/embed.mt: New file.
2625 * score-tdep.c: New file.
2626 * score-tdep.h: New file.
2627
2628 2007-01-04 Joel Brobecker <brobecker@adacore.com>
2629
2630 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
2631 the appropriate type rather than a bogus void type.
2632
2633 2007-01-04 Joel Brobecker <brobecker@adacore.com>
2634
2635 * ada-lang.h (ada_find_printable_frame): Remove.
2636 (ada_exception_catchpoint_p, ada_decode_exception_location)
2637 (ada_decode_assert_location): Add declaration.
2638 * ada-lang.c: Add include of annotate.h and valprint.h.
2639 (exception_catchpoint_kind): New enum.
2640 (function_name_from_pc, is_known_support_routine)
2641 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
2642 (ada_exception_name_addr_1, ada_exception_name_addr)
2643 (print_it_exception, print_one_exception, print_mention_exception)
2644 (print_it_catch_exception, print_one_catch_exception)
2645 (print_mention_catch_exception, catch_exception_breakpoint_ops)
2646 (print_it_catch_exception_unhandled)
2647 (print_one_catch_exception_unhandled)
2648 (print_mention_catch_exception_unhandled, print_it_catch_assert)
2649 (print_one_catch_assert, print_mention_catch_assert)
2650 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
2651 (ada_get_next_arg, catch_ada_exception_command_split)
2652 (ada_exception_sym_name, ada_exception_sym_name)
2653 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
2654 (ada_parse_catchpoint_condition, ada_exception_sal)
2655 (ada_decode_exception_location)
2656 (ada_decode_assert_location): New function.
2657 (catch_exception_unhandled_breakpoint_ops): New global variable.
2658 (catch_assert_breakpoint_ops): New global variable.
2659 * breakpoint.c: Add include of ada-lang.h.
2660 (print_one_breakpoint): Do not print the condition for Ada
2661 exception catchpoints.
2662 (create_ada_exception_breakpoint): New function.
2663 (catch_ada_exception_command, catch_assert_command): New function.
2664 (catch_command_1): Add support for the new "catch exception" and
2665 "catch assert" commands.
2666 (_initialize_breakpoint): Add help description for the new catch
2667 commands.
2668 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
2669 valprint.h.
2670 (breakpoint.o): Add dependency on ada-lang.h.
2671
2672 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
2673
2674 * coffread.c (cs_to_section): If bfd_section is found, always
2675 return its section index.
2676 (coff_symtab_read): Determine the minimal_symbol_type using the
2677 bfd_section flags.
2678
2679 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2680 Daniel Jacobowitz <dan@codesourcery.com>
2681
2682 * Makefile.in (top.o): Update.
2683 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
2684 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
2685 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
2686 New.
2687 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
2688
2689 2007-01-03 Mark Kettenis <kettenis@gnu.org>
2690
2691 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
2692 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
2693
2694 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
2695
2696 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
2697 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
2698 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
2699 greater than or equal to zero.
2700 * m2-typeprint.c (m2_array): Likewise.
2701 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
2702 * gdbtypes.c (copy_type_recursive): Correct == typo.
2703 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
2704 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
2705 greater than zero.
2706 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
2707 (default_macro_scope): Remove unused variable.
2708 * prologue-value.h (pv_area_find_reg): Don't name an argument
2709 "register".
2710 * remote-fileio.c (remote_fio_func_map): Add missing braces.
2711 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
2712 type.
2713 (cleanup_sigint_signal_handler): Remove casts.
2714 * valprint.c (val_print): Use a volatile local for the modified
2715 argument.
2716 * varobj.c (languages): Remove extra array dimension.
2717 (varobj_create): Correct access to languages array.
2718 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
2719 missing braces.
2720 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
2721 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
2722 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
2723 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
2724 (mi_cmd_data_write_memory): Likewise.
2725 * signals/signals.c (target_signal_to_string): Cast to int before
2726 comparing.
2727 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
2728 Update all callers.
2729
2730 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
2731
2732 * NEWS: Mention pointer to member improvements.
2733 * Makefile.in (gnu-v3-abi.o): Delete special rule.
2734 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
2735 * ada-valprint.c (ada_print_scalar): Update for new type codes.
2736 * c-typeprint.c (c_print_type): Update for new type codes.
2737 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
2738 (c_type_print_base): Likewise.
2739 (c_type_print_args): Rewrite.
2740 * c-valprint.c (c_val_print): Update for new type codes. Remove
2741 support for references to members. Treat methods like functions.
2742 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
2743 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
2744 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
2745 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
2746 (struct cp_abi_ops): Add corresponding members.
2747 * cp-valprint.c (cp_print_class_method): Delete.
2748 (cp_find_class_member): New function.
2749 (cp_print_class_member): Use it. Simplify support for bogus
2750 member pointers.
2751 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
2752 lookup_methodptr_type.
2753 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
2754 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
2755 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
2756 pointer support.
2757 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
2758 references returned by user defined operators.
2759 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
2760 (f_type_print_varspec_suffix): Remove support for member pointers.
2761 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
2762 and adjusted.
2763 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
2764 (lookup_methodptr_type): New.
2765 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
2766 (recursive_dump_type): Update for new types.
2767 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
2768 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
2769 (lookup_memberptr_type, lookup_methodptr_type)
2770 (smash_to_memberptr_type): New prototypes.
2771 (smash_to_method_type): Formatting fix.
2772 (lookup_member_type, smash_to_member_type): Delete prototypes.
2773 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
2774 Do not rely on debug information for the vptr or the method's
2775 enclosing type. Handle function descriptors for IA64.
2776 (gnuv3_virtual_fn_field): Rewrite using the new functions.
2777 (gnuv3_find_method_in, gnuv3_print_method_ptr)
2778 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
2779 (gnuv3_method_ptr_to_value): New.
2780 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
2781 * hpread.c (hpread_type_lookup): Update for new types.
2782 * infcall.c (value_arg_coerce): Likewise.
2783 * m2-typeprint.c (m2_print_type): Remove explicit support
2784 for member pointers.
2785 * m2-valprint.c (m2_val_print): Likewise.
2786 * p-typeprint.c (pascal_type_print_varspec_prefix)
2787 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
2788 * p-valprint.c (pascal_val_print): Likewise.
2789 (pascal_object_print_class_method, pascal_object_print_class_member):
2790 Delete.
2791 * p-lang.h (pascal_object_print_class_method)
2792 (pascal_object_print_class_member): Delete prototypes.
2793 * stabsread.c (read_type): Update for new types.
2794 * typeprint.c (print_type_scalar): Likewise.
2795 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
2796 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
2797 argument. Construct a pointer to member if the address of a
2798 function or data member is requested.
2799 (value_cast_pointers): Don't modify the input value.
2800 (value_cast): Adjust pointer to member handling for new types.
2801 Allow null pointer to member constants. Don't modify the input
2802 value.
2803 (value_ind): Remove pointer to member check. Handle function
2804 descriptors for function pointers.
2805 (value_struct_elt, value_find_oload_method_list, check_field):
2806 Remove pointer to member checks.
2807 * value.c (unpack_long): Allow pointers to data members.
2808 (value_from_longest): Allow member pointers.
2809 * value.h (value_aggregate_elt): Add want_address.
2810 * varobj.c (c_variable_editable): Remove check for members.
2811 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
2812 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
2813 in virtual tables.
2814 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
2815 * c-lang.h (cp_print_class_method): Delete prototype.
2816 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
2817 * mips-tdep.c (mips_gdbarch_init): Likewise.
2818 * gdbarch.c, gdbarch.h: Regenerated.
2819
2820 2007-01-01 Mark Kettenis <kettenis@gnu.org>
2821
2822 * rs6000-tdep.c (rs6000_use_struct_convention)
2823 (rs6000_extract_return_value, rs6000_store_return_value)
2824 (rs6000_extract_struct_value_address): Remove.
2825 (rs6000_return_value): New function.
2826 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
2827 store_return_value, deprecated_extract_struct_value_address and
2828 deprecated_use_struct_convention. Use rs6000_return_value
2829 instead.
2830
2831 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
2832
2833 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
2834 -display-disable, -display-enable, -display-insert and
2835 -display-list.
2836
2837 2007-01-01 Joel Brobecker <brobecker@adacore.com>
2838
2839 * breakpoint.c (remove_breakpoint): Remove dead code.
2840
2841 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
2842
2843 * varobj.c: Include block.h.
2844 (c_value_of_root): Check scope within nested statements.
2845
2846 2007-01-01 Mark Kettenis <kettenis@gnu.org>
2847
2848 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
2849 regcache_cooked_write_signed instead of
2850 deprecated_write_register_bytes.
2851
2852 2007-01-01 Joel Brobecker <brobecker@adacore.com>
2853
2854 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
2855
2856 2007-01-01 Joel Brobecker <brobecker@adacore.com>
2857
2858 Followed the Start of New Year Procedure:
2859 * ChangeLog-2006: New file, containing all the entries for 2006.
2860 * ChangeLog: Removed all 2006 entries, and changed the reference
2861 to the previous ChangeLog to point to ChangeLog 2006.
2862 * top.c (print_gdb_version): Update copyright year.
2863
2864 2007-01-01 Mark Kettenis <kettenis@gnu.org>
2865
2866 * Makefile.in (remote-sds.o): Remove.
2867 * remote-sds.c: Delete.
2868
2869 For older changes see ChangeLog-2006.
2870 \f
2871 Local Variables:
2872 mode: change-log
2873 left-margin: 8
2874 fill-column: 74
2875 version-control: never
2876 End: