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