*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
69fbadd5
DJ
12006-12-18 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * breakpoint.c (watchpoint_check): Double-check the found frame.
4
84c5b489
MK
52006-12-17 Nick Hudson <skrll@netbsd.org>
6 Mark Kettenis <kettenis@gnu.org>
7
8 * i386nbsd-nat.c: Include "nbsd-nat.h".
9 (_initialize_i386nbsd_nat): Update target vector to use
10 nbsd_pid_to_exec_file.
11 * config/i386/nbsdelf.mh (NATDEPFILES): Add nbsd-nat.o.
12 * config/i386/nbsdaout.mh (NATDEPFILES): Add nbsd-nat.o.
13 * nbsd-nat.c: New file.
14 * nbsd-nat.h: New file.
15 * Makefile.in (ALLDEPFILES): Add nbsd-nat.c.
16 (nbsd_nat_h): New variable.
17 (nbsd-nat.o): New dependency.
18
d0e5500c
DJ
192006-12-16 Daniel Jacobowitz <dan@codesourcery.com>
20
21 * Makefile.in (ALLDEPFILES): Remove mipsv4-nat.c.
22 (mipsv4-nat.o): Delete.
23 * mipsv4-nat.c: Delete.
24
f3d77086
DJ
252006-12-16 Daniel Jacobowitz <dan@codesourcery.com>
26
27 * dve3900-rom.c: Delete file.
28 * Makefile.in (dve3900-rom.o): Delete.
29
6213115e
DJ
302006-12-16 Daniel Jacobowitz <dan@codesourcery.com>
31
32 * vx-share/README: Delete file.
33
1e17aef8
MK
342006-12-16 Mark Kettenis <kettenis@gnu.org>
35
5d0fc17b
MK
36 * i386obsd-nat.c: Include "gdbcore.h", "regcache.h", "target.h",
37 <machine/frame.h>, <machine/pcb.h>, "i386bsd-nat.h" and
38 "bsd-kvm.h".
39 (i386obsd_supply_pcb): New function.
40 (_initialize_i386obsd_nat): Construct and add target
41 vector. Enable libkvm interface.
42 * Makefile.in (i386obsd-nat.o): Update dependencies.
43 * config/i386/obsd.mh (NATDEPFILES): Remove i386nbsd-nat.c
44
37e28b92
MK
45 * sparcobsd-tdep.c: Fix typo.
46
bd372731
MK
47 Add OpenBSD/sh native support.
48 * NEWS (New native configurations): Mention OpenBSD/sh.
49 * configure.host: Add sh*-*-openbsd*.
50 * shnbsd-nat.c: Include "inf-ptrace.h".
51 (shnbsd_fetch_inferior_registers): Rename from
52 fetch_inferior_registers. Make static.
53 (shnbsd_store_inferior_registers): Rename from
54 store_inferior_registers. Make static.
55 (_initialize_shnbsd_nat): New function.
56 * Makefile.in (shnbsd-nat.o): Update dependencies.
57 * config/sh/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove.
58 (NATDEPFILES): Remove infptrace.o and inftarg.o. Add
59 inf-ptrace.o.
60
54fe9172
MK
61 Add OpenBSD/sh support.
62 * NEWS (New targets): Mention OpenBSD/sh.
63 * configure.tgt: Add sh*-*-openbsd*.
64 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Register handler for
65 GDB_OSABI_OPENBSD_ELF.
66 * config/sh/obsd.mt: New file.
67
1e17aef8
MK
68 * ppcnbsd-tdep.c: Fix typo in comment.
69
9c7deb13
MK
702006-12-15 Mark Kettenis <kettenis@gnu.org>
71
72 * remote-fileio.c (remote_fileio_mode_to_target): Use
73 S_ISREG/S_ISDIR/S_ISCHR macros instead of S_IFREG/S_IFDIR/S_IFCHR.
74
0767c96d
DJ
752006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
76
77 * breakpoint.c (insert_bp_location): Add newline to note.
78
f6cf9273
AM
792006-12-15 Alan Modra <amodra@bigpond.net.au>
80
81 * spu-linux-nat.c (spu_bfd_iovec_stat): New function.
82 (spu_bfd_open): Adjust bfd_openr_iovec call.
83
6f7c8fc2
JB
842006-12-13 Jim Blandy <jimb@codesourcery.com>
85
86 * value.c (value_copy): Copy the full 'location' contents, instead
87 of assuming that copying ADDRESS will bring over everything in the
88 union.
89
f2d43c2c
UW
902006-12-13 Markus Deuling <deuling@de.ibm.com>
91
92 * spu-tdep.c (spu_init_vector_type): New function.
93 (spu_builtin_type_vec128.): New static variable.
94 (spu_register_type): Return spu_builtin_type_vec128 as default.
95 (_initialize_spu_tdep): Call spu_init_vector_type.
96
002c07a9
CV
972006-12-09 Corinna Vinschen <vinschen@redhat.com>
98
99 * win32-nat.c (env_sort): Remove.
100 (win32_create_inferior): Remove code which creates a Windows
101 environment. Use Cygwin function call instead. Propagate
102 current environment to inferior process.
103
3dca6e60
NR
1042006-12-09 Nick Roberts <nickrob@snap.net.nz>
105
106 * varobj.c (varobj_update): Ensure frame is restored when
107 variable object is out of scope.
108
520b03f9
EZ
1092006-12-08 Eli Zaretskii <eliz@gnu.org>
110
111 * MAINTAINERS: Clarify the meaning of an ``obvious fix'' in the
112 docs.
113
b26ed50d
VP
1142006-12-08 Vladimir Prus <vladimir@codesourcery.com>
115
116 * varobj.c (varobj_create): Don't call release_value.
117 (varobj_set_value): Likewise.
118 (install_new_value): Call coerce_ref and release_value
119 on the value. Add asserts.
120
ba17f7aa
NR
1212006-12-08 Nick Roberts <nickrob@snap.net.nz>
122
123 * mi/mi-cmd-var.c (mi_cmd_var_update): Fix memory leak.
124
2372d65a
JB
1252006-12-06 Jim Blandy <jimb@codesourcery.com>
126
127 * gdbtypes.c: Revert 2006-12-05 change, and explain why.
128
fa3fd85b
AS
1292006-12-06 Andrew Stubbs <andrew.stubbs@st.com>
130
131 * event-top.c (command_handler): On EOF, print 'quit' and run quit
132 command via execute_command such that hooks and trace work.
133 * utils.c (defaulted_query): On EOF, print default answer and newline.
134
4ae4f4fb
VP
1352006-12-06 Vladimir Prus <vladimir@codesourcery.com>
136
137 * varobj.c (cplus_value_of_child): When accessing
138 base suboject, don't specially process references.
139
b3d379e4
AN
1402006-12-05 Adam Nemet <anemet@caviumnetworks.com>
141
142 * MAINTAINERS (Write After Approval): Add myself.
143
8f2e9323
JB
1442006-12-05 Jim Blandy <jimb@codesourcery.com>
145
146 * gdbtypes.c (built_gdbtypes): Don't set builtin_type_void here.
147 (_initialize_gdbtypes): Do it here, and don't swap it when the
148 architecture changes.
149
4ad08d87
DJ
1502006-12-05 Daniel Jacobowitz <dan@codesourcery.com>
151
152 * cp-valprint.c, p-valprint.c: Revert last change.
153
c9bb8148
DJ
1542006-12-05 Daniel Jacobowitz <dan@codesourcery.com>
155
156 * NEWS: Mention MIPS remote autodetection, mips64 gdbserver,
157 "set mem inaccessible-by-default", and "set breakpoint auto-hw".
158
9fb92a5a
L
1592006-12-05 H.J. Lu <hongjiu.lu@intel.com>
160
161 * cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
162 (cp_print_value): Likewise.
163 * p-valprint.c (pascal_object_print_value_fields): Likewise.
164 (pascal_object_print_value): Likewise.
165
ecde4882
DJ
1662006-12-05 Adam Nemet <anemet@caviumnetworks.com>
167
168 * target.c (debug_to_remove_watchpoint): Call
169 to_remove_watchpoint. Print target_remove_watchpoint.
170
08232497
DJ
1712006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
172
173 * elfread.c (elf_symtab_read): Treat weak functions as global.
174
4155b94b
JB
1752006-11-30 Jim Blandy <jimb@codesourcery.com>
176
177 * ada-lang.c (value_subscript_packed): Don't bother to set the
178 lvalue type of the returned value here;
179 ada_value_primitive_packed_val takes care of that.
180
cd9c4388
NR
1812006-11-30 Nick Roberts <nickrob@snap.net.nz>
182
183 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Remove unused
184 variable.
185
a217f3f5
VP
1862006-07-29 Vladimir Prus <vladimir@codesourcery.com>
187
188 * mi/mi-cmd-var.c (print_varobj): New function.
189 (mi_cmd_var_create): Use the above.
190 (mi_cmd_var_list_children): Likewise.
191
64d75632
VP
1922006-07-29 Vladimir Prus <vladimir@codesourcery.com>
193
194 * MAINTAINERS (Write After Approval): Add myself.
195
f1d10cfb
AS
1962006-11-29 Andrew Stubbs <andrew.stubbs@st.com>
197
198 * solib.c (solib_open): Treat bare file names as relative paths.
199
ae097835
VP
2002006-11-29 Vladimir Prus <vladimir@codesourcery.com>
201
202 * varobj.c (varobj_set_value): Don't compare the old
203 and the new value here. Don't assign new value here.
204 Instead, call install_new_value.
205
186947f7
DJ
2062006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
207
208 * regformats/reg-mips64.dat: New file.
209
29709017
DJ
2102006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
211
212 * Makefile.in (mips-tdep.o, target-descriptions.o): Update.
213 * target-descriptions.c (struct property): New.
214 (struct target_desc): Add properties member.
215 (tdesc_property, set_tdesc_property): New.
216 * target-descriptions.h (tdesc_property, set_tdesc_property):
217 Declare.
218 * mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants.
219 (struct gdbarch_tdep): Add register_size_valid_p and register_size.
220 (mips_isa_regsize): Use them.
221 (mips_register_g_packet_guesses): New.
222 (mips_gdbarch_init): Call it. If a target description is supplied,
223 check for internal properties. Check for register size mismatches.
224 * remote.c (send_g_packet, process_g_packet): New functions, split
225 out from fetch_registers_using_g.
226 (fetch_registers_using_g): Use them.
227 (struct remote_g_packet_guess, remote_g_packet_guess_s)
228 (struct remote_g_packet_data, remote_g_packet_data_handle)
229 (remote_g_packet_data_init, register_remote_g_packet_guess)
230 (remote_read_description): New.
231 (init_remote_ops, init_remote_async_ops): Set to_read_description.
232 (_initialize_remote): Register remote_g_packet_data_handle.
233 * remote.h (register_remote_g_packet_guess): Declare.
234
424163ea
DJ
2352006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
236
237 * Makefile.in (SFILES): Add new and missed files.
238 (target_descriptions_h): New.
239 (COMMON_OBS): Add target-descriptions.o.
240 (arch-utils.o, infcmd.o, remote.o, target.o): Update.
241 (target-descriptions.o): New.
242 * arch-utils.c (gdbarch_info_fill): Check for a target
243 description.
244 * target-descriptions.c, target-descriptions.h: New files.
245 * gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h.
246 Correct typos.
247 (gdbarch_list_lookup_by_info): Check target_desc.
248 * gdbarch.c, gdbarch.h: Regenerated.
249 * target.c (update_current_target): Mention to_read_description.
250 (target_pre_inferior): Call target_clear_description.
251 (target_read_description): New.
252 * target.h (struct target_ops): Add to_read_description.
253 (target_read_description): New prototype.
254 * infcmd.c (post_create_inferior): Call target_find_description.
255 * remote.c (remote_open_1): Likewise.
256 (extended_remote_create_inferior): Add a comment.
257 (extended_remote_async_create_inferior): Likewise.
258
fe072461
NR
2592006-11-29 Nick Roberts <nickrob@snap.net.nz>
260
261 * linux-thread-db.c: Include <signal.h>.
262
982e9687
UW
2632006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
264
265 * config/tm-linux.h: Delete file.
266 * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h.
267 * config/alpha/tm-alphalinux.h: Delete file.
268 * config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h
269 * config/arm/tm-linux.h: Delete file.
270 * config/i386/tm-linux.h: Do not include "config/tm-linux.h".
271 * config/ia64/tm-linux.h: Do not include "config/tm-linux.h".
272 * config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove.
273 * config/mips/tm-linux.h: Do not include "config/tm-linux.h".
274 * config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
275 * config/pa/tm-linux.h: Delete file.
276 * config/powerpc/tm-linux.h: Do not include "config/tm-linux.h".
277 * config/s390/linux.mt (DEPRECATED_TM_FILE): Remove.
278 * config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
279 * config/sh/tm-linux.h: Delete file.
280 * alpha-linux-tdep.c: Include "symtab.h".
281 (alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
282 * i386-linux-tdep.c: Include "symtab.h".
283 (i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
284 * ia64-linux-tdep.c: Include "symtab.h".
285 (ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
286 * m32r-linux-tdep.c: Include "symtab.h".
287 (m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
288 * mips-linux-tdep.c: Include "symtab.h".
289 (mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
290 * sh-linux-tdep.c: Include "symtab.h".
291 (sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
292 * s390-tdep.c (s390_gdbarch_init): Call
293 set_gdbarch_skip_trampoline_code.
294 * s390-nat.c: Do not include "tm.h".
295 * Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h).
296 (i386-linux-tdep.o): Likewise.
297 (ia64-linux-tdep.o): Likewise.
298 (m32r-linux-tdep.o): Likewise.
299 (mips-linux-tdep.o): Likewise.
300 (sh-linux-tdep.o): Likewise.
301 (s390-nat.o): Remove dependency on $(tm_h).
302
0b757755
UW
3032006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
304
305 * config/nm-linux.h: Do not include <signal.h>.
306 (REALTIME_LO, REALTIME_HI): Do not define.
307 * signals/signals.c (REALTIME_HI): Fix off-by-one bug.
308
51b57b6b
VP
3092006-11-28 Vladimir Prus <vladimir@codesourcery.com>
310
311 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
312 handlers. Free expression.
313
238ae9af
UW
3142006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
315
316 * config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
317 * config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise.
318
319 * config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ...
320 * config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here.
321
322 * config/i386/nto.mh (NAT_FILE): Define.
323 * config/i386/nto.mt (DEPRECATED_TM_FILE): Remove.
324 * config/i386/tm-nto.h: Delete file.
325 * config/tm-nto.h: Delete file.
326 * config/nm-nto.h: New file.
327
328 * Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h).
329 * nto-tdep.c: Include "objfiles.h" and <string.h>.
330
331 * coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "".
332 * xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved.
333 * config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
334
3e9a2e52
DJ
3352006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
336
337 * dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations
338 without skipping the CIE.
339
acd65feb
VP
3402006-11-28 Vladimir Prus <vladimir@codesourcery.com>
341
342 Fetch varobj values from memory in a single place,
343 and only fetch the values that are really needed.
344 * varobj.c (struct varobj): Clarify comment.
345 (my_value_equal): Remove.
346 (install_new_value): New function.
347 (type_of_child): Remove.
348 (varobj_create): Use install_new_value.
349 (varobj_set_value): Use value_contents_equal, not
350 my_value_equal.
351 (varobj_update): Use install_new_value.
352 (create_child): Likewise. Inline type_of_child here.
353 (value_of_child): Don't fetch the value.
354 (c_value_of_root): Likewise.
355 (c_value_of_variable): Likewise.
356 (type_changeable): Improve comments.
357
74ca34ce
DJ
3582006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
359
360 * remote.c (struct remote_arch_state): Doc fix.
361 (compare_pnums): New function.
362 (init_remote_state): Only allocate packet_reg structures for raw
363 registers. Define the g/G packet format separately from creating
364 packet_reg. Don't use DEPRECATED_REGISTER_BYTE.
365 (packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over
366 raw registers.
367 (register_bytes_found): Delete.
368 (fetch_register_using_p): Take a struct packet_reg. Handle disabled
369 'p' packet here. Use packet_ok.
370 (fetch_registers_using_g): New function, split out of
371 remote_fetch_registers. Check the 'g' packet more strictly. Save
372 its actual size and contents. Eliminate BUF. Only iterate over
373 raw registers.
374 (remote_fetch_registers): Use the new functions for 'p' and 'g'.
375 Mark unavailable registers.
376 (store_register_using_P): Likewise to fetch_register_using_p.
377 (store_registers_using_G): New function, split out of
378 remote_store_registers. Only iterate over raw registers. Don't
379 use register_bytes_found.
380 (remote_store_registers): Likewise to remote_fetch_registers.
381
fbcebcb1
DJ
3822006-11-28 Pedro Alves <pedro_alves@portugalmail.pt>
383
384 * coffread.c (cs_to_bfd_section): New function.
385 (cs_to_section): Use cs_to_bfd_section.
386 (record_minimal_symbol): Take the coff_symbol* parameter instead
387 of the symbol's name as a char*.
388 Add 'int section' parameter. Call prim_record_minimal_symbol_and_info
389 instead of prim_record_minimal_symbol_and_info.
390 Change return type to struct minimal_symbol *.
391 (coff_symtab_read): Adapt to new record_minimal_symbol's signature.
392 Make all minimal symbol creations go through record_minimal_symbol.
393
e86e87f7
DJ
3942006-11-28 Daniel Jacobowitz <dan@codesourcery.com>
395
396 * symtab.c (find_pc_sect_line): Do not return a line before
397 the start of a symtab.
398
9c309e77
UW
3992006-11-24 Ulrich Weigand <uweigand@de.ibm.com>
400
401 * NEWS: SPU target is already supported in GDB 6.6.
402
5ea03926
UW
4032006-11-24 Ulrich Weigand <uweigand@de.ibm.com>
404
405 * Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
406 (nto-procfs.o): Likewise.
407 * mips-linux-tdep.c: Include "solib.h".
408 * nto-procfs.c: Likewise.
409 * config/nm-linux.h: Do not include "solib.h".
410 * config/nm-nbsd.h: Likewise.
411 * config/tm-linux.h: Likewise.
412 * config/alpha/nm-osf.h: Likewise.
413 * config/frv/tm-frv.h: Likewise.
414 * config/i386/nm-fbsh.h: Likewise.
415 * config/i386/nm-i386gnu.h: Likewise.
416 * config/i386/nm-i386sco5.h: Likewise.
417 * config/i386/nm-i386sol2.h: Likewise.
418 * config/i386/nm-i386v4.h: Likewise.
419 * config/i386/nm-i386v42mp.h: Likewise.
420 * config/i386/tm-i386sol2.h: Likewise.
421 * config/i386/tm-nto.h: Likewise.
422 * config/mips/nm-irix5.h: Likewise.
423 * config/mips/tm-nbsd.h: Likewise.
424 * config/pa/tm-hppah.h: Likewise.
425 * config/powerpc/tm-ppc-eabi.h: Likewise.
426 * config/rs6000/tm-rs6000.h: Likewise.
427 * config/sh/tm-nbsd.h: Likewise.
428 * config/sparc/nm-sol2.h: Likewise.
429 * config/sparc/tm-sol2.h: Likewise.
430 * config/arm/nbsdaout.mh: Remove NAT_FILE.
431 * config/i386/nbsdaout.mh: Likewise.
432 * config/i386/nbsdelf.mh: Likewise.
433 * config/i386/obsdaout.mh: Likewise.
434 * config/m68k/nbsdaout.mh: Likewise.
435 * config/m68k/obsd.mh: Likewise.
436 * config/sparc/nbsdaout.mh: Likewise.
437 * config/cris/cris.mt: Remove DEPRECATED_TM_FILE.
438 * config/i386/linux64.mt: Likewise.
439 * config/m68k/linux.mt: Likewise.
440 * config/m68k/nbsd.mt: Likewise.
441 * config/sparc/linux.mt: Likewise.
442 * config/sparc/linux64.mt: Likewise.
443 * config/vax/nbsd.mt: Likewise.
444
d1320b0b
UW
4452006-11-22 Ulrich Weigand <uweigand@de.ibm.com>
446
447 * NEWS: New port to Cell Broadband Engine SPU.
448 * MAINTAINERS: Add myself as spu maintainer.
449
29d73ae4
DJ
4502006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
451
452 * Makefile.in (arm-tdep.o): Update dependencies.
453 * arm-tdep.c (thumb_skip_prologue): Remove.
454 (thumb_analyze_prologue): New function.
455 (arm_skip_prologue): Use thumb_analyze_prologue.
456 (thumb_scan_prologue): Ditto.
457
a13e2c95
UW
4582006-11-22 Ulrich Weigand <uweigand@de.ibm.com>
459
460 * configure.tgt: Enable gdbserver for SPU target.
461 * configure.ac: Build gdbserver when gdb_native is yes.
462 * configure: Regenerate.
463 * regformats/reg-spu.dat: New file.
464
59a59f84
DJ
4652006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
466
467 * osabi.c (gdbarch_lookup_osabi): Do not return
468 GDB_OSABI_UNINITIALIZED.
469
771b4502
UW
4702006-11-22 Ulrich Weigand <uweigand@de.ibm.com>
471
472 * config/powerpc/spu-linux.mh: New file.
473 * config/spu/spu.mt: New file.
474 * configure.ac: Provide gdb_native configuration variable.
475 * configure: Regenerate.
476 * configure.host: Support powerpc64 to spu 'pseudo-native' mode.
477 * configure.tgt: Add "spu" target_cpu and "spu*-*-*" target.
478 * Makefile.in (spu_tdep_h): New variable.
479 (ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c
480 (spu-linux-nat.o, spu-tdep.o): Add dependencies.
481 * spu-linux-nat.c: New file.
482 * spu-tdep.c: New file.
483 * spu-tdep.h: New file.
484
0b2b0195
UW
4852006-11-22 Ulrich Weigand <uweigand@de.ibm.com>
486
487 * findvar.c (address_from_register): New function.
488 * value.h (address_from_register): Add prototype.
489 * dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register.
490
765dc015
VP
4912006-11-22 Vladimir Prus <vladimir@codesourcery.com>
492
493 * breakpoint.c: Include "memattr.h".
494 (automatic_hardware_breakpoints): New.
495 (show_automatic_hardware_breakpoints): New.
496 (insert_bp_location): Automatically use
497 hardware breakpoints.
498 (_initialize_breakpoint): Register the "auto-hw"
499 variable.
500 * Makefile.in (breakpoint.o): Update dependencies.
501
4b5752d0
VP
5022006-11-21 Vladimir Prus <vladimir@codesourcery.com>
503
504 * memattr.h (enum mem_access_mode): New value
505 MEM_NONE.
506 * memattr.c (unknown_mem_attrib): New.
507 (inaccessible_by_default): New.
508 (show_inaccessible_by_default): New.
509 (lookup_mem_region): Check inaccessible_by_default.
510 (dummy_cmd): New.
511 (mem_set_cmdlist, mem_show_cmdlist): New.
512 (_initialize_mem): Register new "set" and "show"
513 commands.
514 * target.c (memory_xfer_partial): If memory type
515 is MEM_NONE, return an error.
516 Clip to region size when calling to_xfer_partial.
517 If upper limit of memory range is 0, don't clip
518 anything.
519
caac47b8
JB
5202006-11-20 Joel Brobecker <brobecker@adacore.com>
521
522 * README: Remove obsolete information.
523
155bd5d1
AC
5242006-11-20 Andrew Cagney <cagney@redhat.com>
525
526 * linux-nat.h: Refer to GNU/Linux or Linux kernel.
527 * linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
528 * infcmd.c (attach_command): Ditto.
529 * hppa-linux-tdep.c (hppa_linux_regset): Ditto.
530 * mn10300-linux-tdep.c: Ditto. Update copyright year.
531 * frv-linux-tdep.c: Ditto. Update copyright year.
532
6dd09645
JB
5332006-11-19 Joel Brobecker <brobecker@adacore.com>
534
535 * NEWS: Add a new section for changes since GDB 6.6. Rename
536 the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
537 Move a couple of items into the new section as they did not
538 make it to 6.6.
539
ab44b8eb
JB
5402006-11-19 Joel Brobecker <brobecker@adacore.com>
541
542 GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
543 * version.in: Bump version to 6.6.50.20061119-cvs.
544
08f08ce6
DJ
5452006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
546
547 * prologue-value.c (clear_entries): Fix memory leak.
548
aef9c3b3
DJ
5492006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
550
551 * parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
552 dereferencing it.
553
63f06803
DJ
5542006-11-17 Daniel Jacobowitz <dan@codesourcery.com>
555
556 * utils.c (string_to_core_addr): Use error instead of
557 internal_error.
558 * mi/mi-main.c (mi_execute_command): Check for a NULL message.
559
e554a4b2
DJ
5602006-11-17 Daniel Jacobowitz <dan@codesourcery.com>
561
562 * NEWS: Mention QPassSignals.
563
7a11f07a
MG
5642006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
565
566 * MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
567 (Write After Approval): Add myself.
568
89be2091
DJ
5692006-11-16 Daniel Jacobowitz <dan@codesourcery.com>
570
571 * remote.c (PACKET_QPassSignals): New.
572 (last_pass_packet, remote_pass_signals): New.
573 (remote_protocol_features): Add QPassSignals.
574 (remote_query_supported): Correct an infinite loop.
575 (remote_open_1): Reset last_pass_packet.
576 (remote_resume): Call remote_pass_signals.
577 (_initialize_remote): Register "set remote pass-signals".
578
ca3bf3bd
DJ
5792006-11-14 Maxim Grigoriev <maxim@tensilica.com>
580
581 * NEWS: New port to Xtensa.
582 * Makefile.in: Add dependencies for Xtensa files.
583 * configure.tgt (xtensa*, xtensa*-*-elf*): New.
584 * configure.host (xtensa*-*-elf*): New.
585 * config/xtensa/xtensa.mt: New file.
586 * xtensa-config.c: New file.
587 * xtensa-tdep.h: New file.
588 * xtensa-tdep.c: New file.
589
427c3a89
DJ
5902006-11-14 Daniel Jacobowitz <dan@codesourcery.com>
591
592 * remote.c (set_remote_cmd): Call help_list.
593 (show_remote_cmd): Skip legacy aliases. Handle non-show_cmd
594 entries. Add missed cleanup.
595 * cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
596
1bc1fa8c
DJ
5972006-11-13 Paul Gilliam <pgilliam@us.ibm.com>
598
4019046a 599 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Don't futz with
1bc1fa8c 600 the floating point registers if there aren't any.
4019046a 601
59ea4f70
BH
6022006-11-12 Ben Harris <bjh21@NetBSD.org>
603
604 * arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
605
e48af409
DJ
6062006-11-10 Daniel Jacobowitz <dan@codesourcery.com>
607
608 * frame.c (frame_register_unwind_location): New function.
609 (get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
610 (frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
611 * frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
612
7a107747
DJ
6132006-11-10 Daniel Jacobowitz <dan@codesourcery.com>
614
615 * arch-utils.c (target_byte_order_user): Renamed from
616 target_byte_order.
617 (target_byte_order_auto, selected_byte_order): Removed.
618 (show_endian): Check target_byte_order_user.
619 (set_endian): Always update the architecture. Set
620 target_byte_order_user after success.
621 (target_architecture_auto): Removed.
622 (target_architecture_user): New.
623 (selected_architecture_name, show_architecture): Check it.
624 (set_architecture): Set target_architecture_user after success.
625 (gdbarch_from_bfd): Check the argument.
626 (default_byte_order): New.
627 (initialize_current_architecture): Set the global default
628 architecture and endianness.
629 (gdbarch_info_fill): Remove GDBARCH argument. Do not check the
630 previous architecture. Use exec_bfd, global selected architecture
631 and endianness, and global defaults.
632 * arch-utils.h (selected_byte_order): Remove prototype.
633 (gdbarch_info_fill): Update.
634 * exec.c (exec_file_attach): Update the architecture after removing
635 the current file.
636 * gdbarch.sh: Update comments.
637 (find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
638 gdbarch_info_fill.
639 (gdbarch_find_by_info): Update call to find_arch_by_info.
640 * gdbarch.h, gdbarch.c: Regenerated.
641 * remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
642
b5bf31df
JB
6432006-11-09 Joel Brobecker <brobecker@adacore.com>
644
645 * sparc-tdep.c (sparc_fetch_instruction): Read instruction
646 using read_memory_nobpt.
647
e5192dd8
JB
6482006-11-06 Jim Blandy <jimb@codesourcery.com>
649
e5192dd8
JB
650 * dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
651 instead of frame_register. Doc fix.
652
8b9e3a15
VP
6532006-11-04 Vladimir Prus <vladimir@codesourcery.com>
654
655 * serial.c (serial_open): Strip leading spaces from program
656 name when opening pipe.
657
4bc9efe1
JB
6582006-11-03 Jim Blandy <jimb@codesourcery.com>
659
660 * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
661 instead of frame_register. Doc fix.
662
31ffec48
DJ
6632006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
664
665 * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
666 (load_full_comp_unit): Take OBJFILE argument and use it.
667 (dwarf2_build_psymtabs_hard): Skip partial units.
668 (process_queue): Pass OBJFILE to load_full_comp_unit. Check
669 type_hash for read in CUs. Test psymtab for NULL.
670
625b5003
DJ
6712006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
672
673 * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.
674
6e381ba0
VP
6752006-10-31 Vladimir Prus <vladimir@codesourcery.com>
676
677 * commands.h (enum command_class): Use different
678 values for class_deprecated and class_run.
679 * cli/cli-decode.c: (print_help_for_command): New.
680 (apropos_cmd): Use the above.
681 (help_list): Mention 'help all'
682 and 'apropos' when printing top-level help.
683 (help_all): Print the class name before printing
684 commands in that class. Don't print prefix commands
685 here, instead pass recurse flag to help_cmd_list.
686 Print list of unclassified commands at the end.
687 (help_cmd_list): When recursing, use all_commands class.
688 Recurse only if the class of the command matches.
689
f73adfeb
AS
6902006-10-27 Andreas Schwab <schwab@suse.de>
691
692 * gdbcmd.h (detachlist): Declare.
693 * infcmd.c (_initialize_infcmd): Define "detach" as prefix
694 command.
695 * linux-fork.c (_initialize_linux_fork): Rename
696 "detach-checkpoint" to "detach checkpoint" and "detach-fork" to
697 "detach fork".
698 * cli/cli-cmds.c (detachlist): Define.
699 (init_cmd_lists): Initialize it.
700 * cli/cli-cmds.h (detachlist): Declare.
701
7080f20f
JB
7022006-10-25 Jim Blandy <jimb@codesourcery.com>
703
704 * p-valprint.c (pascal_object_print_value): Add 'static' keyword
705 to function definition, to match declaration earlier in file.
706
3732ba62
PB
7072006-10-21 Paul Brook <paul@codesourcery.com>
708
709 * remote.c (remote_fetch_registers): Fix error message.
710
804e0f53
DJ
7112006-10-20 Daniel Jacobowitz <dan@codesourcery.com>
712
713 * gcore.c (MAX_COPY_BYTES): Define.
714 (gcore_copy_callback): Use it to limit allocation.
715
f86172a5
UW
7162006-10-19 Ulrich Weigand <uweigand@de.ibm.com>
717
718 * linux-thread-db.c (check_for_thread_db): Don't attempt to use
719 thread_db for remote targets.
720 * remote.c (remote_new_objfile): Always call predecessor on
721 new_objfile event chain.
722
6612ad7f
JB
7232006-10-19 Joel Brobecker <brobecker@adacore.com>
724
725 * solib.c (libpthread_solib_p): New function.
726 (solib_add): Always read the symbols from the libpthread library.
727
d674a25c
AS
7282006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
729
730 * breakpoint.c (describe_other_breakpoints): Add thread parameter.
731 Annotate display with thread number where appropriate.
732 (create_breakpoints): Add thread parameter to call to
733 describe_other_breakpoints.
734
981c7f5a
DJ
7352006-10-18 Jim Blandy <jimb@codesourcery.com>
736 Daniel Jacobowitz <dan@codesourcery.com>
737
738 * utils.c (query): Use defaulted_query.
739 (defaulted_query): Handle having no default answer. Print out
740 messages even if we have no terminal. Prevent memory corruption.
741
55feb689
DJ
7422006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
743
744 * frame.c (struct frame_info): Add stop_reason.
745 (get_prev_frame_1): Set stop_reason. Don't call error for
746 stop reasons.
747 (get_frame_unwind_stop_reason, frame_stop_reason_string): New.
748 * frame.h (enum unwind_stop_reason): New.
749 (get_frame_unwind_stop_reason, frame_stop_reason_string): New
750 prototypes.
751 * stack.c (frame_info): Print the stop reason.
752 (backtrace_command_1): Print the stop reason for errors.
753
8621d6a9
DJ
7542006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
755
756 * inferior.h (start_remote): Update prototype.
757 * infrun.c (start_remote): Take FROM_TTY. Call
758 post_create_inferior.
759 * monitor.c (monitor_open): Update call to start_remote.
760 * remote-sds.c (sds_start_remote, sds_open): Likewise.
761 * remote.c (remote_start_remote): Likewise.
762 (remote_start_remote_dummy): Removed.
763 (remote_open): Update call to remote_start_remote. Do not call
764 post_create_inferior here.
765
34439770
DJ
7662006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
767
768 * solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
769 (debug_loader_name, svr4_default_sos): New.
770 (svr4_current_sos): Call svr4_default_sos.
771 (enable_break): Add a comment about AT_BASE. Set the new
772 variables and retry solib_add.
773 (svr4_clear_solib): Clear the new variables.
774
7752006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
7d3d3ece
DJ
776
777 * NEWS: Mention support for TLS without debugging information.
778
52bb452f
DJ
7792006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
780
781 * remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
782 (gdbsim_load): Don't bother to adjust inferior_ptid here.
783 (gdbsim_create_inferior): Mark the simulator as running.
784 (gdbsim_open): Don't bother fetching registers. Mark
785 the target as not running.
786 (gdbsim_xfer): When the program is not running, pass memory
787 requests down.
788 (gdbsim_mourn_inferior): Mark the target as not running.
789 * target.c (target_mark_running, target_mark_exited): New.
790 * target.h (target_has_execution): Update the comment.
791 (target_mark_running, target_mark_exited): New prototypes.
792
b40ce68a
JB
7932006-10-17 Joel Brobecker <brobecker@adacore.com>
794
795 * breakpoint.c (free_valchain): Minor reformatting.
796
79d4c408
DJ
7972006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
798
799 * solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
800
94277a38
DJ
8012006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
802
803 * Makefile.in (symtab.o): Update.
76101e23
AS
804 * symtab.h (matching_bfd_sections): New prototype.
805 * symtab.c (matching_bfd_sections): New.
94277a38
DJ
806 (find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
807 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
808 * printcmd.c (sym_info): Ignore separate debug objfiles.
809
32a5b2f1
DJ
8102006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
811
812 * remote.c (remote_pid_to_str): Capitalize "Thread".
813
9b7194bc
DJ
8142006-10-15 Daniel Jacobowitz <dan@codesourcery.com>
815
816 PR remote/2158
817 * remote.c (remote_write_bytes): Throttle packet alignment
818 for small packets.
819
b255021a
NR
8202006-10-16 Jeff Johnston <jjohnstn@redhat.com>
821
822 * linux-thread-db.c (thread_db_wait): Don't bother continuing if
823 the wait result indicates the program terminated with a
824 signal (from gdb-6.3-ia64-sigill-20051115.patch, a patch for
825 Fedora Core 5).
826
366da635
DJ
8272006-10-11 Daniel Jacobowitz <dan@codesourcery.com>
828
829 * dwarf2read.c (dwarf_decode_lines): Call record_line upon
830 encountering a different subfile.
831
861cf606
FR
8322006-10-11 Denis Pilat <denis.pilat@st.com>
833
834 * tui/tui-source.c (tui_set_source_content): handle source
835 files that contain non unix end-of-line.
836
774a49c0
DJ
8372006-10-10 Daniel Jacobowitz <dan@codesourcery.com>
838
839 * ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
840 for changes to pipe_select_thread.
841 (pipe_done_wait_handle): New.
842 (_initialize_ser_windows): Reference it.
843
9e35dae4
DJ
8442006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
845 Daniel Jacobowitz <dan@codesourcery.com>
846
847 * Makefile.in (expprint.o, parse.o, target.o): Update.
848 * dwarf2loc.c (dwarf_expr_tls_address): Move body to
849 target_translate_tls_address. Call it.
850 * eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
851 * expprint.c (print_subexp_standard): Likewise.
852 (op_name_standard, dump_subexp_body_standard): Likewise.
853 * expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
854 (union exp_element): Add objfile.
855 * parse.c (write_exp_elt_objfile): New function.
856 (msym_tls_symbol_type): New.
857 (write_exp_msymbol): Handle TLS.
858 (operator_length_standard): Handle UNOP_MEMVAL_TLS.
859 (build_parse): Initialize msym_tls_symbol_type.
860 * parser-defs.h (write_exp_elt_objfile): New prototype.
861 * target.c (target_translate_tls_address): New.
862 * target.h (target_translate_tls_address): Add prototype.
863
58dc52c3
DJ
8642006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
865
866 * solib.c (solib_open): Handle an empty solib_absolute_prefix like a
867 missing one.
868
8bb75286
DJ
8692006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
870
871 * solib.c (solib_read_symbols): Stop if the file was not found.
872
d9639e13
DJ
8732006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
874
875 PR c++/2116
876 * valops.c (find_overload_match): Check for a NULL name.
877
714e295e
JB
8782006-10-06 Joel Brobecker <brobecker@adacore.com>
879
3e4d11fe 880 Fix PR symtab/2018
714e295e
JB
881 * dwarf2read.c (read_array_type): Set the type name if the name
882 attribute is present.
883
631b0ed0
JB
8842006-10-05 Joel Brobecker <brobecker@adacore.com>
885
886 * blockframe.c (block_innermost_frame): Rewrite frame search logic.
887
dbc981de
DJ
8882006-10-05 Daniel Jacobowitz <dan@codesourcery.com>
889
890 * Makefile.in (gdb_expat_h): New.
891 (xml_support_h): Add gdb_expat.h dependency.
892 (memory-map.o, xml-support.o): Likewise.
893 * gdb_expat.h: New file.
894 * xml-support.h: Include it.
895 * memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK
896 definitions.
897
0b83947e
DJ
8982006-10-05 Daniel Jacobowitz <dan@codesourcery.com>
899
900 * remote.c (get_remote_state_raw): Renamed from get_remote_state.
901 (get_remote_state): New function.
902 (init_remote_state, _initialize_remote): Use get_remote_state_raw.
903
8aceae7e
FF
9042006-10-04 Fred Fish <fnf@specifix.com>
905
906 * vec.c: Include defs.h first. This pulls in config.h which can
907 affect other includes.
908
f31b3751
JB
9092006-10-04 Joel Brobecker <brobecker@adacore.com>
910
911 * somread.c (som_symtab_read): Avoid using alloca for potentially
912 large buffers.
913
d0a0254a
DJ
9142006-10-04 Daniel Jacobowitz <dan@codesourcery.com>
915
916 * arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
917
f2d483c4
DJ
9182006-10-03 Daniel Jacobowitz <dan@codesourcery.com>
919
920 * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
921 definitions.
922 * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
923
f08799f9
DJ
9242006-09-22 Daniel Jacobowitz <dan@codesourcery.com>
925
926 * remote.c (remote_write_bytes_aux): Doc fix.
927
a76d924d
DJ
9282006-09-21 Vladimir Prus <vladimir@codesourcery.com>
929 Daniel Jacobowitz <dan@codesourcery.com>
930
931 * Makefile.in (SFILES): Add target-memory.c.
932 (COMMON_OBS): Add target-memory.o.
933 * memattr.c (lookup_mem_region): Adjust handling for
934 the top of memory. Improve comments.
935 * remote.c (packet_check_result): New function, split out
936 from packet_ok. Recognize "E." as an error prefix.
937 (packet_ok): Use it.
938 (remote_write_bytes_aux): New function, renamed from
939 remote_write_bytes. Take packet header, packet format,
940 and length flag as arguments.
941 (remote_write_bytes): Rewrite to use remote_write_bytes_aux.
942 (remote_send_printf, restore_remote_timeout)
943 (remote_flash_timeout, remote_flash_erase, remote_flash_write)
944 (remote_flash_done): New.
945 (remote_xfer_partial): Handle flash writes.
946 (init_remote_ops, init_remote_async_ops): Set to_flash_erase
947 and to_flash_done.
948 * symfile.c (struct load_section_data): Include a pointer to
949 the cumulative stats and a request queue. Move most members
950 to other types.
951 (struct load_progress_data, struct load_progress_section_data): New
952 types.
953 (load_progress): Handle a NULL baton and zero bytes. Update for
954 type changes.
955 (load_section_callback): Create memory write requests instead of
956 writing to memory. Don't print the progress message here.
957 (clear_memory_write_data): New function.
958 (generic_load): Use target_write_memory_blocks.
959 * target-memory.c: New file.
960 * target.c (update_current_target): Mention new uninherited methods.
961 (memory_xfer_partial): Issue an error for flash writes.
962 (target_flash_erase, target_flash_done): New functions.
963 (target_write_with_progress): Call the progress callback at the
964 start also.
965 * target.h (enum target_object): Add TARGET_OBJECT_FLASH.
966 (target_write_with_progress): Update comment.
967 (struct target_ops): Add to_flash_erase and to_flash_done.
968 (target_flash_erase, target_flash_done, struct memory_write_request)
969 (memory_write_request_s, enum flash_preserve_mode)
970 (target_write_memory_blocks): New, including a vector type
971 for memory_write_request_s.
972
fd79ecee
DJ
9732006-09-21 Vladimir Prus <vladimir@codesourcery.com>
974 Daniel Jacobowitz <dan@codesourcery.com>
975 Nathan Sidwell <nathan@codesourcery.com>
976
977 * Makefile.in (SFILES): Add memory-map.c and xml-support.c.
978 (memory_map_h, xml_support_h): New.
979 (target_h): Add vec_h dependency.
980 (COMMON_OBS): Add memory-map.o and xml-support.o.
981 (memory-map.o, xml-support.o): New rules.
982 (remote.o): Update.
983 * exceptions.h (enum errors): Add XML_PARSE_ERROR.
984 * infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
985 * memattr.c (default_mem_attrib): Initialize blocksize.
986 (target_mem_region_list, mem_use_target)
987 (target_mem_regions_valid, mem_region_cmp, mem_region_init)
988 (require_user_regions, require_target_regions)
989 (invalidate_target_mem_regions): New.
990 (create_mem_region): Use mem_region_init.
991 (mem_clear): Move higher.
992 (lookup_mem_region): Use require_target_regions.
993 (mem_command): Implement "mem auto".
994 (mem_info_command): Handle target-supplied regions and flash
995 attributes.
996 (mem_enable_command, mem_disable_command, mem_delete_command): Use
997 require_user_regions.
998 (_initialize_mem): Mention "mem auto" in help.
999 * memattr.h (enum mem_access_mode): Add MEM_FLASH.
1000 (struct mem_attrib): Add blocksize.
1001 (invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
1002 prototypes.
1003 * remote.c: Include "memory-map.h".
1004 (PACKET_qXfer_memory_map): New enum value.
1005 (remote_protocol_features): Add qXfer:memory-map:read.
1006 (remote_xfer_partial): Handle memory maps.
1007 (remote_memory_map): New.
1008 (init_remote_ops, init_remote_async_ops): Set to_memory_map.
1009 (_initialize_remote): Register qXfer:memory-map:read.
1010 * target.c (update_current_target): Mention to_memory_map.
1011 (target_memory_map, target_pre_inferior): New.
1012 (target_preopen): Call target_pre_inferior.
1013 * target.h: Include "vec.h".
1014 (enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
1015 (struct target_ops): Add to_memory_map.
1016 (target_memory_map, target_pre_inferior): New prototypes.
1017 * memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
1018
253c8abb
DJ
10192006-09-21 Daniel Jacobowitz <dan@codesourcery.com>
1020
1021 * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
1022 (strtoulst): Moved to ...
1023 * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
1024 (strtoulst): ... here. Enhanced to behave more similarly
1025 to strtoul.
1026 * defs.h (strtoulst): New prototype.
1027
c96fc75e
DJ
10282006-09-21 Daniel Jacobowitz <dan@codesourcery.com>
1029
1030 * Makefile.in (memattr_h, memattr.o): Update.
1031 * memattr.h: Include "vec.h".
1032 (struct mem_region): Remove linked list pointer.
1033 (mem_region_s): New typedef and corresponding vector.
1034 * memattr.c: Include "vec.h".
1035 (mem_region_chain): Delete.
1036 (mem_region_list): New vector pointer.
1037 (mem_region_lessthan): New function.
1038 (create_mem_region): Remove unused return value. Use vector
1039 operations. Remove linear search.
1040 (delete_mem_region): Delete.
1041 (lookup_mem_region): Use vector operations. Add a FIXME.
1042 (mem_info_command): Update to work with vectors.
1043 (mem_enable, mem_enable_command, mem_disable, mem_disable_command)
1044 (mem_free, mem_delete): Likewise.
1045
350da6ee
DJ
10462006-09-21 Nathan Sidwell <nathan@codesourcery.com>
1047
1048 * vec.h: New file.
1049 * vec.c: New file.
1050 * Makefile.in (SFILES): Add vec.c.
1051 (vec_h): New.
1052 (COMMON_OBJS): Add vec.o.
1053 (vec.o): New target.
1054
2e9f7625
DJ
10552006-09-20 Daniel Jacobowitz <dan@codesourcery.com>
1056
1057 PR remote/2154
1058 * remote.c (remote_thread_alive): Remove local buf.
1059 (remote_get_threadinfo): Remove local threadinfo_pkt.
1060 (remote_get_threadlist): Remove unused threadlist_packet.
1061 (remote_current_thread): Remove local buf.
1062 (remote_threads_info): Set bufp after getpkt.
1063 (remote_threads_extra_info): Remove local bufp.
1064 (get_offsets): Set buf after getpkt.
1065 (remote_check_symbols): Set reply after getpkt.
1066 (remote_vcont_probe): Set buf after getpkt.
1067 (remote_resume): Set buf after set_thread.
1068 (remote_wait, remote_async_wait): Set buf after getpkt.
1069 (fetch_register_using_p): Set buf after remote_send.
1070 (remote_fetch_registers): Likewise.
1071 (store_register_using_P): Don't use buf after remote_send.
1072 (check_binary_download, remote_write_bytes)
1073 (remote_read_bytes, remote_rcmd): Remove local buf.
1074
6e90a7df
VP
10752006-09-17 Vladimir Prus <vladimir@codesourcery.com>
1076
1077 * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
f28f46e7 1078 if high requested frame number is larger than number of available
6e90a7df
VP
1079 frames.
1080
d51ca893
NR
10812006-09-16 Nick Roberts <nickrob@snap.net.nz>
1082
1083 * linux-nat.c (linux_test_for_tracefork): Don't leave zombie
1084 process.
1085
04d1f770
DJ
10862006-09-16 Andrzej Zaborowski <balrog@zabor.org>
1087
1088 * interps.c (interpreter_exec_cmd): Restore interpreter properties.
1089
5a2901d9
DJ
10902006-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1091
1092 PR threads/2149
1093 * infrun.c (handle_inferior_event): Context switch after fork
1094 and exec events.
1095
4c850810
DJ
10962006-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1097
1098 * infcall.c (call_function_by_hand): Check for function pointer
1099 types.
1100
0ba5a932
AS
11012006-09-10 Andreas Schwab <schwab@suse.de>
1102
1103 * m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
1104 `move.l %R,-(%sp)'.
1105
2ab1eb7a
VP
11062006-09-07 Vladimir Prus <vladimir@codesourcery.com>
1107
6e90a7df 1108 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Don't emit
2ab1eb7a
VP
1109 error if high requested frame number is larger then number
1110 of available frames.
1111
7a0b0196
JB
11122006-09-07 Joel Brobecker <brobecker@adacore.com>
1113
1114 From Stephan Springl <springl-gdb@bfw-online.de>
1115 * fork-child.c (fork_inferior): Fix typo.
1116
d56874a7
DD
11172006-08-28 DJ Delorie <dj@redhat.com>
1118
1119 * m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
1120 that may not be initialized elsewhere.
1121 (m32c_decode_sd23): Likewise.
1122
14711c82
DJ
11232006-08-25 Daniel Jacobowitz <dan@codesourcery.com>
1124
1125 * buildsym.c (finish_block): Don't adjust the boundaries of
1126 nested functions.
1127
f414f22f
AS
11282006-08-24 Andreas Schwab <schwab@suse.de>
1129
1130 * symfile.c (add_symbol_file_command): Fix off-by-one when
1131 extending sect_opts.
1132
461c8a2c
NR
11332006-08-24 Nick Roberts <nickrob@snap.net.nz>
1134
1135 * mi/gdb-mi.el: Refer to next release of Emacs as 22.1.
1136
77a458b3
NR
11372006-08-23 Nick Roberts <nickrob@snap.net.nz>
1138
1139 * mi/gdb-mi.el (gdbmi): Remove gdb-force-update, initialize
1140 other variables.
1141 (gdbmi-send): Ensure any text properties can be removed.
1142 (gdbmi-prompt1): Update to gdb-ui.el
1143 (gud-gdbmi-marker-filter): Defer setting of gud-running.
1144 Keep gdb-done-regexp for partial-output-buffer.
1145 (gdb-stack-list-frames-handler): Add face to function names.
1146
76b7178d
MK
11472006-08-22 Mark Kettenis <kettenis@gnu.org>
1148
316703b9
MK
1149 * valprint.c (val_print_type_code_flags): Fix GNU coding standards
1150 violation.
1151
2a1ce6ec
MK
1152 * alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
1153 (alpha_push_dummy_call, alpha_extract_return_value)
1154 (alpha_breakpoint_from_pc, alpha_read_insn)
1155 (alpha_get_longjmp_target, alpha_supply_int_regs)
1156 (alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs)
1157 (alpha_next_pc): Use gdb_byte instead of (unsigned) char where
1158 appropriate.
1159
fd936806
MK
1160 * sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
1161 (sparc64_fprs_type): New variables.
1162 (sparc64_init_types): New function.:
1163 (sparc64_register_info): Use appropriate flag types for %fsr and
1164 %fprs.
1165 (sparc64_pseudo_register_info): Use appropriate type for %pstate.
1166 (_initialize_sparc64_tdep): New function.
1167
befae759
MK
1168 * valprint.c (val_print_type_code_flags): Fix for bitfields larger
1169 than 32 bits.
1170
76b7178d
MK
1171 * gdbtypes.c (init_flags_type): Set all fields to zero instead of
1172 just the first one.
1173
d3f4f91a
DJ
11742006-08-22 Daniel Jacobowitz <dan@codesourcery.com>
1175
1176 * Makefile.in (INTERNAL_CPPFLAGS): New.
1177 (INTERNAL_CFLAGS_BASE): Use it.
1178
a98b27f2
MS
11792006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com>
1180
1181 * MAINTAINERS: Update my email address.
1182
8695c747
DJ
11832006-08-19 Daniel Jacobowitz <dan@codesourcery.com>
1184
1185 * Makefile.in (amd64_linux_tdep_h): New.
1186 (amd64-linux-nat.o, amd64-linux-tdep.o): Update.
1187 * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
1188 ORIG_RAX.
1189 (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
1190 * amd64-linux-tdep.c (amd64_linux_register_name)
1191 (amd64_linux_register_type, amd64_linux_register_reggroup_p)
1192 (amd64_linux_write_pc): New.
1193 (amd64_linux_init_abi): Use them, and update num_regs.
1194 * amd64-linux-tdep.h: New file.
1195 * amd64-tdep.c (amd64_register_name, amd64_register_type): Make
1196 public.
1197 * amd64-tdep.h (amd64_register_name, amd64_register_type): New
1198 prototypes.
1199
1200 * regformats/reg-x86-64-linux.dat: New file.
1201
c17eaafe
DJ
12022006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
1203
1204 * infrun.c (handle_inferior_event): Check the current frame ID
1205 before unwinding to the previous frame.
1206
61049d3b
DJ
12072006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
1208
1209 * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
1210 number in a comment.
1211
2c9771d3
MK
12122006-08-18 Mark Kettenis <kettenis@gnu.org>
1213
1214 * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
1215
c0dd20ea
DJ
12162006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
1217
1218 * dwarf2read.c (quirk_gcc_member_function_pointer): New.
1219 (read_structure_type): Call it.
1220
17218d91
DJ
12212006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
1222
1223 * NEWS: Mention "set trust-readonly-sections" fix.
1224
2bc416ba
DJ
12252006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
1226
1227 * remote.c, target.c: Strip trailing whitespace.
1228
cf7a04e8
DJ
12292006-08-15 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 PR remote/1966
1232 * dcache.c (dcache_write_line): Use target_write.
1233 (dcache_read_line): Use target_read.
1234 * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
1235 * symfile.c (struct load_section_data): Add new per-section
1236 members.
1237 (load_progress): New function.
1238 (load_section_callback): Pass load_progress to the new
1239 target_write_with_progress.
1240 * target.c (current_xfer_partial, memory_xfer_partial): New.
1241 (target_xfer_partial): New prototype.
1242 (target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
1243 (do_xfer_memory, target_xfer_memory_partial)
1244 (target_read_memory_partial, target_write_memory_partial): Delete.
1245 (trust_readonly): Move higher in the file.
1246 (update_current_target): Use current_xer_partial.
1247 (target_xfer_partial): Use memory_xfer_partial. Handle
1248 TARGET_OBJECT_RAW_MEMORY specially.
1249 (target_read_memory): Use target_read.
1250 (target_write_memory): Use target_write.
1251 (default_xfer_partial): Call to_xfer_partial directly.
1252 (target_write_with_progress): New function, based on target_write.
1253 (target_write): Call it.
1254 * target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
1255 (target_write_with_progress): New prototype.
1256 (do_xfer_memory, target_read_memory_partial)
1257 (target_write_memory_partial): Delete prototypes.
1258
b2182ed2
DJ
12592006-08-15 Daniel Jacobowitz <dan@codesourcery.com>
1260
1261 * remote.c (remote_write_bytes): Take a const buffer argument.
1262 Do the checks from remote_xfer_memory.
1263 (remote_read_bytes): Do the checks from remote_xfer_memory.
1264 (remote_xfer_memory): Remove checks pushed into lower level
1265 functions.
1266 (remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
1267 directly.
1268 * remote.h (remote_write_bytes): Update prototype.
1269
9fa66fd7
AS
12702006-08-11 Andrew Stubbs <andrew.stubbs@st.com>
1271
1272 * NEWS: Add 'set trace-commands' command.
1273
8625200f
AS
12742006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
1275
1276 * cli/cli-script.c (execute_user_command): Update command_next_depth
1277 on user-command call.
1278
4f8253f3
JB
12792006-08-09 Joel Brobecker <brobecker@adacore.com>
1280
1281 * NEWS: Add entry for new substitute-path commands.
1282
2f61ca93
JB
12832006-08-08 Joel Brobecker <brobecker@adacore.com>
1284
1285 * source.c: #include gdb_assert.h.
1286 (substitute_path_rule): New struct.
1287 (substitute_path_rules): New static global variable.
1288 (substitute_path_rule_matches): New function.
1289 (get_substitute_path_rule): New function.
1290 (rewrite_source_path): New function.
1291 (find_and_open_source): Add source path rewriting support.
1292 (strip_trailing_directory_separator): New function.
1293 (find_substitute_path_rule): New function.
1294 (add_substitute_path_rule): New function.
1295 (delete_substitute_path_rule): New function.
1296 (show_substitute_path_command): New function.
1297 (unset_substitute_path_command): New function.
1298 (set_substitute_path_command): New function.
1299 (_initialize_source): Add new substitute-path commands.
1300 * Makefile.in (source.o): Add dependency on gdb_assert.h.
1301
24a2a654
JB
13022006-08-08 Joel Brobecker <brobecker@adacore.com>
1303
1304 * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
1305 instructions.
1306 (i386_analyze_struct_return): Likewise.
1307 (i386_skip_probe): Likewise.
1308 (i386_match_insn): Likewise.
1309 (i386_analyze_frame_setup): Likewise.
1310 (i386_analyze_register_saves): Likewise.
1311 (i386_skip_prologue): Likewise.
1312
359a9262
JB
13132006-08-08 Joel Brobecker <brobecker@adacore.com>
1314
1315 * gdbcore.h (read_memory_nobpt): New function name instead of
1316 deprecated_read_memory_nobpt.
1317 * breakpoint.c (read_memory_nobpt): New function name instead
1318 of deprecated_read_memory_nobpt.
1319 Adjust calls to old deprecated_read_memory_nobpt accordingly.
1320 * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
1321 accordingly.
1322 * alphanbsd-tdep.c: Likewise.
1323 * frame.c: Likewise.
1324 * frv-tdep.c: Likewise.
1325 * hppa-linux-tdep.c: Likewise.
1326 * hppa-tdep.c: Likewise.
1327 * i386-linux-nat.c: Likewise.
1328 * m68klinux-tdep.c: Likewise.
1329 * mips-tdep.c: Likewise.
1330 * s390-tdep.c: Likewise.
1331
7fa2210b
DJ
13322006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
1333
1334 * configure.ac: Check for expat.
1335 * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
1336 * Makefile.in (LIBEXPAT): New.
1337 (CLIBS): Include $(LIBEXPAT).
1338 * README: Mention expat.
1339 * configure, config.in: Regenerated.
1340
ce928021
DJ
13412006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
1342
1343 * config/sparc/embed.mt: New file.
1344 * configure.tgt (sparc-*-rtems*): Use embed.mt.
1345
9bdcbae7
DJ
13462006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
1347
1348 * Makefile.in (objfiles.o, symfile.o): Update.
1349 * objfiles.c: Include "expression.h" and "parser-defs.h".
1350 (free_objfile): Clear global blocks.
1351 * symfile.c: Include "parser-defs.h".
1352 (clear_symtab_users): Clear global blocks.
1353
67985547
TS
13542006-08-08 Thiemo Seufer <ths@mips.com>
1355
1356 * breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
1357
3d00d119
DJ
13582006-08-08 Vladimir Prus <vladimir@codesourcery.com>
1359
1360 * symfile.c (download_write_size): Remove.
1361 (show_download_write_size): Remove.
1362 (load_section_callback): Don't use download_write_size.
1363 (_initialize_symfile): Don't register download_write_size.
1364 * NEWS: Mention 'download-write-size' removal.
1365
0534816d
DJ
13662006-08-06 Daniel Jacobowitz <dan@codesourcery.com>
1367
1368 * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
1369 support for member pointers.
1370
47ccd048
MK
13712006-08-02 Mark Kettenis <kettenis@gnu.org>
1372
1373 * arm-tdep.h: Add multiple inclusion protection.
1374 (struct gdbarch): Add forward declaration.
1375 (armobsd_regset_from_core_section): New prototype.
1376 * armbsd-tdep.c: New file.
1377 * armobsd-tdep.c: Include "gdb_string.h".
1378 (armobsd_init_abi): Set regset_from_core_section.
1379 (armobsd_core_osabi_sniffer): New function.
1380 (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
1381 * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
1382 (armbsd-tdep.o): New dependency.
1383 (armnbsd-tdep.o): Update dependencies.
1384 * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
1385
87177905
TS
13862006-08-02 Thiemo Seufer <ths@mips.com>
1387
1388 * linux-thread-db.c (thread_db_get_thread_local_address): Fix type
1389 mismatch.
1390 * tui/tui-stack.c (tui_show_frame_info): Likewise.
1391
a22229c4
DJ
13922006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
1393
1394 * c-exp.y (type): Remove incorrect pointer to member case.
1395 * objc-exp.y (type): Likewise.
1396 * p-exp.y (type): Likewise.
1397
7c00367c
MK
13982006-08-01 Mark Kettenis <kettenis@gnu.org>
1399
1400 * arm-tdep.h (enum struct_return): New.
1401 (struct gdbarch_tdep): Add struct_return member.
1402 * arm-tdep.c (arm_return_value): Return
1403 RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
1404 pcc_struct_return.
1405 (arm_gdbarch_init): Default to reg_struct_return.
1406 * armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.
1407
4816ec69
MK
14082006-07-31 Mark Kettenis <kettenis@gnu.org>
1409
1410 * alpha-tdep.h (ALPHA_S0_REGNUM): New define.
1411 * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
1412 <machine/pcb.h> and "bsd-kvm.h".
1413 (alphabsd_supply_pcb): New function.
1414 (_initialize_alphabsd_nat): Enable libkvm interface.
1415 * Makefile.in (alphabsd-nat.o): Update dependencies.
1416 * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
1417 (LOADLIBES): New variable.
1418 * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
1419 (LOADLIBES): New variable.
1420
35d5d4ee
FF
14212006-07-31 Fred Fish <fnf@specifix.com>
1422
1423 * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
1424 instead of calling frame_obstack_zalloc directly.
1425 (arm_make_stub_cache): Ditto.
1426 * frame-unwind.h: Ditto.
1427 * frame.c (create_new_frame): Ditto.
1428
0f9e5f32
BW
14292006-07-27 Bob Wilson <bob.wilson@acm.org>
1430
1431 * MAINTAINERS (Write After Approval): Add myself.
1432
e896d70e
DJ
14332006-07-27 Bob Wilson <bob.wilson@acm.org>
1434
1435 * main.c (captured_main): Print a newline after calling
1436 print_gdb_version instead of waiting until after the symbol file
1437 has been read. Adjust error_pre_print, quit_pre_print, and
1438 warning_pre_print values.
1439
f58b68aa
DJ
14402006-07-27 Roger Sayle <roger@eyesopen.com>
1441 Daniel Jacobowitz <dan@codesourcery.com>
1442
1443 * irix5-nat.c (fetch_core_registers): Simplify and correct logic.
1444
159f81f3
DJ
14452006-07-27 Daniel Jacobowitz <dan@codesourcery.com>
1446
1447 * target.h (target_read_stralloc): New prototype.
1448 * target.c (target_read_alloc_1): Renamed from target_read_alloc.
1449 Take new PADDING argument.
1450 (target_read_alloc): Use it.
1451 (target_read_stralloc): New function.
1452
40e57cf2
DJ
14532006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
1454
1455 * remote.c (remote_protocol_features): Correct qPart to qXfer.
1456
ab5c9f60
DJ
14572006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
1458
1459 * eval.c (evaluate_subexp_for_address): Don't incorrectly discard
1460 calls to C++ operator*.
1461
725a826f
DJ
14622006-07-24 Roger Sayle <roger@eyesopen.com>
1463 Daniel Jacobowitz <dan@codesourcery.com>
1464
1465 * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
1466 (gdb_int64_bytes): Likewise.
1467 (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
1468 as first argument to extract_unsigned_integer to silence compiler
1469 warnings.
1470
72dca2f5
FR
14712006-07-24 Frederic Riss <frederic.riss@st.com>
1472
1473 * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero
1474 field.
1475 (dwarf2_locate_sections): Initialize
1476 dwarf2_per_objfile->has_section_at_zero.
1477 (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero
1478 instead of HAS_RELOC test.
1479 (read_partial_die): Ditto.
1480
4c42eaff
DJ
14812006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
1482
1483 * corefile.c (reopen_exec_file): Only check for an open exec file.
1484 Use exec_file_attach.
1485 * exec.c (exec_open): Make static.
1486 (exec_file_command): Don't use target_preopen. Query directly about
1487 changing the file.
1488 * gdbcore.h (exec_open): Remove prototype.
1489
14902006-07-24 Frederic Riss <frederic.riss@st.com>
b05e64e5
FR
1491
1492 * regcache.c (struct regcache): Make register_valid_p a signed char
1493 array.
1494
3f64f7b1
DJ
14952006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1496 Daniel Jacobowitz <dan@codesourcery.com>
1497
1498 * linux-thread-db.c (thread_db_wait): Remove libthread_db
1499 after exec events.
1500
6aec2e11
DJ
15012006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
1502
1503 * NEWS: Mention Windows cross debugging support.
1504
83eba059
DJ
15052006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
1506
1507 * linux-nat.c (linux_nat_add_target): Remove extern.
1508 * linux-nat.h (thread_db_init): New prototype.
1509
b80864fb
DJ
15102006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
1511
1512 * configure.tgt: Build gdbserver for Cygwin and mingw32.
1513
66a79c16
DJ
15142006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
1515
1516 * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
1517 * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
1518 * config/i386/tm-cygwin.h: Delete file.
1519
fc5261f2
MK
15202006-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1521
1522 * infrun.c (handle_inferior_event): Typo.
1523
16026cd7
AS
15242006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
1525
1526 * cli/cli-cmds.c (source_verbose, trace_commands): New variables.
1527 (source_script): New function.
1528 (source_verbose_cleanup): New function.
1529 (source_command): Move old contents to source_script.
1530 Make function static. Parse -v option and call source_script.
1531 (init_cli_cmds): Update source command help.
1532 Add 'set trace-commands' command.
1533 * cli/cli-script.c (command_next_depth): New static variable.
1534 (suppress_next_print_command_trace): New static variable.
1535 (reset_command_nest_depth): New function.
1536 (print_command_trace): New function.
1537 (execute_control_command): Split the continue_control and break_control
1538 cases, add calls to print_command_trace and count the nest depth.
1539 (while_command): Set suppress_next_print_command_trace.
1540 (if_command): Likewise.
1541 * top.c (execute_command): Call print_command_trace.
1542 * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
1543 (source_command): Change to source_script.
1544 * main.c (captued_main): Use source_script instead of source_command.
1545 * top.h (source_command): Change to source_script.
1546 * event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
1547 * cli/cli-script.h (print_command_trace): Export.
1548 (reset_command_nest_depth): Likewise.
1549
16963cb6
DJ
15502006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
1551
1552 * eval.c (evaluate_struct_tuple): Skip static fields.
1553
6b26d61a
MK
15542006-07-19 Mark Kettenis <kettenis@gnu.org>
1555
6ea0ec3f
MK
1556 * alphaobsd-tdep.c: Include "obsd-tdep.h".
1557 (alphaobsd_init_abi): Set skip_solib_resolver.
1558 * Makefile.in (alphaobsd-tdep.o): Update dependencies.
1559 * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
1560
6b26d61a
MK
1561 * arm-tdep.c (arm_gdbarch_init): Get default floating-point model
1562 from ELF flags for binaries produced by the GNU toolchain.
1563
86cc68a8
NS
15642006-07-18 Nathan Sidwell <nathan@codesourcery.com>
1565
1566 * remote-fileio.c (remote_fileio_func_rename): Reorder to process
1567 input buffer before reading memory.
1568 (remote_fileio_func_stat): Likewise.
1569
29e8a844
DJ
15702006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1571
1572 * blockframe.c (find_pc_partial_function): Use the minimal symbol
1573 size to control the cache entry, if available.
1574 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
1575 symbols with zero and non-zero sizes differently.
1576
28b17333
DJ
15772006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1578
1579 * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
1580 (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
1581 (thread_db_fetch_registers, thread_db_store_registers)
1582 (thread_db_thread_alive, thread_db_state_str): Delete.
1583 (thread_db_load): Don't look up regset functions.
1584 (thread_db_pid_to_str): Simplify.
1585 (thread_db_extra_thread_info): New.
1586 (init_thread_db_ops): Do not set to_fetch_registers,
1587 to_store_registers, or to_thread_alive. Set to_extra_thread_info.
1588 * Makefile.in: Remove linux-thread-db.o rule.
1589
e3ac4a1e
MK
15902006-07-18 Mark Kettenis <kettenis@gnu.org>
1591
1592 * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
1593 (armobsd_sigframe_init): New function.
1594 (armobsd_sigframe): New variable.
1595 (armobsd_init_abi): Prepend armobsd_sigframe unwinder.
1596 * Makefile.in (armobsd-tdep.o): Update dependencies.
1597
08ae6d95
DJ
15982006-07-18 Denis PILAT <denis.pilat@st.com>
1599
1600 * monitor.c: Remove unused prototypes.
1601
6962ad99
VP
16022006-07-18 Vladimir Prus <vladimir@codesourcery.com>
1603
1604 * target.c (tcomplain): Mark with ATTR_NORETURN.
1605
0152ebd7
VP
1606 * defs.h (print_transfer_performance): Improve comments.
1607
aa88762a
MK
16082006-07-17 Mark Kettenis <kettenis@gnu.org>
1609
675dcf4f
MK
1610 * printcmd.c: Coding style fixes: add missing spaces in comments
1611 and wrapping long lines.
1612 (delete_display, enable_display_command, disable_display_command)
1613 (printf_command, display_info, undisplay_command, free_display)
1614 (display_command, x_command, address_info, set_command)
1615 (inspect_command, call_command, print_command, print_command_1)
1616 (validate_format, print_formatted, decode_format, sym_format):
1617 Remove prototypes.
1618 (x_command): Make static.
1619 (printf_command): Convert error into internal consistency check.
1620 (address_info): Avoid assignment within function call.
1621 (printf_command): Avoid redundant cast.
1622 * tracepoint.c (x_command): Remove extern prototype.
1623
aa88762a
MK
1624 * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
1625 * Makefile.in (armobsd-tdep.o): Update dependencies.
1626 * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
1627
1cd566a4
MK
16282006-07-16 Mark Kettenis <kettenis@gnu.org>
1629
a58dc200
MK
1630 * armobsd-tdep.c: New file.
1631 * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
1632 (armobsd-tdep.o): New dependency.
1633 * config/arm/obsd.mt: New file.
1634 * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
1635
d7b7af6f 1636 * gdbarch.sh (deprecated_saved_pc_after_call): Delete.
a4bc5cf9 1637 * gdbarch.h, gdbarch.c: Re-generate.
d7b7af6f 1638
1cd566a4
MK
1639 * arm-tdep.c (arm_saved_pc_after_call): Delete.
1640 (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
1641
96ffcb62
AS
16422006-07-16 Alfred M. Szmidt <ams@gnu.org>
1643
1644 * gnu-nat.c: Undefine _process_user_ before including
1645 <hurd/process_request.h>.
1646 (gnu_resume): Supply missing argument to error().
1647 (gnu_read_inferior): Add extra parenthesis around arithmetic
1648 expression to silence warnings from GCC.
1649 (gnu_write_inferior): Likewise.
1650 (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
1651
424f3115
MK
16522006-07-16 Mark Kettenis <kettenis@gnu.org>
1653
1654 * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
1655 svr4_ilp_fetch_link_map_offsets.
1656
a4ab4a25
MK
16572006-07-15 Mark Kettenis <kettenis@gnu.org>
1658
1659 * armnbsd-tdep.c: Don't include "nbsd-tdep.h".
1660 * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
1661 (DEPRECATED_TM_FILE): Remove.
1662 * Makefile.in (armnbsd-tdep.o): Update dependencies.
1663
cd24f626
JB
16642006-07-14 Joel Brobecker <brobecker@adacore.com>
1665
1666 * PROBLEMS: Document threads/2137.
1667
06d65a1d
MK
16682006-07-13 Mark Kettenis <kettenis@gnu.org>
1669
1670 * config/alpha/tm-nbsd.h: Remove file.
1671 * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1672
4844f454
CV
16732006-07-13 Corinna Vinschen <vinschen@redhat.com>
1674
1675 * mips-tdep.c (mips_integer_to_address): Simplify be calling
1676 extract_signed_integer directly. Fix comment.
1677
7830cb4f
CV
16782006-07-13 Corinna Vinschen <vinschen@redhat.com>
1679
1680 * m32c-tdep.c (m32c_banked_register): New function.
1681 (m32c_banked_read): Use m32c_banked_register function to evaluate
1682 real register number.
1683 (m32c_banked_write): Ditto.
1684 (m32c_virtual_frame_pointer): New function.
1685 (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
1686
9bb47d95
NS
16872006-07-13 Nathan Sidwell <nathan@codesourcery.com>
1688
1689 * m68k-tdep.c (m68k_frame_align): New.
1690 (m68k_gdbarch_init): Set frame_align here.
1691
9af2a054
AS
16922006-07-13 Denis PILAT <denis.pilat@st.com>
1693
1694 * interps.c (interpreter_completer): Allocate one more item to the
1695 'matches' list and set them all to 0 with a xcalloc.
1696
79ee37bc
NR
16972006-07-13 Nick Roberts <nickrob@snap.net.nz>
1698
1699 * annotate.c (annotate_frame_begin): Re-instate frame-begin
1700 annotation for level 3 annotations.
1701
fb933624
DJ
17022006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
1703 Daniel Jacobowitz <dan@codesourcery.com>
1704
1705 * infcall.c (value_arg_coerce): Use value_cast_pointers for
1706 references. Avoid value_cast to a reference type. Don't silently
1707 convert pointers to references.
1708 * valops.c (value_cast_pointers): New, based on value_cast.
1709 (value_cast): Use it. Reject reference types.
1710 (value_ref): New.
1711 (typecmp): Use it.
1712 * value.h (value_cast_pointers, value_ref): New prototypes.
1713
d49c44d5
DJ
17142006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1715
1716 * remote.c (unpack_varlen_hex): Correct type of retval.
1717 Reported by Zhigang Gong <zhigang.gong@gmail.com>.
1718
99bcc461
DJ
17192006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1720
1721 * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
1722 or missing location list information. Suggested by Jan
1723 Kratochvil <lace@jankratochvil.net>.
1724
cb587d83
DJ
17252006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1726
1727 * Makefile.in (arm_linux_tdep_h): New variable.
1728 (arm-linux-nat.o, arm-linux-tdep.o): Update.
1729 * arm-linux-nat.c: Include "arm-linux-tdep.h".
1730 (typeNone, typeSingle, typeDouble, typeExtended)
1731 (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
1732 (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
1733 (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
1734 (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
1735 Delete.
1736 (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
1737 Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
1738 and collect_nwfpe_register.
1739 (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
1740 new regset functions.
1741 * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
1742 (arm_apcs_32): New declaration.
1743 (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
1744 (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
1745 (typeExtended, supply_nwfpe_register, collect_nwfpe_register)
1746 (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
1747 (arm_linux_regset_from_core_section): New.
1748 (arm_linux_init_abi): Register arm_linux_regset_from_core_section.
1749 * arm-linux-tdep.h: New file.
1750 * arm-tdep.h (struct regset): Declare.
1751 (struct gdbarch_tdep): Add gregset, fpregset members.
1752 * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
1753 core-regset.o.
1754 * config/arm/linux.mt (TDEPFILES): Add corelow.o.
1755
8802d8ed
DJ
17562006-07-12 Jan Kratochvil <lace@jankratochvil.net>
1757
1758 * infrun.c (handle_inferior_event): Fixed typos in printf.
1759
6765f3e5
DJ
17602006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1761 Nathan Sidwell <nathan@codesourcery.com>
1762
1763 * remote.c (REMOTE_ALIGN_WRITES): New.
1764 (remote_write_bytes): Align large write packets. Remove unused
1765 payload_start variable.
1766
0876f84a
DJ
17672006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1768
1769 * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
1770 (remote_supported_packet): Remove #if 0.
1771 (remote_protocol_features): Add qPart:auxv:read.
1772 (remote_unescape_input): New function.
1773 (readchar): Don't mask off the high bit.
1774 (read_frame): Use fputstrn_filtered for packet data.
1775 (getpkt_sane): Return the number of bytes read or -1. Use
1776 fputstrn_unfiltered.
1777 (remote_read_qxfer): New.
1778 (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
1779 (_initialize_remote): Update packet registration.
1780 * defs.h (fputstrn_filtered): New prototype.
1781 * utils.c (fputstrn_filtered): New.
1782 * NEWS: Mention qXfer.
1783
13547ab6
DJ
17842006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1785
1786 * target.c (target_read): Stop if target_read_partial returns 0
1787 when some bytes have already been read.
1788 (target_write): Likewise for target_write_partial.
1789 (target_read_partial, target_write_partial): Make static.
1790 (target_read_alloc): New.
1791 * target.h: Doc fixes.
1792 (target_read_partial, target_write_partial): Delete prototypes.
1793 (target_read_alloc): New prototype.
1794
1795 * auxv.c (target_auxv_read): Delete.
1796 (target_auxv_search, fprint_target_auxv): Use target_read_alloc.
1797 * auxv.h (target_auxv_read): Delete prototype.
1798 * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
1799 * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
1800 * linux-nat.c (linux_nat_make_corefile_notes): Likewise.
1801 * procfs.c (procfs_make_note_section): Likewise.
1802 * remote.c (remote_xfer_partial): Don't loop here.
1803 * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
1804
edfb1a26
DJ
18052006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1806
1807 * arm-linux-tdep.c: Doc fixes.
1808 (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
1809 (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
1810 (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
1811 constants.
1812 (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
1813 the new signal frame layouts.
1814
6e2c7fa1
DJ
18152006-07-12 Mike Frysinger <vapier@gentoo.org>:
1816 Daniel Jacobowitz <dan@codesourcery.com>
1817
1818 * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
1819 * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
1820 * gdbarch.sh: Correct comment.
1821
e0f2823e
DJ
18222006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1823
1824 * MAINTAINERS: Add Alfred Szmidt for the Hurd.
1825
24c41760
MK
18262006-07-11 Mark Kettenis <kettenis@gnu.org>
1827
1828 * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
1829
8a112c90
MK
18302006-07-10 Mark Kettenis <kettenis@gnu.org>
1831
1832 * alphaobsd-tdep.c: New file.
1833 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
1834 handler for GDB_OSABI_OPENBSD_ELF.
1835 * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
1836 (alphaobsd-tdep.o): New target.
1837 * config/alpha/obsd.mt: New file.
1838 * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
1839
9823e921
RH
18402006-07-10 Richard Henderson <rth@redhat.com>
1841
1842 * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
1843 * alpha-tdep.c (alpha_register_byte): Remove.
1844 (alpha_extract_struct_value_address): Remove.
1845 (alpha_return_value): New.
1846 (alpha_return_in_memory_always): New.
1847 (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
1848 set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
1849 instead of set_gdbarch_deprecated_use_struct_convention,
1850 set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
1851 or set_gdbarch_deprecated_extract_struct_value_address.
1852 * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
1853 alphafbsd_use_struct_convention, remove gcc_p argument.
1854 (alphafbsd_init_abi): Set tdep->return_in_memory instead of
1855 set_gdbarch_deprecated_use_struct_convention.
1856
789f3b5f
MK
18572006-07-09 Mark Kettenis <kettenis@gnu.org>
1858
b0ca8573
MK
1859 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
1860 prototype.
1861 * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
1862 a.out-style core file format here. Make global.
1863 (alphanbsd_regset_from_core_section): Remove.
1864 (alphanbsd_sigtramp_offset): Make static.
1865 (alphanbsd_aout_init_abi): Remove.
1866 (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
1867 a.out style core files.
1868 (_initialize_alphanbsd_tdep): Do not register a handler for
1869 GDB_OSABI_NETBSD_AOUT.
1870
3beabdb2 1871 * alphabsd-tdep.h: Tweak comments.
3b03cc43 1872 (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
3beabdb2
MK
1873 * alphanbsd-tdep.c: Reorder includes. Include "regset.h".
1874 (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
1875 (alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
1876 (alphanbsd_aout_supply_gregset): New functions.
1877 (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
1878 New variables.
1879 (alphanbsd_regset_from_core_section)
1880 (alphanbsd_aout_regset_from_core_section): New functions.
1881 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
1882 (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
1883 (alphanbsd_init_abi): Set regset_from_core_section.
1884 (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
1885 functions.
1886 (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
1887 Use alphanbsd_aout_init_abi whre appropriate. Don't call
1888 deprecated_add_core_fns.
1889 * Makefile.in (alphanbsd-tdep.o): Update dependencies.
1890
8fe7c54b
MK
1891 * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
1892 (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
1893
789f3b5f
MK
1894 * alphanbsd-tdep.c (alphanbsd_init_abi): Use
1895 svr4_lp64_fetch_link_map_offsets instead of
1896 nbsd_lp64_solib_svr4_fetch_link_map_offsets.
1897
09153d55
AS
18982006-07-06 Andrew Stubbs <andrew.stubbs@st.com>
1899
1900 * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
1901 write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
1902 write_exp_elt_intern): Zero initialize tmp.
1903
2ec3381a
DJ
19042006-07-05 Daniel Jacobowitz <dan@codesourcery.com>
1905
1906 * remote.c (remote_xfer_partial): Remove KOD support.
1907 * target.h (enum target_object): Remove TARGET_OBJECT_KOD.
1908 * MAINTAINERS: Move Kernel Object Display entry to past maintainers.
071d802b
MK
1909 * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o):
1910 Remove KOD support.
2ec3381a
DJ
1911 * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
1912 * NEWS: Mention KOD.
1913 * kod.h, kod.c, kod-cisco.c: Delete files.
1914
7fca722e
DJ
19152006-07-04 Daniel Jacobowitz <dan@codesourcery.com>
1916
1917 * remote.c (init_remote_state): Use xrealloc instead of xmalloc.
1918
4a35b02a
NW
19192006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
1920
1921 * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
1922 write_files is set.
1923
a6f0780a
EZ
19242006-06-24 Eli Zaretskii <eliz@gnu.org>
1925
1926 * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
1927
e4c16157
DJ
19282006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
1929
1930 * arm-tdep.c (arm_register_type): Use unsigned types for registers.
1931 Add special types for sp and pc.
1932 * Makefile.in (arm-tdep.o): Update.
1933
a31ea83d
DJ
19342006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1935
1936 * remote.c (remote_escape_output): New function.
1937 (remote_write_bytes): Use remote_escape_output.
1938
be2a5f71
DJ
19392006-06-21 Daniel Jacobowitz <dan@codesourcery.com>
1940
1941 * NEWS: Mention qSupported.
1942 * remote.c (struct remote_state): Add explicit_packet_size.
1943 (get_remote_packet_size): Check explicit_packet_size.
1944 (get_memory_packet_size): Likewise.
1945 (PACKET_qSupported): New enum value.
1946 (struct protocol_feature, remote_supported_packet)
1947 (remote_packet_size, remote_protocol_features)
1948 (remote_query_supported): New.
1949 (remote_open_1): Reset explicit_packet_size. Call
1950 remote_query_supported.
1951 (_initialize_remote): Register qSupported.
1952
42b575e5
AS
19532006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
1954
1955 * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
1956
9ae03986
JB
19572006-06-20 Joel Brobecker <brobecker@adacore.com>
1958
1959 * GDB 6.5 released from GDB 6.5 branch.
1960
8b07f6d8
MS
19612006-06-19 Michael Snyder <msnyder@redhat.com>
1962
1963 * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
1964 decide how many registers it takes to pass a floating point
1965 argument, what matters is the size of a floating point register
1966 (not the size of a general purpose register).
1967 (mips_o32_push_dummy_call): Ditto.
1968
ec5a4d75
KI
19692006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1970
1971 * configure.tgt: Add gdbserver support for m32r-linux.
1972
8d3239d5
MK
19732006-06-18 Mark Kettenis <kettenis@gnu.org>
1974
1975 * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
1976
14e60db5
DJ
19772006-06-15 Daniel Jacobowitz <dan@codesourcery.com>
1978
1979 * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
1980 based on insert_step_resume_breakpoint_at_frame.
1981 (handle_inferior_event): Update comments. Use
1982 insert_step_resume_breakpoint_at_caller.
1983 (insert_step_resume_breakpoint_at_frame): Revise comments.
1984
81a17f79
JB
19852006-06-14 Daniel Jacobowitz <dan@codesourcery.com>
1986
1987 * dwarf2read.c (read_unspecified_type): New function.
1988 (read_type_die): Handle DW_TAG_unspecified_type.
1989 (Committed by Julian Brown.)
1990
6490cafe
DJ
19912006-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1992
1993 * symfile.c (load_command): Check for a changed executable before
1994 "load".
1995
22e47e37
FF
19962006-06-13 Fred Fish <fnf@specifix.com>
1997
1998 * mips-tdep.c (mips_find_long_section): New function.
1999 (mips_gdbarch_init): Use it to set long and pointer sizes.
2000
5600ea19
NS
20012006-06-13 Nathan Sidwell <nathan@codesourcery.com>
2002
2003 * remote-file.io.c (remote_fileio_func_system): Treat zero length
2004 string as NULL. Adjust for NULL pointer argument.
2005 * doc/gdb.texinfo (system): Document behaviour with zero length
2006 string.
2007
bb572ddd
DJ
20082006-06-12 Daniel Jacobowitz <dan@codesourcery.com>
2009
2010 * remote.c (set_remote_protocol_packet_cmd)
2011 (show_remote_protocol_packet_cmd): New prototypes.
2012 (remote_set_cmdlist, remote_show_cmdlist): Move higher.
2013 (struct packet_config): Make name and title const.
2014 (add_packet_config_cmd): Remove unnecessary arguments.
2015 (_initialize_remote): Update calls.
2016
98739726
DJ
20172006-06-10 Daniel Jacobowitz <dan@codesourcery.com>
2018
2019 * mingw-hdep.c (gdb_select): Always check for NULL fd sets
2020 before calling FD_ISSET. Correct check for exceptfds which
2021 previously tested writefds.
2022
2b949cb6
JB
20232006-06-09 Daniel Jacobowitz <dan@codesourcery.com>
2024 Julian Brown <julian@codesourcery.com>
2025
4a9d57ab 2026 * dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
2b949cb6 2027
5b031165
JB
20282006-06-09 Julian Brown <julian@codesourcery.com>
2029
2030 * MAINTAINERS (Write After Approval): Add myself.
2031
b2d6f210
MS
20322006-06-08 Michael Snyder <msnyder@redhat.com>
2033
2034 * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
2035
1dd41f16
NS
20362006-06-08 Nathan Sidwell <nathan@codesourcery.com>
2037
6dd0fba6
NS
2038 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
2039 (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
2040 conversion. Use M68K_NUM_REGS for number of regs.
2041
ad9a8f3f
NS
2042 * remote-fileio.c (remote_fileio_reset): New.
2043 * remote-fileio.h (remote_fileio_reset): Prototype.
2044 * remote.c (extended_remote_restart, remote_open_1): Call it.
2045
2046 * remote.c (remote_open_1): Do preopen tasks before
1dd41f16
NS
2047 irreversably destroying state.
2048
ea9c271d
DJ
20492006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
2050
719abd53 2051 * remote.c (struct remote_state): New type, only containing
ea9c271d
DJ
2052 buf and buf_size.
2053 (remote_state): New variable.
2054 (get_remote_state): New function.
2055 (struct remote_arch_state): Renamed from struct remote_state.
2056 Removed buf and buf_size.
2057 (get_remote_arch_state): Renamed from get_remote_state. All
2058 necessary callers updated to call this function.
2059 (init_remote_state): Initialize the architecture-specific state.
2060 Update the target-specific state if necessary.
2061 (get_remote_packet_size): New function. All previous references
2062 changed to use this accessor function.
2063 (packet_reg_from_regnum, packet_reg_from_pnum): Take a
2064 remote_arch_state instead of a remote_state. All callers changed.
2065 (_initialize_remote): Initialize the packet buffer here.
2066
5cffb350
NS
20672006-06-06 Nathan Sidwell <nathan@codesourcery.com>
2068
ea9c271d 2069 * remote.c (remote_insert_watchpoint): Return -1, rather than
5cffb350
NS
2070 fatal error if packet is disabled.
2071 (remote_remove_watchpoint, remote_insert_hw_breakpoint,
2072 remote_remove_hw_breakpoint): Likewise.
2073
8a786d82
NR
20742006-06-02 Nick Roberts <nickrob@snap.net.nz>
2075
2076 * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
2077
f49e4e6d
MS
20782006-05-31 Michael Snyder <msnyder@redhat.com>
2079
2080 * mips-tdep.c: Comment tweaks.
2081
20e95c23
DJ
20822006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
2083
2084 * Makefile.in (top_builddir): Update comments.
2085 (INTL_DIR, INTL_SRC): Delete.
2086 (INTL, INTL_DEPS, INTL_CFLAGS): Update.
2087 * acinclude.m4: Include new gettext macros.
2088 * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. Remove copied
2089 CATALOGS code.
2090 * aclocal.m4, configure: Regenerated.
2091
9308fc88
DJ
20922006-05-30 Daniel Jacobowitz <dan@codesourcery.com>
2093
2094 * Makefile.in (arm-linux-nat.o): Update dependencies.
2095 * arm-linux-nat.c: Include "gdb_proc_service.h".
2096 (PTRACE_GET_THREAD_AREA): Define.
2097 (ps_get_thread_area): New function.
2098
46ea248b
AO
20992006-05-28 Alexandre Oliva <aoliva@redhat.com>
2100
2101 * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
2102 DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
2103 DWARF2_FRAME_REG_SAVED_VAL_EXP.
2104 * dwarf2-frame.c (execute_cfa_program): Handle val_offset,
2105 val_offset_sf and val_expression.
2106 (dwarf2_frame_prev_register): Handle the new reg rules.
2107 (dwarf2_frame_this_id): Use pc instead of function entry point.
2108
56c987f6
AO
21092006-05-28 Alexandre Oliva <aoliva@redhat.com>
2110
2111 * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
2112 (dwarf2_frame_sniffer): Use it.
2113 (decode_frame_entry_1): Set it according to augmentation "S".
2114
5648af48
JB
21152006-05-27 Joel Brobecker <brobecker@adacore.com>
2116
2117 From Peter Schauer <peterschauer@gmx.net>
2118 * m2-typeprint.c (m2_record_fields): Move variable declarations
2119 to the begining of the block.
2120
03a73f77
MM
21212006-05-23 Mark Mitchell <mark@codesourcery.com>
2122
2123 * mt-tdep.c (mt_register_name): Correct out-of-range logic to
2124 include additional registers.
2125
2126 * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
2127 Iscramb2, Qscramb2, Qchannel2.
2128 (mt_register_name): Likewise.
2129 (mt_copro_register_type): Describe ZI2 and ZQ2.
2130
2131 * mt-tdep.c (mt_gdb_regnums): Define
2132 MT_COPRO_PSEUDOREG_MAC_REGNUM.
2133 (mt_register_name): Use it.
2134 (mt_copro_register_type): Likewise.
2135 (mt_register_type): Likewise.
2136 (mt_pseudo_register_read): Likewise. Read the MAC register, not
2137 the coprocessor register.
2138 (mt_pseudo_register_write): Likewise.
2139
2b3c8945
CF
21402006-05-21 Christopher Faylor <cgf@timesys.com>
2141
2142 * win32-nat.c (cygwin_exceptions): New variable.
2143 (handle_exception): Treat a cygwin exception like a normal exception if
2144 cygwin_exceptions is true.
2145 (_initialize_win32_nat): Add "set cygwin-exceptions" handler.
2146
f79daebb
GM
21472006-05-20 Gaius Mulley <gaius@glam.ac.uk>
2148
2149 * NEWS: (Improved Modula-2 language support): New section.
2150
b4e70030
JB
21512006-05-19 Joel Brobecker <brobecker@adacore.com>
2152
2153 * configure: Regenerate using proper version of autoconf.
2154
a1f5b845
FF
21552006-05-19 Fred Fish <fnf@specifix.com>
2156
2157 * Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
2158 * dwarfread.c: Fix spelling of 'unexpected'.
2159 * mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
2160 * stack.c: Fix spelling of 'RETURN_VALUE'.
2161
82d03102
PG
21622006-05-18 Paul Gilliam <pgilliam@us.ibm.com
2163
2164 * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
2165
f2da6b3a
DJ
21662006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
2167
2168 * dwarf2-frame.c: Include "value.h".
2169 (read_reg): Use unpack_long and register_type.
2170 * Makefile.in (dwarf2-frame.o): Update.
2171
1f5befc1
DJ
21722006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
2173
2174 * remote-rdp.c: Deleted.
2175 * NEWS: Mention removal of remote-rdp.c.
2176
2177 * Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
2178 (remote-rdp.o): Delete.
2179 * README: Remove description of remote-rdp.c.
2180 * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
2181 * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
2182
cd96dfc9
DJ
21832006-05-16 Daniel Jacobowitz <dan@codesourcery.com>
2184
2185 * ser-e7kpc.c: Include <time.h> if it is available.
2186
21872006-05-16 Joel Brobecker <brobecker@adacore.com>
e374b601
JB
2188
2189 * version.in (version.in): Bump version number to 6.5.50 now
2190 that the gdb-6.5 branch has been created.
2191 * NEWS: Create a new section for changes that are included
2192 since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
2193 section.
2194
13942a42
JB
21952006-05-16 Jim Blandy <jimb@codesourcery.com>
2196
2197 * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
2198 the Global Maintainers' invitation to be an authorized committer
2199 for the Modula-2 support.
2200
8599da2d
MK
22012006-05-15 Mark Kettenis <kettenis@gnu.org>
2202
2203 * ppcobsd-nat.c: Include "gdb_assert.h".
2204 [PT_GETFPREGS] (getfpregs_supplies): New function.
2205 (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
2206 versions that have PT_GETFPREGS.
2207 (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
2208 ppcobsd_fpreg_offsets.
2209 * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
2210 Declare.
2211 * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
2212 variables.
2213 (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
2214 * Makefile.in (ppcobsd-nat.o): Update dependencies.
2215
4e8d927d
DJ
22162006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
2217
2218 * configure.ac: Use GCC_HEADER_STDINT.
2219 * acinclude.m4: Include stdint.m4.
2220 * Makefile.in (gdb_stdint_h): Define.
2221 (distclean): Remove gdb_stdint.h.
2222 (Makefile, stamp-h): Update rules to generate only the correct
2223 files.
2224 (gdb_stdint.h, stamp-int): New rules.
2225 * config.in, configure: Regenerated.
2226
19ca80ba
DJ
22272006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
2228
2229 * valprint.c: Include "exceptions.h".
2230 (val_print): If something goes wrong while printing, supply an
2231 error message.
2232
245c7f48
DJ
22332006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
2234
2235 * source.c (get_current_source_symtab_and_line)
2236 (set_current_source_symtab_and_line): Use { 0 }.
2237 * cli/cli-cmds.c (list_command): Likewise.
2238
53b33aeb
NR
22392006-05-14 Nick Roberts <nickrob@snap.net.nz>
2240
2241 * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands.
2242 (gdbmi): Use new variable name gdb-pc-address.
2243 (gdbmi-frame-handler): Use new variable name gdb-pc-address.
2244 Check that a match has been found.
2245
d3d3c7e6 22462006-05-13 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 2247
d3d3c7e6 2248 * m2-lang.h: Added function extern prototypes for
229582b7 2249 m2_is_long_set and get_long_set_bounds.
d3d3c7e6
GM
2250 * m2-typeprint.c: Complete replacement.
2251 (m2_print_type): Walk the Modula-2 type tree.
2252 (m2_type_name): New function.
2253 (m2_range): New function.
2254 (m2_typedef): New function.
2255 (m2_array): New function.
2256 (m2_pointer): New function.
2257 (m2_ref): New function.
2258 (m2_unknown): New function.
2259 (m2_union): New function.
2260 (m2_procedure): New function.
2261 (m2_print_bounds): New function.
2262 (m2_short_set): New function.
2263 (m2_is_long_set): New function.
2264 (m2_get_discrete_bounds): New function.
2265 (m2_is_long_set_of_type): New function.
2266 (m2_long_set): New function.
2267 (m2_record_fields): New function.
2268 (m2_enum): New function.
1c547afb 2269 * dwarf2read.c: Modified.
d3d3c7e6
GM
2270 (read_set_type): New function.
2271 (process_die): Call read_set_type.
1c547afb 2272 (read_base_type): Modifed.
d3d3c7e6 2273 (set_cu_language): Added Modula-2 case clause.
1c547afb 2274 * m2-valprint.c: Complete replacement.
d3d3c7e6
GM
2275 (print_function_pointer_address): New function.
2276 (get_long_set_bounds): New function.
2277 (m2_print_long_set): New function.
2278 (print_unpacked_pointer): New function.
2279 (print_variable_at_address): New function.
2280 (m2_val_print): Replaced.
2281 * gdb/MAINTAINERS (Write After Approval): Added
2282 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 2283
def18405
MK
22842006-05-12 Mark Kettenis <kettenis@gnu.org>
2285
2286 * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
2287 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
2288 (ppcnbsd_fill_fpreg): Remove prototypes.
2289 (struct regset): Add forward declaration.
2290 (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
2291 * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h",
2292 "regset.h" and "gdb_string.h". Don't include "breakpoint.h",
2293 "value.h", target.h and nbsd-tdep.h". Reorder includes.
2294 (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
2295 (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
2296 (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
2297 Remove macros.
2298 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
2299 (ppcnbsd_fill_fpreg): Remove functions.
2300 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
2301 (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
2302 (ppcnbsd_reg_offsets): New variable.
2303 (ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
2304 (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
2305 introduced in NetBSD 2.0.
2306 (ppcnbsd_sigtramp): Provide complete signal trampoline.
2307 (ppcnbsd2_sigtramp): New variable.
2308 (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
2309 svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section.
2310 Add ppcnbs2_sigtramp unwinder.
2311 (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
2312 Initialize ppcnbsd_reg_offsets.
2313 * ppcnbsd-nat.c: Update copyright year. Reorder includes.
2314 (getregs_supplies): Use regnum instead of regno.
2315 (getfpregs_supplies): Likewise.
2316 (ppcnbsd_fetch_inferior_registers): Likewise. Call
2317 ppc_supply_gregset and ppc_suppply_fpregset instead of
2318 ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
2319 (ppcnbsd_store_inferior_registers): Likewise. Call
2320 ppc_collect_gregset and ppc_collect_fpregset instead of
2321 ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
2322 (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
2323 (_initialize_ppcnbsd_nat): Add some whitespace.
2324 * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
2325 * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
2326 (NAT_FILE): Remove.
2327 * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2328
c4c50d37
DJ
23292006-05-11 Alfred M. Szmidt <ams@gnu.org>
2330
2331 * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
2332
576c2025
FF
23332006-05-11 Fred Fish <fnf@specifix.com>
2334
2335 * symtab.c (skip_prologue_using_sal): Handle single line functions
2336 like "foo(){}", which may optimize down to a single return inst.
2337
ba906c08
SE
23382006-05-10 Steve Ellcey <sje@cup.hp.com>
2339
2340 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
2341 message.
2342
4bf8967c
AS
23432006-05-09 Andreas Schwab <schwab@suse.de>
2344
2345 * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
2346 (execute_cfa_program): Add parameter eh_frame_p. Call
2347 dwarf2_frame_eh_frame_regnum when true.
2348 (dwarf2_frame_cache): Pass eh_frame_p from fde to
2349 execute_cfa_program.
2350 (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
2351 processing .eh_frame. Copy eh_frame_p to the new fde.
2352 (struct dwarf2_frame_ops): Add eh_frame_regnum.
2353 (dwarf2_frame_set_eh_frame_regnum): Define.
2354 (dwarf2_frame_eh_frame_regnum): Define.
2355
2356 * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
2357 (dwarf2_frame_eh_frame_regnum): Declare.
2358
55e969c1
DM
23592006-05-06 David S. Miller <davem@sunset.davemloft.net>
2360
2361 * linux-nat.c (linux_nat_do_thread_registers): Check for
2362 NULL collect_regset method.
2363
92f38ec2
UW
23642006-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2365
2366 * s390-tdep.c (s390_collect_regset): New function.
2367 (s390_gregset, s390x_gregset, s390_fpregset): Add it.
2368
6fed56b4
NR
23692006-05-06 Nick Roberts <nickrob@snap.net.nz>
2370
2371 * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a
2372 symbol.
2373
6fc19103
UW
23742006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
2375
2376 * linux-nat.c (exit_lwp): Fix NULL pointer access.
2377 (linux_nat_handle_extended): New parameter STOPPING.
2378 (wait_lwp): Call it with STOPPING equals 1.
2379 (linux_nat_wait): Call it with STOPPING equals 0.
2380
d539ed7e
UW
23812006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
2382
2383 * linux-nat.c (linux_nat_wait): Do not short-cut reporting
2384 of 'uninteresting' signals when single-stepping.
2385
49101e1c
DJ
23862006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
2387
2388 * MAINTAINERS: Move NEWS to the documentation entry.
2389
4f844a66
DM
23902006-05-05 David S. Miller <davem@sunset.davemloft.net>
2391
2392 * linux-nat.c (linux_nat_do_thread_registers): Use the
2393 regset_from_core_section infrastructure if the target
2394 supports it.
2395 * Makefile.in: Update dependencies.
bcc98f88
DM
2396 * linux-thread-db.c (thread_db_store_registers): Use
2397 regcache_raw_collect.
4f844a66 2398
411cb3f9
PG
23992006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
2400
2401 * ppc-linux-nat.c: Clean up types for ptrace.
2402 Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference
2403 between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
2404
597320e7
DJ
24052006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
2406
2407 * remote.c (remote_disconnect): Add TARGET argument.
2408 * target.c (debug_to_disconnect): Delete.
2409 (update_current_target): Do not inherit to_disconnect.
2410 (target_disconnect): Search for a target to implement to_disconnect.
2411 (setup_target_debug): Do not reference to_disconnect.
2412 * target.h (struct target_ops): Add target argument to
2413 to_disconnect.
2414
401835eb
FF
24152006-05-06 Fred Fish <fnf@specifix.com>
2416
2417 * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
2418 structs or unions independent of ABI register size.
2419
7a076fd2
FF
24202006-05-06 Fred Fish <fnf@specifix.com>
2421
2422 * mips-tdep.c (mips_o64_return_value): Replace stub that always
2423 returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2424
eec01795
DJ
24252006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
2426
2427 * mi/mi-main.c (captured_mi_execute_command): Check the return
2428 value of -interpreter-exec.
2429
14b3d9c9
JB
24302006-05-03 Vladimir Prus <ghost@cs.msu.su>
2431
411cb3f9
PG
2432 * varobj.c (c_value_of_variable): Ignore top-level references.
2433 (Committed by Jim Blandy.)
14b3d9c9 2434
1893a4c0
MK
24352006-04-30 Mark Kettenis <kettenis@gnu.org>
2436
2437 * breakpoint.c (insert_single_step_breakpoint): Make a failure to
2438 insert a single-step breakpoint an error instead of a warning.
2439
21f79b33
NW
24402006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
2441
2442 * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
2443 arguments from void * to gdb_byte *.
2444
b8db102d
MS
24452006-04-26 Michael Snyder <msnyder@redhat.com>
2446
2447 * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
2448 command to "delete fork" (no hyphen), compatible with other
2449 "delete" commands.
2450 (info_forks_command): Accept a fork ID argument, for info
2451 on a single fork. Report if no matching forks.
2452
bc0c849e
MK
24532006-04-25 Mark Kettenis <kettenis@gnu.org>
2454
1893a4c0
MK
2455 * breakpoint.c (remove_single_step_breakpoints): Bail out early if
2456 no breakpoints are inserted.
2457
bc0c849e
MK
2458 From Masaki MURANAKA <monaka@monami-software.com>:
2459 * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
2460 type of last argument to `gdb_byte *'
2461
5f1fb6dc
JB
24622006-04-25 Jim Blandy <jimb@codesourcery.com>
2463
2464 Add support for 'target remote |' on MinGW.
2465 * ser-mingw.c (struct pipe_state): New structure.
2466 (make_pipe_state, free_pipe_state, cleanup_pipe_state)
2467 (pipe_windows_open, pipe_windows_close, pipe_windows_read)
2468 (pipe_windows_write, pipe_wait_handle): New functions.
2469 (_initialize_ser_windows): Register a "pipe" interface based on
2470 them.
2471
c3e2b812
DJ
24722006-04-24 Daniel Jacobowitz <dan@codesourcery.com>
2473
2474 * ser-mingw.c: Include <conio.h>.
2475 (struct ser_console_state, struct net_windows_state): Add exit_select,
2476 have_stopped, thread.
2477 (pipe_select_thread, console_select_thread)
2478 (net_windows_select_thread): Don't create a local state copy or
2479 close stop_select. Exit on exit_select instead of stop_select. Set
2480 have_stopped.
2481 (console_select_thread): Don't report control keypresses as pending
2482 input.
2483 (pipe_select_thread): Allow stop_select to interrupt sleeping.
2484 (set_console_wait_handle): Create exit_select and have_stopped.
2485 Save the thread handle. Check _kbhit before starting a thread.
2486 (ser_console_done_wait_handle): New.
2487 (ser_console_close): Close new handles. Wait for the thread to
2488 exit.
2489 (new_windows_select_thread): Assert that an event occurred.
2490 (net_windows_wait_handle): Check for pending input before starting
2491 a thread.
2492 (net_windows_done_wait_handle): New.
2493 (net_windows_open): Create exit_select and have_stopped.
2494 Save the thread handle.
2495 (net_windows_close): Close new handles. Wait for the thread to
2496 exit.
2497 (_intiialize_ser_windows): Register done_wait_handle methods.
2498
2499 * serial.c [USE_WIN32API] (serial_done_wait_handle): New.
2500 * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
2501 [USE_WIN32API] (serial_done_wait_handle): New prototype.
2502 * mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
2503
b8eb021a
AS
25042006-04-23 Andreas Schwab <schwab@suse.de>
2505
2506 * rs6000-tdep.c: Include "reggroups.h" only once.
2507 * Makefile.in (rs6000-tdep.o): Update dependencies.
2508
4f1520fb
FR
25092006-04-21 Frederic Riss <frederic.riss@st.com>
2510
2511 * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
2512 compilation directory as last argument.
2513 Always pass comp_dir as second argument to start_subfile and prepend
2514 dirname to the filename when necessary.
2515 Remove now superfluous search for pre-existing subfile.
2516 (dwarf_decode_lines): Pass the compilation directory to
2517 dwarf2_start_subfile.
2518
0271fba4
MS
25192006-04-20 Michael Snyder <msnyder@redhat.com>
2520
2521 * 2006-03-22 Jim Blandy <jimb@redhat.com>
2522 Add support for the Renesas M32C and M16C.
2523
2524 * configure.tgt (m32c-*-*): New entry.
2525 * config/m32c/m32c.mt: New file.
2526 * m32c-tdep.c: New file.
2527 * Makefile.in (elf_m32c_h): New variable.
2528 (m32c-tdep.o): New rule.
2529 * NEWS: Mention new target.
2530 * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
2531
cfde0993
MS
25322006-04-20 Michael Snyder <msnyder@redhat.com>
2533
2534 * remote.c: Fix spelling error in comment.
2535
cba5fab9
DJ
25362006-04-20 Daniel Jacobowitz <dan@codesourcery.com>
2537
2538 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
2539 Correct type of VALUEP. Reported by Jean-Rene Peulve
2540 <jr.peulve@wanadoo.fr>.
2541
cbba9205
KI
25422006-04-19 Masaki Muranaka <monaka@monami-software.com>
2543
2544 * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
2545 netdb.h, netinet/in.h.
2546 (m32r_upload_command); Add calls WSAStartup().
2547 * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
2548 netinet/in.h.
2549
8181d85f
DJ
25502006-04-18 Daniel Jacobowitz <dan@codesourcery.com>
2551
2552 * breakpoint.c (deprecated_read_memory_nobpt): Update to use
2553 shadow_len.
2554 (insert_bp_location, reattach_breakpoints, remove_breakpoint)
2555 (delete_breakpoint): Update calls to changed methods.
2556 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
2557 (single_step_breakpoints, insert_single_step_breakpoint)
2558 (remove_single_step_breakpoints): New.
2559 * breakpoint.h (struct bp_target_info): New.
2560 (struct bp_location): Replace shadow_contents with
2561 target_info and overlay_target_info.
2562 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
2563 (insert_single_step_breakpoint, remove_single_step_breakpoints): New
2564 prototypes.
2565 * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
2566 (memory_insert_breakpoint, memory_remove_breakpoint): Update second
2567 argument.
2568 * mem-break.c (default_memory_insert_breakpoint): Update. Set
2569 placed_address, placed_size, and shadow_len.
2570 (default_memory_remove_breakpoint): Update. Don't use
2571 BREAKPOINT_FROM_PC.
2572 (memory_insert_breakpoint, memory_remove_breakpoint): Update.
2573 * target.c (update_current_target): Update prototypes for changed
2574 functions.
2575 (debug_to_insert_breakpoint, debug_to_remove_breakpoint)
2576 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
2577 Update.
2578 * target.h: Forward declare struct bp_target_info.
2579 (struct target_ops): Use a bp_target_info argument for
2580 to_insert_breakpoint, to_remove_breakpoint,
2581 to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
2582 (target_insert_breakpoint, target_remove_breakpoint)
2583 (target_insert_hw_breakpoint, target_remove_hw_breakpoint)
2584 (memory_insert_breakpoint, memory_remove_breakpoint)
2585 (default_memory_insert_breakpoint, default_memory_remove_breakpoint):
2586 Update.
2587 * config/i386/nm-i386.h: Forward declare struct bp_target_info.
2588 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
2589 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
2590
2591 * gdbarch.c, gdbarch.h: Regenerated.
2592
2593 * alpha-tdep.c (alpha_software_single_step): Use
2594 insert_single_step_breakpoint and remove_single_step_breakpoints.
2595 Remove unused statics.
2596 * arm-tdep.c (arm_software_single_step): Likewise. Add a note.
2597 * cris-tdep.c (cris_software_single_step): Likewise.
2598 * mips-tdep.c (mips_software_single_step): Likewise.
2599 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
2600 * sparc-tdep.c (sparc_software_single_step): Likewise.
2601 * wince.c (struct thread_info_struct): Remove step_prev.
2602 (undoSStep): Use remove_single_step_breakpoints.
2603 (wince_software_single_step): Use insert_single_step_breakpoint.
2604
2605 * corelow.c (ignore): Remove unneeded prototype. Update arguments.
2606 * exec.c (ignore): Likewise.
2607 * sol-thread.c (ignore): Likewise.
2608
2609 * procfs.c (dbx_link_shadow_contents): Delete.
2610 (dbx_link_bpt): New.
2611 (procfs_mourn_inferior): Remove it if necessary.
2612 (remove_dbx_link_breakpoint): Use it.
2613 (insert_dbx_link_bpt_in_file): Set it.
2614 (procfs_init_inferior): Don't update dbx_link_bpt_addr.
2615 * rs6000-nat.c (exec_one_dummy_insn): Use
2616 deprecated_insert_raw_breakpoint and
2617 deprecated_remove_raw_breakpoint.
2618 * solib-irix.c (shadow_contents, breakpoint_addr): Delete.
2619 (base_breakpoint): New.
2620 (disable_break): Use it.
2621 (enable_break): Set it.
2622
2623 * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
2624 Update.
2625 * ia64-tdep.c (ia64_memory_insert_breakpoint)
2626 (ia64_memory_remove_breakpoint): Likewise.
2627 * m32r-tdep.c (m32r_memory_insert_breakpoint)
2628 (m32r_memory_remove_breakpoint): Likewise.
2629 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2630 Likewise. Remove unnecessary prototypes. Use placed_address
2631 and placed_size. Removed useless read from memory.
2632 * nto-procfs.c (procfs_insert_breakpoint)
2633 (procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
2634 (procfs_remove_hw_breakpoint): Update.
2635 * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
2636 * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
2637 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
2638 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
2639 * remote-e7000.c (e7000_insert_breakpoint)
2640 (e7000_remove_breakpoint): Likewise.
2641 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2642 (m32r_remove_breakpoint): Likewise.
2643 * remote-mips.c (mips_insert_breakpoint)
2644 (mips_remove_breakpoint): Likewise.
2645 * remote-rdp.c (remote_rdp_insert_breakpoint)
2646 (remote_rdp_remove_breakpoint): Likewise.
2647 (rdp_step): Use deprecated_insert_raw_breakpoint and
2648 deprecated_remove_raw_breakpoint.
2649 * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
2650 Update.
2651 * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
2652 Delete.
2653 (init_gdbsim_ops): Use memory_insert_breakpoint and
2654 memory_remove_breakpoint.
2655 * remote-st.c (st2000_insert_breakpoint)
2656 (st2000_remove_breakpoint): Update. Remove unused
2657 BREAKPOINT_FROM_PC.
2658 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2659 Update. Use placed_address and placed_size.
2660 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
2661
01d3a6ce
DJ
26622006-04-12 Daniel Jacobowitz <dan@codesourcery.com>
2663
2664 * remote.c (extended_remote_restart): Pass the correct length
2665 to getpkt.
2666
2821caf1
JB
26672006-04-11 Jim Blandy <jimb@codesourcery.com>
2668
2669 * serial.c (serial_open): Check for special cases at the front of
2670 the "device" name before scanning for the ':' that would indicate
2671 an IP-based connection.
2672
02c5aecd
CF
26732006-04-10 Christopher Faylor <cgf@timesys.com>
2674
2675 * win32-nat.c (open_symbol_file_object): New function.
2676 (in_dynsym_resolve_code): Ditto.
2677 (init_win32_ops): Fill in fields which ought not to be NULL.
2678
cb832706
CF
26792006-04-10 Christopher Faylor <cgf@timesys.com>
2680
2681 * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
2682 with saved context if __COPY_CONTEXT_SIZE is not defined.
2683 (handle_output_debug_string): Ditto.
2684
03926e1f
DJ
26852006-04-10 Daniel Jacobowitz <dan@codesourcery.com>
2686
2687 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
2688
b2a0b9b2
DM
26892006-04-09 David S. Miller <davem@sunset.davemloft.net>
2690
2691 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
2692 frame sniffer.
2693 * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
2694 dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
2695 that the latter can override.
2696 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2697
ee1b3323
UW
26982006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
2699
2700 * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
2701 (s390_store): Call pv_area_store to track stack slots.
2702 (s390_load): Call pv_area_fetch to track stack slots.
2703 (s390_check_for_saved): New function.
2704 (s390_analyze_prologue): Call pv_area_scan. Allocate and free stack.
2705
3fc46200
UW
27062006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
2707
2708 * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
2709 * s390-tdep.c: Include "prologue-value.h".
2710 (struct prologue_value): Remove.
2711 (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
2712 pv_constant_last, pv_add, pv_add_constant, pv_subtract,
2713 pv_logical_and, pv_is_identical, pv_is_register): Remove.
2714 (compute_x_addr): Remove, replace by ...
2715 (s390_addr): ... this new function.
2716 (struct s390_prologue_data): Use pv_t instead of prologue_value.
2717 (s390_store, s390_load): Likewise.
2718 (s390_prologue_frame_unwind_cache): Likewise.
2719 (s390_analyze_prologue): Likewise. Also, simplify and combine
2720 several conditional statements.
2721
d750b939
JB
27222006-04-08 Jim Blandy <jimb@codesourcery.com>
2723
2724 * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from
2725 last patch.)
2726
0b4294d3
DM
27272006-04-08 David S. Miller <davem@sunset.davemloft.net>
2728
2729 * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
2730 (sparc32_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
2731 (sparc32_linux_core_gregset,
2732 sparc32_linux_supply_core_gregset,
2733 sparc32_linux_collect_core_gregset,
2734 sparc32_linux_supply_core_fpregset,
2735 sparc32_linux_collect_core_fpregset): New.
2736 (sparc32_linux_init_abi): Register them with generic sparc
2737 core regset infrastructure.
0b4294d3
DM
2738 * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
2739 (sparc64_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
2740 (sparc64_linux_core_gregset,
2741 sparc64_linux_supply_core_gregset,
2742 sparc64_linux_collect_core_gregset,
2743 sparc64_linux_supply_core_fpregset,
2744 sparc64_linux_collect_core_fpregset): New.
2745 (sparc64_linux_init_abi): Register them with generic sparc
2746 core regset infrastructure.
0b4294d3
DM
2747 * Makefile.in: Update dependencies.
2748
9c0dd46b
DM
27492006-04-07 David S. Miller <davem@sunset.davemloft.net>
2750
2751 * linux-nat.c (linux_nat_thread_alive): Handle targets that
2752 do not implement PTRACE_PEEKUSER.
2753
670aa98f
DJ
27542006-04-07 Daniel Jacobowitz <dan@codesourcery.com>
2755
2756 * remote.c (remote_wait): Convert warning to error before
2757 parsing corrupt packets.
2758
e28493f2
AS
27592006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
2760
2761 * cli/cli-script.c (struct user_args): Add command field.
2762 (arg_cleanup): Free command string.
2763 (setup_user_args): Copy the command line before relying on it.
2764
7f198e01
JB
27652006-04-06 Joel Brobecker <brobecker@adacore.com>
2766
2767 * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
2768 of the "delete" command.
2769
c9f7217e
RC
27702006-04-06 Randolph Chung <tausq@debian.org>
2771
2772 * MAINTAINERS (Patch champions): Add myself.
2773
d993720d
AS
27742006-04-05 Andreas Schwab <schwab@suse.de>
2775
2776 * Makefile.in: Update dependencies.
2777
f5a9b87d
DM
27782006-04-05 David S. Miller <davem@sunset.davemloft.net>
2779
2780 * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
2781 (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
2782 * Makefile.in (sparc-tdep.o): Update dependencies.
80f9e3aa
DM
2783 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
2784 window out of the correct stack frame.
2785 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
aff37fc1
DM
2786 * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
2787 argument.
2788 (dwarf2_frame_default_init_reg): Likewise.
2789 (dwarf2_frame_set_init_reg): Update init_reg arg.
2790 (dwarf2_frame_init_reg): Take "next_frame" and pass it to
2791 ops->init_reg().
2792 (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
2793 * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
2794 * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
2795 * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
2796 * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
2797 * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
2798 * sparc-tdep.c (sparc32_struct_return_from_sym): New function.
2799 (sparc32_frame_cache): Call it.
2800 (sparc32_dwarf2_struct_return_p): New function.
2801 (sparc_dwarf2_frame_init_reg): Use it to determine if the function
2802 returns a structure and thus we have to indicate the return PC and
2803 NPC are 4 bytes later than usual.
faea95b1
DM
2804 * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
2805 dwarf2 frame sniffer.
2806 * Makefile.in (sparc-linux-tdep.o): Update dependencies.
f5a9b87d 2807
75e192e6
DM
28082006-04-04 David S. Miller <davem@davemloft.net>
2809
2810 * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
2811 * config/linux64.h (NATDEPFILES): Likewise
2812 * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
2813 fill_fpregset): New.
2814 * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
2815 fill_fpregset): New.
0a59b3af
DM
2816 * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
2817 new includes.
2818
dbcd679b
AS
28192006-04-04 Andreas Schwab <schwab@suse.de>
2820
2821 * Makefile.in (elf_common_h): Define.
2822
357d3800
AS
28232006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
2824
2825 * sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
2826 (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
2827
d3c139e9
AS
28282006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
2829
2830 * value.h (struct internalvar): Add field 'endian'.
2831 * value.c (lookup_internalvar): Initialise endian.
2832 (value_of_internalvar): Flip the endian of built-in types if required.
2833 (set_internalvar): Set the endian.
2834 (show_convenience): Access the value through value_of_internalvar().
2835
bb858e6a
DJ
28362006-03-30 Vladimir Prus <ghost@cs.msu.su>
2837
2838 * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
2839 instead of hardcoded integer literals.
2840
61d9b92f
DJ
28412006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2842
2843 * cli/cli-script.c (insert_args): Handle NULL user_args.
2844
f7060f85
DJ
28452006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2846
2847 * arm-tdep.c (thumb_scan_prologue): Don't try to analyze
2848 the function at zero if we have no symbols.
2849
295bf0ff
DJ
28502006-03-30 Adrien Kunysz <a_kunysz@yahoo.com>
2851
2852 * i386-stub.c (getpacket): Fix array overflow.
2853 * m32r-stub.c (getpacket): Likewise.
2854 * m68k-stub.c (getpacket): Likewise.
2855 * sh-stub.c (getpacket): Likewise.
2856 * sparc-stub.c (getpacket): Likewise.
2857
7abfe014
DJ
28582006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2859
2860 * frame.h (set_current_sal_from_frame): New prototype.
2861 * stack.c (set_current_sal_from_frame): Make global.
2862 * infrun.c (normal_stop): Call set_current_sal_from_frame.
2863
0ec9a092
DJ
28642006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2865
2866 * linux-thread-db.c: Include "linux-nat.h".
2867 (check_for_thread_db): New function, split out from
2868 thread_db_new_objfile. Remove dead check for active
2869 thread_db on inapplicable targets.
2870 (thread_db_new_objfile): Call check_for_thread_db.
2871 * Makefile.in (linux-thread-db.o): Update.
2872 * linux-nat.c (child_post_attach): Call check_for_thread_db.
2873 (linux_child_post_startup_inferior): Likewise.
2874 (lin_lwp_attach_lwp): Call target_post_attach instead of
2875 child_post_attach.
2876 * linux-nat.h (check_for_thread_db): New prototype.
2877
6d820c5c
DJ
28782006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2879
2880 * remote.c (struct remote_state): Add BUF and BUF_SIZE.
2881 (init_remote_state): Initialize the new fields.
2882 (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
2883 (set_thread, remote_thread_alive, remote_unpack_thread_info_response)
2884 (remote_get_threadinfo, parse_threadlist_response)
2885 (remote_get_threadlist, remote_current_thread, remote_threads_info)
2886 (remote_threads_extra_info, extended_remote_restart, get_offsets)
2887 (remote_check_symbols, remote_open_1, remote_detach)
2888 (remove_vcont_probe, remote_vcont_resume, remote_resume)
2889 (remote_wait, remote_async_wait, fetch_register_using_p)
2890 (remote_fetch_registers, store_register_using_P)
2891 (remote_store_registers, check_binary_download, remote_write_bytes)
2892 (remote_read_bytes, remote_insert_breakpoint)
2893 (remote_remove_breakpoint, remote_insert_watchpoint)
2894 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
2895 (remote_remove_hw_breakpoint, compare_sections_command)
2896 (remote_xfer_partial, remote_rcmd, packet_command)
2897 (remote_get_thread_local_address): Use the global incoming buffer
2898 instead of alloca or xmalloc. Limit outgoing packets to
2899 rs->remote_packet_size and incoming packets to rs->buf_size.
2900 Update calls to getpkt and remote_send.
2901 (remote_send): Take arguments by reference.
2902 (putpkt_binary): Eliminate junkbuf. Use skip_frame.
2903 (skip_frame): New function.
2904 (read_frame): Take arguments by reference. Expand the packet
2905 buffer instead of issuing an error.
2906 (getpkt, getpkt_sane): Take arguments by reference.
2907 * remote.h (getpkt): Update prototype and doc.
2908 * tracepoint.c (remote_get_noisy_reply): Take arguments by
2909 reference.
2910 (target_buf): Change from array to pointer.
2911 (target_buf_size): New variable.
2912 (remote_set_transparent_ranges): Update call to getpkt.
2913 (trace_start_command, trace_stop_command, trace_status_command):
2914 Update calls to remote_get_noisy_reply.
2915 (finish_tfind_command): Take arguments by reference.
2916 (trace_find_command, trace_find_pc_command)
2917 (trace_find_tracepoint_command, trace_find_line_command):
2918 (trace_find_range_command, trace_find_outside_command): Update
2919 calls to finish_tfind_command.
2920 (_initialize_tracepoint): Initialize target_buf_size and target_buf.
2921
3d8dcac6
RC
29222005-03-30 Randolph Chung <tausq@debian.org>
2923
2924 * hppa-linux-tdep.c: Include regset.h.
2925 (GR_REGNUM, TR_REGNUM, greg_map): New.
2926 (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
2927 (hppa_linux_regset, hppa_linux_fpregset): New.
2928 (hppa_linux_regset_from_core_section): New.
2929 (hppa_linux_init_abi): Set regset_from_core_section.
2930 (_initialize_hppa_linux_tdep): Register osabi handler for
2931 64-bit Linux.
2932 * Makefile.in (hppa-linux-tdep.o): Update dependencies.
2933 * config/pa/linux.mh: Stop using core-regset.o
2934
29d375ac
RC
29352006-03-30 Randolph Chung <tausq@debian.org>
2936
2937 * hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
2938 (hppa_frame_cache): Use new function to find unwind entry.
2939 (hppa_frame_this_id): Likewise.
2940 (hppa_frame_unwind_sniffer): Likewise.
2941
f4267320
DJ
29422006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2943
2944 * NEWS: Mention the removal of NLM.
2945
29462006-03-29 Steve Ellcey <sje@cup.hp.com>
2947
2948 * Makefile.in (nlm): Remove target.
2949 * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
2950 * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
2951 * configure: Regenerate.
2952 * doc/gdb.texinfo: Remove gdbserve.nlm documentation.
2953 * nlm: Remove directory.
2954
698ba934
DJ
29552006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2956
2957 * Makefile.in (utils.o): Update.
2958 * top.c (in_user_command): New.
2959 (command_line_input): Use input_from_terminal_p.
2960 (input_from_terminal_p): Don't check caution. Handle
2961 stdin == NULL for Insight.
2962 * top.h (in_user_command, caution): New declarations.
2963 * utils.c: Include "top.h".
2964 (query, defaulted_query): Check caution here. Move the call
2965 to input_from_terminal_p higher.
2966 * cli/cli-script.c (do_restore_user_call_depth): Only decrement
2967 the depth. Update in_user_command if necessary.
2968 (execute_user_command): Don't clobber old_chain. Set
2969 in_user_command. Let do_restore_user_call_depth handle
2970 user_call_depth.
2971 (read_command_lines): Check whether to prompt before calling
2972 Insight hooks.
2973 * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
2974 input_from_terminal_p check.
2975
2f00de94
UW
29762006-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2977
2978 * s390-nat.c (s390_insert_watchpoint): Add missing argument.
2979 (s390_remove_watchpoint): Likewise.
2980
7d30c22d
JB
29812006-03-28 Jim Blandy <jimb@codesourcery.com>
2982
2983 * prologue-value.c, prologue-value.h: New files.
2984 * Makefile.in (prologue_value_h): New variable.
2985 (HFILES_NO_SRCDIR): List prologue-value.h.
2986 (SFILES): List prologue-value.c.
2987 (COMMON_OBS): List prologue-value.o.
2988 (prologue-value.o): New rule.
2989
05c6a9a1
MS
29902006-03-27 Michael Snyder <msnyder@redhat.com>
2991
2992 * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
2993 xstormy16_pointer_to_address, xstormy16_address_to_pointer,
2994 xstormy16_frame_prev_register): Change void* to gdb_byte*.
2995 (xstormy16_push_dummy_call): Add block-local char* val,
2996 to avoid type conflict with outer scope variable.
2997
4e6cbc38
AS
29982006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
2999
3000 * sh-tdep.c (sh_gdbarch_init): Add missing architectures.
3001
75483fbe
NR
30022006-03-27 Nick Roberts <nickrob@snap.net.nz>
3003
d149de7b 3004 PR mi/1429
75483fbe
NR
3005 * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero
3006 offsets for languages like Fortran.
3007
97ce3a05
RC
30082006-03-26 Randolph Chung <tausq@debian.org>
3009
3010 * config/pa/hppa64.mt: Use HPUX version of the tm file.
3011
be85b69f
NR
30122006-03-25 Nick Roberts <nickrob@snap.net.nz>
3013
3014 * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands.
3015 Try to deal with continuation line.
3016 (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
3017 variable names.
3018 (gdb-break-list-regexp, gdb-stack-list-frames-regexp):
3019 Future proof against new fields being added to MI output.
3020 (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
3021 (gdbmi-frame-handler): Update to new variable name
3022 gdb-get-buffer-create.
3023 (gdbmi-frame-handler): Use hollow-right-triangle for all selected
3024 frames which except the innermost (where execution has stopped).
3025
7fc4b1a1
RC
30262006-03-24 Randolph Chung <tausq@debian.org>
3027
3028 * solib-som.c (link_map_start): Don't error out if there is
3029 not yet a link map.
3030
f973ed9c
DJ
30312006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3032
3033 * linux-nat.c (linux_ops_saved): New.
3034 (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
3035 (child_mourn_inferior, child_wait, linux_nat_create_inferior)
3036 (linux_nat_fetch_registers, linux_nat_store_registers)
3037 (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
3038 (init_lwp_list): Don't set threaded.
3039 (add_lwp): Don't modify threaded.
3040 (delete_lwp): Don't mention non-threaded mode.
3041 (linux_nat_switch_fork): New.
3042 (linux_nat_attach): Update inferior_ptid.
3043 (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check
3044 threaded flag.
3045 (linux_nat_kill): Handle pending forks and saved forks.
3046 (linux_nat_mourn_inferior): Handle saved forks.
3047 (linux_nat_pid_to_str): Don't use the LWP form when there is
3048 only one thread.
3049 (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
3050 (linux_nat_add_target): New.
3051 (_initialize_linux_nat): Don't initialize the linux native target
3052 here.
3053 * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
3054 prototypes.
3055 * linux-fork.c: Include "linux-nat.h".
3056 (add_fork): Update initial PID.
3057 (fork_load_infrun_state): Call linux_nat_switch_fork.
3058 * Makefile.in (linux-fork.o): Update.
3059
3060 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
3061 linux_nat_add_target instead of add_target.
3062 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
3063 * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
3064 * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
3065 * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
3066 * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
3067 * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
3068 * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
3069 * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
3070 * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
3071 * s390-nat.c (_initialize_s390_nat): Likewise.
3072 * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
3073 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
3074
791b663b
DJ
30752006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3076
3077 * linux-fork.c: Include "gdb_assert.h".
3078 (fork_load_infrun_state): Set inferior_ptid and stop_pc here.
3079 Update the register cache and selected frame also.
3080 (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return
3081 to single fork mode if necessary.
3082 (linux_fork_context): Remove bits handled by fork_load_infrun_state.
3083 * Makefile.in (linux_fork_h): New.
3084 (linux-fork.o, linux-nat.o): Update.
3085
d311d956
AS
30862006-03-23 Andreas Schwab <schwab@suse.de>
3087
3088 * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
3089
a849c9ab
JB
30902006-03-18 Jim Blandy <jimb@codesourcery.com>
3091
3092 * symtab.h (enum address_class): Doc fix.
3093
cf913f37
MS
30942006-03-16 Michael Snyder <msnyder@redhat.com>
3095
712e3020 3096 * tracepoint.c (tracepoint_save_command): Fix typo in error msg.
88c231eb 3097 * target.c (push_target): Fix typo in comment.
94e08568 3098 * remote.c (remote_watch_data_address): Fix typo in comment.
cf913f37
MS
3099 * i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
3100
7c699b81
KB
31012006-03-15 Kevin Buettner <kevinb@redhat.com>
3102
3103 * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h):
3104 Include.
3105 (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR)
3106 (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1)
3107 (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR)
3108 (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define.
3109 (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t)
3110 (frv_elf_fpregset_t): Define types.
3111 (frv_linux_supply_gregset, frv_linux_supply_fpregset)
3112 (frv_linux_regset_from_core_section: New functions.
3113 (frv_linux_gregset, frv_linux_fpregset): New static globals.
3114 (frv_linux_init_abi): Register the `regset_from_core_section' method.
3115 * Makefile.in (frv-linux-tdep.o): Update dependencies.
3116 * solib-frv.c (frv_current_sos): Relocate main executable after
3117 loading core file.
3118 (frv_clear_solib): Clean up space associated with
3119 `main_executable_lm_info'.
3120 * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list.
3121
d37eb719
DJ
31222006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3123
3124 * Makefile.in (mips_linux_tdep_h): New.
3125 (mpis-linux-nat.o, mips-linux-tdep.o): Update.
3126 * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
3127 <sys/ptrace.h>.
3128 (have_ptrace_regsets, super_fetch_registers, super_store_registers)
3129 (mips64_linux_regsets_fetch_registers)
3130 (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
3131 (mips64_linux_store_registers): New.
3132 (_initialize_mips_linux_nat): Override to_fetch_registers and
3133 to_store_registers.
3134 * mips-linux-tdep.h: New file.
3135 * mips-linux-tdep.c: Include "mips-linux-tdep.c".
3136 (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
3137 (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
3138 (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
3139 (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
3140 (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
3141 (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
3142 (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
3143 (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
3144 (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
3145 (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
3146 (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
3147 (supply_32bit_reg): Use gdb_byte.
3148 (supply_64bit_reg): New.
3149 (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
3150 (mips_fill_fpregset, fetch_core_registers, supply_gregset)
3151 (fill_gregset, supply_fpregset): Update for renamed types.
3152 (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
3153 (mips64_fill_gregset): Make global. Handle 32-bit register
3154 sizes.
3155 (mips64_fill_fpregset): Make global. Use gdb_byte. Handle
3156 FP regsets properly.
3157
9f62d0e2
DJ
31582006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3159
3160 * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
3161 (mips_fill_gregset): Renamed from fill_gregset.
3162 (mips_supply_fpregset): Renamed from supply_fpregset.
3163 (mips_fill_fpregset): Renamed from fill_fpregset.
3164 (fetch_core_registers): Update calls.
3165 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
3166 functions.
3167
26c53e50
DJ
31682006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3169
3170 * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
3171
5b652102
DJ
31722006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3173
3174 * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
3175 Correct arithmetic for 64-bit CORE_ADDR.
3176
d05f6826
DJ
31772006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3178
3179 * mips-linux-tdep.c: Include "floatformat.h".
3180 (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
0a407ead
DJ
3181 * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long
3182 double.
d05f6826
DJ
3183 (print_gp_register_row): Don't print spaces before ignored
3184 or floating point registers.
6367c6b1 3185 * Makefile.in (mips-linux-tdep.o): Update.
d05f6826 3186
3e5af19e
DJ
31872006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3188
3189 * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
3190 for code addresses.
3191 (non_heuristic_proc_desc): Likewise.
3192
dc60ece8
DJ
31932006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
3194
3195 * mips-linux-nat.c: Include "gdb_proc_service.h".
3196 (PTRACE_GET_THREAD_AREA): Define.
3197 (ps_get_thread_area): New.
3198 * Makefile.in (mips-linux-nat.o): Update.
3199
2f83030f
JB
32002006-03-13 Jim Blandy <jimb@codesourcery.com>
3201
3202 * MAINTAINERS: Use my work address.
3203
56aac7e8 32042006-03-09 Michael Snyder <msnyder@redhat.com>
a9877905 3205
56aac7e8
MS
3206 * linux-nat.c (kill_inferior): Just call target_mourn_inferior
3207 instead of getting tricky for the multi-fork case.
3208 * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
3209 for each fork, and then use init_fork_list to delete them.
a9877905 3210
831004b7
AO
32112006-03-08 Alexandre Oliva <aoliva@redhat.com>
3212
3213 * solib-svr4.c (svr4_current_sos): Move up initialization of
3214 l_addr, such that it clearly covers all cases.
3215
f1b4b38e
AS
32162006-03-08 Andreas Schwab <schwab@suse.de>
3217
3218 * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of
3219 libunwind_frame_prev_register to use a gdb_byte buffer and
3220 extract_unsigned_integer.
3221 (ia64_libunwind_sigtramp_frame_prev_register): Likewise.
3222
3223 * libunwind-frame.c (libunwind_frame_prev_register): Change type
3224 of last argument to `gdb_byte *'
3225 * libunwind-frame.h: Adjust declaration.
3226
f53f0d0b
PB
32272006-03-08 Paul Brook <paul@codesourcery.com>
3228
3229 * arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
3230 (arm_frame_align): New function.
3231 (arm_gdbarch_init): Use it.
3232
b67fd56f
AC
32332006-03-03 Khem Raj <khem@mvista.com>
3234
3235 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
3236 Committed by Andrew Cagney.
3237
a64ae7e0
CV
32382006-03-02 Corinna Vinschen <vinschen@redhat.com>
3239
3240 * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
3241 address to MDR register.
3242
9733fc94
DJ
32432006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3244
3245 * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
3246 calls.
3247
4897bfb9
RC
32482006-03-01 Randolph Chung <tausq@debian.org>
3249
3250 * somread.c (som_symfile_read): Update comment and remove unneeded
3251 use of a deprecated variable.
3252
6fcecea0
RC
32532006-03-01 Randolph Chung <tausq@debian.org>
3254
3255 * hppa-tdep.h (unwind_table_entry): Update field names to match HP
3256 runtime specification.
3257 * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
3258 (unwind_command): Likewise.
3259
46acf081
RC
32602006-03-01 Randolph Chung <tausq@debian.org>
3261
3262 * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
3263 Pseudo_SP_Set in unwind record.
3264
477e69e8
RC
32652006-03-01 Randolph Chung <tausq@debian.org>
3266
3267 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
3268 TDEP->is_elf to determine if we are working with a SOM binary.
3269 (null_symtab_and_line): Remove unused variable.
3270 * config/pa/hppa64.mt: Use tm-hppa.h.
3271 * config/pa/tm-hppa64.h: Remove file.
3272
848359ac
WZ
32732006-03-01 Wu Zhou <woodzltc@cn.ibm.com>
3274
3275 * f-typeprint.c (f_type_print_base): Delete the redundant space.
3276
f9ec92b6
KB
32772006-02-28 Kevin Buettner <kevinb@redhat.com>
3278
3279 * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
3280 * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h):
3281 Include.
3282 (am33_linux_sigframe_cache_init): New function.
3283 (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame
3284 descriptions.
3285 (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2)
3286 (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1)
3287 (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0)
3288 (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3)
3289 (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6)
3290 (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR)
3291 (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL)
3292 (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP)
3293 (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT):
3294 New constants.
3295 (am33_linux_init_osabi): Register signal frame unwinders.
3296
e92e42f5
KB
32972006-02-28 Kevin Buettner <kevinb@redhat.com>
3298
3299 * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
3300 out of pattern match by saving relevant state. Fix stack size
3301 adjustment bug.
3302
cc10cae3
AO
33032006-02-28 Alexandre Oliva <aoliva@redhat.com>
3304
3305 * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
3306 l_ld_size fields.
3307 * solib-svr4.c (struct lm_info): Add l_addr field.
3308 (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
3309 (HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
3310 (LM_DYNAMIC_FROM_LINK_MAP): New.
3311 (LM_ADDR_CHECK): New. Use it instead of LM_ADDR.
3312 (svr4_current_sos): Initialize l_addr. Adjust.
3313 (svr4_relocate_section_addresses): Adjust.
3314 (svr4_ilp32_fetch_link_map_offsets): Define new members.
3315 (svr4_lp64_fetch_link_map_offsets): Likewise.
3316 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
3317 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
3318 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
3319 * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
3320
691342f9
DM
33212006-02-26 David S. Miller <davem@sunset.davemloft.net>
3322
3323 * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
3324 * config/sparc/linux64.mt (TDEPFILES): Likewise.
3325
2c387241
AM
33262006-02-27 Alan Modra <amodra@bigpond.net.au>
3327
3328 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
3329 (ppc_linux_remove_watchpoint): Likewise, and args.
3330
3597fb82
MK
33312006-02-26 Mark Kettenis <kettenis@gnu.org>
3332
3333 * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
3334 "soft" interrupts.
3335
637d6690
CW
33362006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm>
3337
3338 * gdb/defs.h: unconditionally include <fcntl.h>, and
3339 ensure that O_BINARY is defined.
3340 * gdb/solib.c(solib_open): ensure solib files are opened in
3341 binary mode.
3342 * gdb/corelow.c: Remove O_BINARY macro definition.
3343 * gdb/exec.c: Remove O_BINARY macro definition
3344 * gdb/remote-rdp.c: Remove O_BINARY macro definition
3345 * gdb/source.c: Remove O_BINARY macro definition
3346 * gdb/symfile.c: Remove O_BINARY macro definition
3347
9846e541
RC
33482006-02-24 Randolph Chung <tausq@debian.org>
3349
3350 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize
3351 argreg.
3352 * solib-som.c (som_solib_remove_inferior_hook): Remove unused
3353 function.
3354
2a5e440c
WZ
33552006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
3356
3357 * f-exp.y: Symbol '%' is not used as the modulus operator in
3358 Fortran. Delete this from Fortran expression.
3359 It is now used by Fortran 90 and later to access the member
3360 of derived type. Add this into Fortran expression.
3361 * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
3362 Print each elements in the derived type.
3363 * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
3364 level into the function definition to do indented printing. And
3365 call fprintfi_filtered instead to do indented printing.
3366 (f_type_print_base): Replace fprintf_filtered with the indented
3367 version (fprintfi_filtered).
3368 (f_type_print_base): Call indented print_equivalent_f77_float_type.
3369 (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print
3370 the definition of the derived type.
3371
92128691
DJ
33722006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
3373
3374 * gdb_curses.h: Provide a fallback prototype for tgetnum.
3375
a6205f53
DJ
33762006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
3377
3378 * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
3379 also.
3380 (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
3381 (DOUBLEST_SCAN_FORMAT): New.
3382 * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
3383 (processReal): Use DOUBLEST_SCAN_FORMAT.
3384 * c-exp.y (parse_number): Likewise.
3385 * jv-exp.y (parse_number): Likewise.
3386 * objc-exp.y (parse_number): Likewise.
3387 * p-exp.y (parse_number): Likewise.
3388
0f0b8dcd
DJ
33892006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
3390
3391 * event-top.c (async_do_nothing, async_disconnect)
3392 (async_stop_sig, async_float_handler): Remove duplicated
3393 prototypes.
3394 (handle_sighup): Guard prototype with SIGHUP.
3395 (async_do_nothing): Guard function and prototype with
3396 SIGQUIT || SIGHUP.
3397 (async_disconnect): Guard prototype with SIGHUP.
3398 (async_stop_sig): Guard prototype with STOP_SIGNAL.
3399
4e91d01c
DJ
34002006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
3401
3402 * maint.c (maintenance_dump_me): Remove unnecessary prototype.
3403
1e0600be
DJ
34042006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
3405
3406 * win32-termcap.c (tputs): Return 0.
3407
094a342e
MK
34082006-02-21 Mark Kettenis <kettenis@gnu.org>
3409
3410 * configure.ac: Introduce ---enable-werror, which adds -Werror to
3411 the compiler command line. Enabled by default. Disable with
3412 --disable-werror.
3413 * configure regenerate.
3414
74763737
DJ
34152006-02-21 Daniel Jacobowitz <dan@codesourcery.com>
3416
3417 * elfread.c (elf_symtab_read): Skip symbols which BFD considers
3418 special.
3419
13d35ae5
AS
34202006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
3421
3422 * defs.h (directory_switch): Add prototype.
3423 * main.c (captured_main): Use directory_switch() instead of
3424 directory_command() to add directories from the -d switch.
3425 * source.c (directory_switch): New function.
3426 (add_path): Use buildargv() to parse spaces in filenames properly.
3427 Strip multiple trailing '/' rather than just one.
3428
5b96932b
AS
34292006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
3430
3431 * symfile.c (add_symbol_file_command): Use buildargv(), instead of
3432 hand decoding the command line, to allow use of quotes and spaces.
3433 (_initialize_symfile): Reorganize the help message for add-symbol-file
3434 such that 'help files' shows a better message.
3435
a6b0a3f3
AS
34362006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
3437
3438 * sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
3439 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
3440 (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
3441 (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
3442
17fbb0bd
DJ
34432006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
3444
3445 * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
3446 and __SIGRTMIN + 1.
3447
444abaca
DJ
34482006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
3449
3450 * remote.c: Add an enumeration for configurable remote
3451 packets.
3452 (remote_protocol_packets, set_remote_protocol_packet_cmd)
3453 (show_remote_protocol_packet_cmd): New.
3454 (remote_protocol_vcont)
3455 (set_remote_protocol_vcont_packet_cmd)
3456 (show_remote_protocol_vcont_packet_cmd)
3457 (remote_protocol_qSymbol)
3458 (set_remote_protocol_qSymbol_packet_cmd)
3459 (show_remote_protocol_qSymbol_packet_cmd)
3460 (remote_protocol_P, set_remote_protocol_P_packet_cmd)
3461 (show_remote_protocol_P_packet_cmd)
3462 (remote_protocol_Z)
3463 (set_remote_protocol_Z_software_bp_packet_cmd)
3464 (show_remote_protocol_Z_software_bp_packet_cmd)
3465 (set_remote_protocol_Z_hardware_bp_packet_cmd)
3466 (show_remote_protocol_Z_hardware_bp_packet_cmd)
3467 (set_remote_protocol_Z_write_wp_packet_cmd)
3468 (show_remote_protocol_Z_write_wp_packet_cmd)
3469 (set_remote_protocol_Z_read_wp_packet_cmd)
3470 (show_remote_protocol_Z_read_wp_packet_cmd)
3471 (set_remote_protocol_Z_access_wp_packet_cmd)
3472 (show_remote_protocol_Z_access_wp_packet_cmd)
3473 (remote_protocol_binary_download)
3474 (set_remote_protocol_binary_download_cmd)
3475 (show_remote_protocol_binary_download_cmd)
3476 (remote_protocol_qPart_auxv)
3477 (set_remote_protocol_qPart_auxv_packet_cmd)
3478 (show_remote_protocol_qPart_auxv_packet_cmd)
3479 (remote_protocol_qGetTLSAddr)
3480 (set_remote_protocol_qGetTLSAddr_packet_cmd)
3481 (show_remote_protocol_qGetTLSAddr_packet_cmd)
3482 (remote_protocol_p)
3483 (set_remote_protocol_p_packet_cmd)
3484 (show_remote_protocol_p_packet_cmd): Delete.
3485
3486 (init_all_packet_configs): Simplify.
3487 (set_remote_protocol_Z_packet_cmd)
3488 (show_remote_protocol_Z_packet_cmd)
3489 (remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
3490 (remote_fetch_registers, remote_prepare_to_store)
3491 (remote_store_registers, check_binary_download)
3492 (remote_write_bytes, remote_insert_breakpoint)
3493 (remote_remove_breakpoint, remote_insert_watchpoint)
3494 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
3495 (remote_remove_hw_breakpoint, remote_xfer_partial)
3496 (remote_get_thread_local_address): Update for packet array.
3497 (_initialize_remote): Likewise; also update for common
3498 set/show commands.
3499
3bd72c6f
DJ
35002006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
3501
3502 * symfile.c (place_section): Correct retry logic.
3503
a244bdca
CF
35042006-02-19 Christopher Faylor <cgf@timesys.com>
3505
3506 * win32_nat.c (cygwin_load_start): New variable.
3507 (cygwin_load_end): Ditto.
3508 (have_saved_context): Ditto.
3509 (saved_context): Ditto.
3510 (max_dll_name_len): Delete obsolete variable.
3511 (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll
3512 if we are in a cygwin signal rather than a windows signal.
3513 (solib_symbols_add): Detect and store beginning and end of cygwin DLL
3514 if dll being loaded is the cygwin DLL.
3515 (register_loaded_dll): Remove calculation of max_dll_name_len.
3516 (win32_clear_solib): Ditto.
3517 (handle_load_dll): Delete obsolete variable. Remove unneeded call to
3518 solib_add.
3519 (handle_output_debug_string): Detect and store signal information sent
3520 by Cygwin here.
3521 (handle_exception): Silently pass on errors in the cygwin DLL. Return
3522 -1 on first pass exception.
3523 (win32_continue): Remove spurious clearing of continue_status.
3524 (get_win32_debug_event): Deal differently first chance exception.
3525
806e23c0
RC
35262006-02-19 Randolph Chung <tausq@debian.org>
3527
3528 * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
3529 unwind entry.
3530
d843c49c
FF
35312006-02-16 Fred Fish <fnf@specifix.com>
3532
3533 * eval.c (evaluate_subexp_standard): For OP_TYPE, return
3534 a non lval value zero, of the appropriate type, when avoiding
3535 side effects.
3536 * typeprint.c (ptype_eval): Remove function and declaration.
3537 (ptype_command): Simplify to just a call to whatis_exp.
3538
1c5bada0
PB
35392006-02-15 Paul Brook <paul@codesourcery.com>
3540
3541 * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
3542 Load insn opcodes as unsigned values.
3543
96c1eda2
AO
35442006-02-14 Alexandre Oliva <aoliva@redhat.com>
3545
3546 * doublest.h (DOUBLEST): Use long double only if we can scan
3547 it in. Undefine HAVE_LONG_DOUBLE otherwise.
3548 (DOUBLEST_FORMAT): New.
3549 * c-exp.y (parse_number): Use it.
3550 * jv-exp.y (parse_number): Likewise.
3551 * objc-exp.y (parse_number): Likewise.
3552 * p-exp.y (parse_number): Likewise.
3553 * varobj.c (free_variable): Silence type-punning warnings.
3554 * tui/tui-data.h (struct tui_list): Change type of list member.
3555 * tui/tui-data.c: Remove no-longer-needed type casts.
3556 (source_windows): Silence type-punning warnings.
3557 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
3558
92dd43fa
MK
35592006-02-13 Mark Kettenis <kettenis@gnu.org>
3560
3561 Fix PR breakpoints/2080.
3562 * i386-tdep.c (struct i386_frame_cache): Add stack_align member.
3563 (i386_analyze_stack_align): New function.
3564 (i386_analyze_prologue): Use i386_analyze_stack_align.
3565 (i386_frame_cache): Deal with stack realignment.
3566
7314787a
NR
35672006-02-14 Nick Roberts <nickrob@snap.net.nz>
3568
3569 * mi/gdb-mi.el: Use more functions from gdb-ui.el.
3570 (gdb-break-list-regexp): Match "what" field if present.
be85b69f 3571 (gdb-stack-list-frames-regexp): Match "from" field if present.
7314787a
NR
3572 (gdb-stack-list-frames-handler): Present output like "info
3573 breakpoints" so regexps can be shared with gdb-ui
3574
0ea3f30e
DJ
35752006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
3576
3577 * NEWS: Mention native Windows support.
3578 * Makefile.in (gdb_select_h, ser_tcp_h): New.
3579 (ALLDEPFILES): Add ser-mingw.c.
3580 (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
3581 (ser-tcp.o, ser-unix.o): Update.
3582 (ser-mingw.o): New rule.
3583 * configure: Regenerated.
3584 * configure.ac: Add ser-mingw.o for mingw32.
3585 * ser-mingw.c: New file.
3586 * event-loop.c: Include "gdb_select.h".
3587 (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
3588 * ser-base.c: Include "gdb_select.h".
3589 (ser_base_wait_for): Use gdb_select.
3590 * serial.c (serial_for_fd): New function.
3591 (serial_fdopen): Try "terminal" before "hardwire". Initialize
3592 the allocated struct serial.
3593 (serial_wait_handle): New function.
3594 * serial.h (serial_for_fd, serial_wait_handle): New prototypes.
3595 (struct serial_ops) [USE_WIN32API]: Add wait_handle.
3596 * gdb_select.h: New file.
3597 * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include.
3598 (net_close, net_read_prim, net_write_prim): Make global.
3599 (net_open): Likewise. Pass an exception set to select. Whitespace fix.
3600 Document why we can not use gdb_select.
3601 (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
3602 * ser-tcp.h: New file.
3603 * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
3604 (handle_sigio): Use gdb_select.
3605 (initialize_stdin_serial): New function.
3606 * terminal.h (initialize_stdin_serial): New prototype.
3607 * top.c (gdb_init): Call initialize_stdin_serial.
3608 * mingw-hdep.c (gdb_select): New function, moved from gdb_select in
3609 event-loop.c. Add exception condition support. Use serial_for_fd
3610 and serial_wait_handle. Fix timeout handling.
3611 * posix-hdep.c: Include "gdb_select.h".
3612 (gdb_select): New function.
3613 * remote-st.c (connect_command): Use gdb_select.
3614 * ser-unix.c: Include "gdb_select.h".
3615 (hardwire_send_break, wait_for): Use gdb_select.
3616
121ce6e5
DJ
36172006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
3618
3619 * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
3620 (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
3621 * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs
3622 to posix-hdep.o by default.
3623 * configure: Regenerated.
3624 * configure.host: Document gdb_host_obs. Add an entry for
3625 i[34567]86-*-mingw32*.
3626 * mingw-hdep.c, posix-hdep.c: New files.
3627 * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
3628
1f82754b
JB
36292006-02-10 Joel Brobecker <brobecker@adacore.com>
3630
3631 * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
3632 * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX.
3633 * rs6000-tdep.h: New file.
3634 * rs6000-tdep.c: Include "rs6000-tdep.h".
3635 (rs6000_gdbarch_init): Remove enabling of software single step.
3636 Will be done in the AIX-specific initialization routine.
3637 * rs6000-aix-tdep.c: New file.
3638 * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o.
3639 * Makefile.in (rs6000_tdep_h): New variable.
3640 (rs6000-tdep.o): Update dependencies.
3641 (rs6000-aix-tdep.o): New rule.
3642
577b7047
JB
36432006-02-10 Joel Brobecker <brobecker@adacore.com>
3644
3645 * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
3646 instead of add_setshow_zinteger_cmd to defined the aix-thread
3647 boolean setting.
3648
ff800d76
NR
36492006-02-10 Nick Roberts <nickrob@snap.net.nz>
3650
3651 * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
3652
5afb4e99
DJ
36532006-02-09 Daniel Jacobowitz <dan@codesourcery.com>
3654
3655 * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to
3656 30 bits. Add load_all_dies flag.
3657 (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set.
3658 Load DW_TAG_member by default. Remove internal_error call.
3659 (find_partial_die): Reload the compilation unit if we can not find
3660 a DIE in the cache. Call internal_error here if we still can not
3661 find the DIE.
3662
a832795c
NR
36632006-02-10 Nick Roberts <nickrob@snap.net.nz>
3664
3665 * breakpoint.c (print_one_breakpoint): Add break to case
3666 bp_catch_vfork in switch statement.
3667
c9dd6fef
WZ
36682006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
3669
3670 * config/i386/nm-i386sol2.h: Update copyright year.
3671 * config/mips/nm-irix5.h: Ditto.
3672 * config/sparc/nm-sol2.h: Ditto.
3673 * s390-nat.c: Ditto.
3674 * ppc-linux-nat.c: Ditto.
3675
2a3cdf79
WZ
36762006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
3677
3678 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete.
3679 * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3680 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3681 * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3682 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3683 * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3684 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3685 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New.
3686 (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete.
3687 (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and
3688 add to_region_ok_for_hw_watchpoint.
3689 * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete.
3690 (s390_region_ok_for_hw_watchpoint): New.
3691 (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint
3692 and add to_region_ok_for_hw_watchpoint.
3693 * target.c (default_region_size_ok_for_hw_watchpoint,
3694 debug_to_region_size_ok_for_hw_watchpoint): Delete prototype.
3695 (update_current_target): Delete to_region_size_ok_for_hw_watchpoint
3696 inheritance and default_region_size_ok_for_hw_watchpoint.
3697 (default_region_ok_for_hw_watchpoint): If len is less than or equal
3698 the length of void pointer, return ok.
3699 (default_region_size_ok_for_hw_watchpoint): Delete.
3700 (debug_to_region_size_ok_for_hw_watchpoint): Delete.
3701 (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint.
3702 * target.h (struct target_ops): Delete
3703 to_region_size_ok_for_hw_watchpoint.
3704 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3705
e0d24f8d
WZ
37062006-02-08 Ben Elliston <bje@au1.ibm.com>
3707 Wu Zhou <woodzltc@cn.ibm.com>
3708
3709 * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG,
3710 PTRACE_GETSIGINFO): Define.
3711 (last_stopped_data_address): New.
3712 (ppc_linux_check_watch_resources): New function.
3713 (ppc_linux_region_ok_for_hw_watchpoint): New function.
3714 (ppc_linux_insert_watchpoint): New function.
3715 (ppc_linux_remove_watchpoint): New function.
3716 (ppc_linux_stopped_data_address): New function.
3717 (ppc_linux_stopped_by_watchpoint): New function.
3718 (_initialize_ppc_linux_nat): Set the above hardware watchpoint
3719 related target vectors.
3720 * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures
3721 to have nonsteppable watchpoint.
3722 * target.c (default_region_ok_for_hw_watchpoint,
3723 debug_to_region_ok_for_hw_watchpoint): New prototypes.
3724 (update_current_target): Inherit to_region_ok_for_hw_watchpoint
3725 and set default to_region_ok_for_hw_watchpoint.
3726 (default_region_ok_for_hw_watchpoint): New function.
3727 (debug_to_region_ok_for_hw_watchpoint): New function.
3728 (setup_target_debug): Set to_region_ok_for_hw_watchpoint of
3729 debug_target.
3730 * target.h (struct target_ops): Add a new target vector
3731 to_region_ok_for_hw_watchpoint.
3732 (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not
3733 defined anyplace else.
927890d0 3734
e0d24f8d 37352005-02-07 Joel Brobecker <brobecker@adacore.com>
927890d0
JB
3736 * symfile.c (add_symbol_file_command): Abort if the user forgot
3737 to provide the address when the file has been loaded.
3738
f4d408c6
DJ
37392006-02-07 Daniel Jacobowitz <dan@codesourcery.com>
3740
3741 * MAINTAINERS: Update file based on maintainers survey. Add
3742 a note to Past Maintainers. Move unresponsive or inactive
3743 maintainers to Authorized Committers or Past Maintainers as
3744 appropriate. Correct Jim Kingdon's email address. Remove
3745 vacant areas of responsibility.
3746
38fcd64c
DJ
37472006-02-06 Vladimir Prus <ghost@cs.msu.su>
3748
3749 * breakpoint.c (print_one_breakpoint): For MI-like UI, output
3750 fullname field.
3751
7b871fab
DJ
37522006-02-03 Daniel Jacobowitz <dan@codesourcery.com>
3753
3754 * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
3755 * exceptions.c (exception_none, exceptions_state_mc_init)
3756 (throw_vfatal): Use GDB_NO_ERROR.
3757
e4cd0d6a
MK
37582006-02-02 Mark Kettenis <kettenis@gnu.org>
3759
3760 * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
3761 r_map_size members. Add r_version_offset, r_version_size and
3762 r_ldsomap_offset members.
3763 * solib-svr4.c (solib_svr4_r_map): Renamed from
3764 fetch_link_map_member. Simplify using read_memory_typed_address.
3765 (solib_svr4_r_ldsomap): New function.
3766 (open_symbol_file_object): Use solib_svr_r_map.
3767 (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
3768 linker by using solib_svr4_r_ldsomap.
3769 (svr4_ilp32_fetch_link_map_offsets)
3770 (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
3771 link_map_offsets'.
3772 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
3773 changes to `struct link_map_offsets'.
3774 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
3775 (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
3776 `struct link_map_offsets'.
3777
e26af52f
DJ
37782006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3779
3780 * linux-nat.c (struct saved_ptids, threads_to_delete)
3781 (record_dead_thread, prune_lwps, find_thread_from_lwp)
3782 (exit_lwp): New.
3783 (linux_nat_resume): Call prune_lwps.
3784 (wait_lwp, linux_nat_wait): Call exit_lwp.
3785
46e9880c
DJ
37862006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3787
3788 * printcmd.c (printf_command): Make format string checking
3789 stricter. Add separate cases for long_arg, ptr_arg, and
3790 long_double_arg.
3791 * utils.c (xstrvprintf): Improve the error message issued
3792 for a bad format string.
3793 * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
3794 New variables.
3795 (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
3796 $(NO_WERROR_CFLAGS).
3797 (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
3798 enable -Werror.
3799
37a105a1
DJ
38002006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3801
3802 * Makefile.in (remote.o): Update.
3803 * remote.c (show_packet_config_cmd): Shorten messages.
3804 (remote_set_cmdlist, remote_show_cmdlist): Make file-static.
3805 (show_remote_cmd): Iterate.
3806 (_initialize_remote): Remove remote_set_cmdlist,
3807 remote_show_cmdlist.
3808
ae5a43e0
DJ
38092006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3810
3811 * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
3812 * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
3813 prototypes.
3814 * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
3815 (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
3816 * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
3817 ...here.
3818 * gdbtypes.c: Include "hashtab.h".
3819 (build_gdbtypes): Remove extra prototype.
3820 (struct type_pair, type_pair_hash, type_pair_eq)
3821 (create_copied_types_hash, copy_type_recursive): New.
3822 * gdbtypes.h: Include "hashtab.h".
3823 (TYPE_ZALLOC): New.
3824 (create_copied_types_hash, copy_type_recursive): New prototypes.
3825 * objfiles.c (free_objfile): Call preserve_values.
3826 * symfile.c (reread_symbols): Likewise.
3827 (clear_symtab_users): Remove calls to clear_value_history and
3828 clear_internalvars.
3829 * value.c (clear_value_history, clear_internalvars): Removed.
3830 (preserve_one_value, preserve_values): New functions.
3831 * value.h (clear_value_history, clear_internalvars): Removed.
3832 (preserve_values): New prototype.
3833
3834 * tracepoint.c (_initialize_tracepoint): Do not initialize convenience
3835 variables here.
3836
b929c77f
MK
38372006-01-29 Mark Kettenis <kettenis@gnu.org>
3838
3839 * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
3840 Fixes PR tdep/2075.
3841
1581f359
JB
38422006-01-27 Joel Brobecker <brobecker@adacore.com>
3843
3844 * MAINTAINERS: Use a consistent email address for brobecker.
3845
37706b70
JB
38462006-01-27 Joel Brobecker <brobecker@adacore.com>
3847
3848 * infcmd.c (post_create_inferior): Fix copy/paste error introduced
3849 in the previous change.
3850
9353355f
DJ
38512006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3852
3853 PR gdb/1914
3854 * fork-child.c (fork_inferior): Don't call
3855 solib_create_inferior_hook.
3856 * infcmd.c (post_create_inferior): Call solib_add,
3857 solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
3858 (attach_command): Don't call solib_add or
3859 re_enable_breakpoints_in_shlibs. Call post_create_inferior
3860 instead.
3861 * remote.c (remote_open_1): Don't call solib_create_inferior_hook
3862 or observer_notify_inferior_created. Call post_create_inferior
3863 instead.
3864 * corelow.c: Don't include "observer.h".
3865 (solib_add_stub): Deleted.
3866 (core_open): Don't call observer_notify_inferior_created or
3867 solib_add_stub. Call post_create_inferior instead.
3868 * inf-ptrace.c: Don't include "observer.h".
3869 (inf_ptrace_attach): Don't call observer_notify_inferior_created.
3870 * inf-ttrace.c: Don't include "observer.h".
3871 (inf_ttrace_attach): Don't call observer_notify_inferior_created.
3872 * inferior.h (solib_create_inferior_hook): Remove redundant
3873 prototype.
3874 * inftarg.c: Don't include "observer.h".
3875 (child_attach): Don't call observer_notify_inferior_created.
3876 * Makefile.in: Update dependencies.
3877
281b533b
DJ
38782006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3879
3880 * infcmd.c: Include "observer.h".
3881 (post_create_inferior): New function.
3882 (run_command_1): Call it. Also call proceed.
3883 * inferior.h (post_create_inferior): New prototype.
3884 * Makefile.in (infcmd.o): Update.
3885
3886 * gnu-nat.c (gnu_create_inferior): Don't call proceed.
3887 * go32-nat.c (go32_create_inferior): Likewise.
3888 * nto-procfs.c (procfs_create_inferior): Likewise.
3889 * procfs.c (procfs_create_inferior): Likewise.
3890 * remote-sim.c (gdbsim_create_inferior): Likewise.
3891 * remote.c (extended_remote_create_inferior)
3892 (extended_remote_async_create_inferior): Likewise.
3893 * win32-nat.c (win32_create_inferior): Likewise.
3894 * wince.c (child_create_inferior): Likewise.
3895
3896 * monitor.c (monitor_create_inferior): Don't call proceed.
3897 Set the PC manually.
3898 * ocd.c (ocd_create_inferior): Likewise.
3899 * remote-e7000.c (e7000_create_inferior): Likewise.
3900 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3901 * remote-mips.c (mips_create_inferior): Likewise.
3902 * remote-rdp.c (remote_rdp_create_inferior): Likewise.
3903 * remote-sds.c (sds_create_inferior): Likewise.
3904 * remote-st.c (st2000_create_inferior): Likewise.
3905
3906 * inf-ptrace.c (inf_ptrace_create_inferior): Don't call
3907 proceed or observer_notify_inferior_created.
3908 * inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
3909 * inftarg.c (child_create_inferior): Likewise.
3910
e23fc6de
DJ
39112006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3912
3913 * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
3914 after mourning the inferior.
3915
13d6656b
JB
39162006-01-24 Jim Blandy <jimb@redhat.com>
3917
3918 * valarith.c (binop_user_defined_p): Handle refs to typedefs.
3919
59f92a09
FF
39202006-01-24 Fred Fish <fnf@specifix.com>
3921
3922 * parse.c (source.h): Include.
3923 (parse_exp_in_context): Use static source context if no
3924 other context found.
3925
dda63807
AS
39262006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
3927
3928 * sh-tdep.c: Include reggroups.h.
3929 (sh_register_reggroup_p): New function.
3930 (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
3931 * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
3932
4b505b12
AS
39332006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
3934
3935 * cli/cli-cmds.c: Include fcntl.h.
3936 (source_command): Use the GDB search path to find script files.
3937
721d14ba
DJ
39382006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
3939
3940 PR tdep/2029
3941 Suggested by Till Straumann <strauman@slac.stanford.edu>:
3942 * rs6000-tdep.c (skip_prologue): Update check for later mtlr
3943 instructions. Handle PIC bcl.
3944
3d64d617
DJ
39452006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
3946
3947 * config/djgpp/README: Typo fix.
3948 * config/djgpp/fnchange.lst: Update.
3949
0a8f48b9
MK
39502006-01-22 Mark Kettenis <kettenis@gnu.org>
3951
c893be75
MK
3952 * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
3953 (sparc_address_from_register): New prototype.
3954 (sparcnbsd_step_trap): New prototype.
3955 * sparc-tdep.c (sparc_address_from_register): Make globally
3956 visible.
3957 (sparc_analyze_control_transfer): Change prototype to accept
3958 `struct gdbarch *' as first argument. Allow for optional hnadling
3959 for trap instructions.
3960 (sparc_step_trap): New function.
3961 (sparc_software_single_step): Adjust call to
3962 sparc_analyze_control_trabsfer.
3963 (sparc32_gdbarch_init): Initialize TDEP->step_trap.
3964 * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
3965 (sparc32nbsd_init_abi): Set TDEP->step_trap.
3966 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
3967 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
3968
0a8f48b9
MK
3969 * sparc-tdep.c (sparc32_return_value): Convert to use
3970 RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
3971 RETURN_VALUE_STRUCT_CONVENTION.
3972 (sparc32_extract_struct_value_address): Remove.
3973
1f3a99d5
DJ
39742006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3975
3976 * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
3977 (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
3978
84eb3c4f
DJ
39792006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3980
3981 * solib.c (info_sharedlibrary_command): Avoid internal_error.
3982
878d9193
MK
39832006-01-21 Mark Kettenis <kettenis@gnu.org>
3984
3985 * i386-tdep.c (i386_mxcsr_type): New variable.
3986 (i386_init_types): Initialize i386_mxcsr_type.
3987 (i386_register_type): Return i386_mxcsr_type for %mxcsr.
3988 * i386-tdep.c (i386_mxcsr_type): New extern.
3989 * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
3990 %mxcsr.
3991
acab6ab2
MM
39922006-01-20 Mark Mitchell <mark@codesourcery.com>
3993
3994 * Makefile.in (remote-rdi.o): Remove.
3995 (rdi-share/libangsd.a): Likewise.
3996 * README: Don't mention remote-rdi.c.
3997 * NEWS: Mention removal of rdi-share.
3998 * configure.ac: Don't configure rdi-share subdirectory.
3999 * remote-rdi.c: Remove.
4000 * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
4001 (TDEPLIBS): Remove rdi-share/libangsd.a.
4002 * rdi-share/Makefile.am: Remove.
4003 * rdi-share/Makefile.in: Likewise.
4004 * rdi-share/README.CYGNUS: Likewise.
4005 * rdi-share/aclocal.m4: Likewise.
4006 * rdi-share/adp.h: Likewise.
4007 * rdi-share/adperr.h: Likewise.
4008 * rdi-share/angel.h: Likewise.
4009 * rdi-share/angel_bytesex.c: Likewise.
4010 * rdi-share/angel_bytesex.h: Likewise.
4011 * rdi-share/angel_endian.h: Likewise.
4012 * rdi-share/ardi.c: Likewise.
4013 * rdi-share/ardi.h: Likewise.
4014 * rdi-share/armdbg.h: Likewise.
4015 * rdi-share/buffers.h: Likewise.
4016 * rdi-share/chandefs.h: Likewise.
4017 * rdi-share/channels.h: Likewise.
4018 * rdi-share/chanpriv.h: Likewise.
4019 * rdi-share/configure: Likewise.
4020 * rdi-share/configure.in: Likewise.
4021 * rdi-share/crc.c: Likewise.
4022 * rdi-share/crc.h: Likewise.
4023 * rdi-share/dbg_conf.h: Likewise.
4024 * rdi-share/dbg_cp.h: Likewise.
4025 * rdi-share/dbg_hif.h: Likewise.
4026 * rdi-share/dbg_rdi.h: Likewise.
4027 * rdi-share/devclnt.h: Likewise.
4028 * rdi-share/devices.h: Likewise.
4029 * rdi-share/devsw.c: Likewise.
4030 * rdi-share/devsw.h: Likewise.
4031 * rdi-share/drivers.c: Likewise.
4032 * rdi-share/drivers.h: Likewise.
4033 * rdi-share/etherdrv.c: Likewise.
4034 * rdi-share/ethernet.h: Likewise.
4035 * rdi-share/host.h: Likewise.
4036 * rdi-share/hostchan.c: Likewise.
4037 * rdi-share/hostchan.h: Likewise.
4038 * rdi-share/hsys.c: Likewise.
4039 * rdi-share/hsys.h: Likewise.
4040 * rdi-share/logging.c: Likewise.
4041 * rdi-share/logging.h: Likewise.
4042 * rdi-share/msgbuild.c: Likewise.
4043 * rdi-share/msgbuild.h: Likewise.
4044 * rdi-share/params.c: Likewise.
4045 * rdi-share/params.h: Likewise.
4046 * rdi-share/rx.c: Likewise.
4047 * rdi-share/rxtx.h: Likewise.
4048 * rdi-share/serdrv.c: Likewise.
4049 * rdi-share/serpardr.c: Likewise.
4050 * rdi-share/sys.h: Likewise.
4051 * rdi-share/tx.c: Likewise.
4052 * rdi-share/unixcomm.c: Likewise.
4053 * rdi-share/unixcomm.h: Likewise.
4054
4577207e
MK
40552006-01-21 Mark Kettenis <kettenis@gnu.org>
4056
4057 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
4058 Change type of last argument to `gdb_byte *'.
4059
34f55018
MK
40602006-01-20 Mark Kettenis <kettenis@gnu.org>
4061
4062 * hppa-tdep.h (hppa_in_solib_call_trampoline)
4063 (hppa_skip_trampoline_code): New prototypes.
4064 * hppa-tdep.c (struct insn_pattern): New.
4065 (hppa_long_branch_stub, hppa_long_branch_pic_stub)
4066 (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
4067 here from hppa-linux-tdep.c
4068 (HPPA_MAX_INSN_PATTERN_LEN): New define.
4069 (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
4070 (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
4071 functions based on functions removed from hppa-linux-tdep.c.
4072 * hppa-linux-tdep.c (hppa_long_branch_stub)
4073 (hppa_long_branch_pic_stub, hppa_import_stub)
4074 (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
4075 (insns_match_pattern_relaxed, hppa_linux_in_dyncall)
4076 (hppa_linux_in_solib_call_trampoline)
4077 (hppa_linux_skip_trampoline_code): Removed.
4078 (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
4079 hppa_in_solib_call_trampoline and skip_trampoline_code to
4080 hppa_skip_trampoline_code.
4081 * hppabsd-tdep.c (hppabsd_init_abi): Set
4082 TDEP->in_solib_call_trampoline and skip_trampoline_code.
4083
7be93b9e
JB
40842006-01-20 Jim Blandy <jimb@redhat.com>
4085
f408839d
JB
4086 * MAINTAINERS: Change my E-mail address.
4087
7be93b9e
JB
4088 * configure.ac: Add -Wno-pointer-sign to list of build warnings.
4089 * configure: Regenerated.
4090
b2a74f99
DJ
40912006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4092
4093 * MAINTAINERS: Overhaul.
4094
4f2aea11
MK
40952006-01-18 Mark Kettenis <kettenis@gnu.org>
4096
5ae96ec1
MK
4097 Based on a previous patch form Michal Ludvig:
4098 * amd64-tdep.c (amd64_sse_type): Remove.
4099 (amd64_register_info): Use i386_eflags_type and i386_sse_type
4100 where appropriate.
4101 (AMD64_NUM_REGS): Use ARRAY_SIZE.
4102 (amd64_register_type): Remove code to build amd_sse_type.
4103 * i386-tdep.c (i386_eflag_type): New variable.
4104 (i386_mmx_type, i386_sse_type): Make global.
4105 (i386_init_types): New function.
4106 (i386_build_mmx_type, i386_build_sse_type): Remove functions.
4107 (i386_register_type): Return i386_eflag_type, i386_sse_type and
4108 i386_mmx_type when appropriate.
4109 (_initialize_i386_tdep): Call i386_init_types.
4110 * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
4111 Declare extern.
4112
4f2aea11
MK
4113 Based on a previous patch form Michal Ludvig:
4114 * gdbtypes.c (append_flags_type_flag, init_flags_type): New
4115 functions.
4116 (is_integral_type, rank_one_type, recursive_dump_type): Add
4117 support for TYPE_CODE_FLAGS.
4118 * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
4119 (append_flags_type_field, init_flags_type): New prototypes.
4120 * ada-valprint.c (ada_val_print_1): Add support for
4121 TYPE_CODE_FLAGS.
4122 * c-valprint.c (c_val_print): Likewise.
4123 * f-valprint.c (f_val_print): Likewise.
4124 * p-valprint.c (pascal_val_print): Likewise.
4125 * valprint.c (val_print_type_code_flags): New function.
4126 * valprint.h (val_print_type_code_flags): New prototype.
4127 * value.c (unpack_long, value_from_longest): Add support for
4128 TYPE_CODE_FLAGS.
4129
4cdb5adf
CF
41302006-01-17 Christopher Faylor <cgf@timesys.com>
4131
4132 * MAINTAINERS: Very belatedly remove myself from from the list of
4133 people caught up in the paper trail.
4134
1193688d
JB
41352006-01-17 Jim Blandy <jimb@redhat.com>
4136
4e38b386
JB
4137 * symtab.h (struct general_symbol_info): Use gdb_byte for
4138 value.bytes.
4139 * stabsread.c (define_symbol): Use gdb_byte for the buffer holding
4140 a floating-point constant's value.
4141 * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
4142 to char *.
4143 * findvar.c (read_var_value): Eliminate needless temporary.
4144
1193688d
JB
4145 * dwarf2-frame.c (dwarf2_read_section): Update forward declaration
4146 to match prior change to dwarf2_read_section's type.
4147
0d1243d9
PG
41482006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
4149
4150 * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
4151 * rs6000-tdep.c (insn_changes_sp_or_jumps)
4152 (rs6000_in_function_epilogue_p): New functions.
4153 (rs6000_gdbarch_init): Set in_function_epilogue_p.
4154
fe1b8b76
JB
41552006-01-17 Jim Blandy <jimb@redhat.com>
4156
4157 * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
4158 (struct line_header, struct partial_die_info, struct dwarf_block):
4159 Use gdb_byte for members that refer to Dwarf section contents.
4160 (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
4161 dwarf_decode_macros, load_comp_unit, load_partial_dies,
4162 locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
4163 read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
4164 read_8_bytes, read_address, read_attribute, read_attribute_value,
4165 read_comp_unit, read_comp_unit_head, read_die_and_children,
4166 read_die_and_siblings, read_full_die, read_indirect_string,
4167 read_initial_length, read_n_bytes, read_offset, read_partial_die,
4168 read_signed_leb128, read_string, read_unsigned_leb128,
4169 skip_children, skip_leb128, skip_one_die): Same.
4170
a0841d7a
DJ
41712006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
4172
4173 * complaints.c (stop_whining): Make signed.
4174 * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
4175
939b2b42
DJ
41762006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
4177
4178 * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
4179 notices.
4180
891d2f0b
DJ
41812006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
4182
4183 * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
4184 (read_offset): Change BYTES_READ argument to unsigned int.
4185 (dwarf2_build_psymtabs_easy, read_comp_unit_head)
4186 (create_all_comp_units, dwarf2_get_pc_bounds)
4187 (dwarf_decode_line_header, var_decode_location)
4188 (dwarf_decode_macros): Change local BYTES_READ variables to
4189 unsigned int.
4190 (read_indirect_string): Remove obsolete cast.
4191
cfd77fa1
DJ
41922006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
4193
4194 * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
4195 argument.
4196 (remote_fileio_func_open, remote_fileio_func_rename)
4197 (remote_fileio_func_unlink, remote_fileio_func_stat)
4198 (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
4199 (remote_fileio_func_system): Cast the arguments to
4200 remote_read_bytes and remote_write_bytes.
4201 (remote_fileio_func_read, remote_fileio_func_write): Use a
4202 gdb_byte buffer.
4203 * remote.h (remote_read_bytes, remote_write_bytes): Update
4204 prototypes.
4205 * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
4206 (threadref_to_int): Replace bogus char * cast.
4207 (remote_unpack_thread_info_response): Use int for tag.
4208 (remote_threads_extra_info, remote_check_symbols): Cast string
4209 arguments to hex2bin.
4210 (remote_wait): Use a char buffer for packets and a gdb_byte
4211 buffer for registers.
4212 (remote_async_wait): Likewise.
4213 (remote_prepare_to_store, store_register_using_P)
4214 (remote_store_registers): Use gdb_byte buffers.
4215 (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
4216 for MYADDR and char buffers for strings.
4217 (remote_xfer_partial): Add casts for string operations on READBUF.
4218 (remote_rcmd): Cast strings passed to bin2hex.
4219
60bf0650
MM
42202006-01-16 Mark Mitchell <mark@codesourcery.com>
4221
4222 * aclocal.m4: Regenerate.
4223
60e81fcc
NS
42242006-01-16 Nathan Sidwell <nathan@codesourcery.com>
4225
4226 * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
4227 MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
4228 MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS.
4229 (mt_register_name): Lazily synthesize name for coprocessor pseudo
4230 array registers.
4231 (mt_copro_register_type): New. Broken out of ...
4232 (mt_register_type): ... here. Use it. Deal with coprocessor
4233 pseudo array.
4234 (mt_select_coprocessor): New.
4235 (mt_pseudo_register_read, mt_pseudo_register_write): Deal with
4236 coprocessor pseudo array.
4237
f365de73
AS
42382006-01-16 Andrew Stubbs <andrew.stubbs@st.com>
4239
4240 * breakpoint.c (insert_breakpoints): Check that a thread exists
4241 before inserting thread specific breakpoints.
4242
9d519230
MK
42432006-01-15 Mark Kettenis <kettenis@gnu.org>
4244
6062517a
MK
4245 * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
4246 commit.
4247
9d519230
MK
4248 * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
4249 * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
4250 * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
4251 * config/alpha/nm-nbsd.h: Remove file.
4252 * config/alpha/nm-fbsd.h: Remove file
4253 * config/alpha/nbsd.mh (NAT_FILE): Remove.
4254 * config/alpha/fbsd.mh (NAT_FILE): Remove.
4255
0a029df5
DJ
42562006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
4257
4258 * macroexp.c (expand): Initialize argc.
4259 * stabsread.c (read_type): Handle errors from read_args.
4260 (read_args): Return NULL for errors.
4261
1731e543
MK
42622006-01-15 Mark Kettenis <kettenis@gnu.org>
4263
4264 * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of
4265 strcmp to compare string to a byte buffer.
4266
777ea8f1
DJ
42672006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
4268
4269 * printcmd.c (output_command): Always initialize fmt.size.
4270 (printf_command): Use gdb_byte.
4271 * symfile.c (separate_debug_file_exists): Use gdb_byte.
4272 (load_section_callback, read_target_long_array): Likewise.
4273 (simple_read_overlay_table, simple_read_overlay_region_table)
4274 (simple_overlay_update_1): Correct calls to read_target_long_array.
4275 * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *.
4276 Also change local pointers.
4277 (val_print_string): Use gdb_byte.
4278
4b17b389
MK
42792006-01-15 Mark Kettenis <kettenis@gnu.org>
4280
4281 * alphafbsd-tdep.c: Include "solib-svr4.h".
4282 (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
4283 svr4_lp64_fetch_link_map_offsets.
4284 * Makefile.in (alphafbsd-tdep.o): Update dependencies.
4285 * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and
4286 solib-svr4.o.
4287 * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
4288 and solib-legacy.o.
4289 * config/alpha/nm-fbsd.h: Don't include "solib.h".
4290
bd4109fb
DJ
42912006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
4292
4293 * source.c (_initialize_source): Use add_setshow_integer_cmd.
4294
1dce6535
DJ
42952006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
4296
4297 * linux-fork.c (delete_fork_command, detach_fork_command): Use
4298 PIDGET.
4299
76a9d10f
MK
43002006-01-15 Mark Kettenis <kettenis@gnu.org>
4301
4302 * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):
4303 Remove.
4304 (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
4305 svr4_ilp32_fetch_link_map_offsets.
4306 * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove
4307 function.
4308 (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
4309 svr4_ilp32_fetch_link_map_offsets.
4310 * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets)
4311 (mips64_linux_svr4_fetch_link_map_offsets): Remove functions.
4312 (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
4313 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
4314 where appropriate.
4315 * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets):
4316 Simply call svr4_ilp32_fetch_link_map_offsets.
4317 (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call
4318 svr4_lp64_fetch_link_map_offsets.
4319 * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove
4320 function.
4321 (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
4322 svr4_ilp32_fetch_link_map_offsets.
4323 * s390-tdep.c (s390_svr4_fetch_link_map_offsets)
4324 (s390x_svr4_fetch_link_map_offsets): Remove functions.
4325 (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
4326 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
4327 where appropriate.
4328
469db033
MK
43292006-01-15 Mark Kettenis <kettenis@gnu.org>
4330
25224166
MK
4331 * arm-tdep.c (arm_return_value): Change type of readbuf and
4332 writebuf arguments to `gdb_byte *'.
4333
469db033
MK
4334 * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
4335 * Makefile.in (s390-tdep.o): Update dependencies.
4336
4dd7c9f6
MK
43372006-01-14 Mark Kettenis <kettenis@gnu.org>
4338
081bf9da
MK
4339 * sol2-tdep.h. sol2-tdep.c: New files.
4340 * amd64-sol2-tdep.c: Include "sol2-tdep.h".
4341 (amd64_sol2_init_abi): Set skip_solib_resolver.
4342 * i386-sol2-tdep.c: Include "sol2-tdep.h".
4343 (i386_sol2_init_abi): Set skip_solib_resolver.
4344 * sparc-sol2-tdep.c: Include "sol2-tdep.h".
4345 (sparc32_sol2_init_abi): Set skip_solib_resolver.
4346 * sparc64-sol2-tdep.c: Include "sol2-tdep.h".
4347 (sparc64_sol2_init_abi): Set skip_solib_resolver.
4348 * Makefile.in (sol2_tdep_h): New variable.
4349 (ALLDEPFILES): Add sol2-tdep.c.
4350 (sol2-tdep.o): New target.
4351 (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o)
4352 (sparc64-sol2-tdep.o): Update dependencies
4353 * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o.
4354 * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
4355 * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o.
4356 * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
4357
c0f96416
MK
4358 * hppa-linux-tdep.c: Fix copyright indentation.
4359
4dd7c9f6
MK
4360 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
4361 * hppabsd-nat.c (hppabsd_fpregset_supplies_p)
4362 (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
4363 functions.
4364 (hppabsd_fetch_registers, hppabsd_store_registers): Handle
4365 floating-point registers.
4366
6da86618
MM
43672006-01-13 Mark Mitchell <mark@codesourcery.com>
4368
4369 * event-loop.c (gdb_select): Detect file descriptors that have
4370 been closed.
4371
ed944ce7
MK
43722006-01-13 Mark Kettenis <kettenis@gnu.org>
4373
4374 * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
4375 and long_double_format accordingly.
4376
03ee6b2e
PH
43772006-01-12 Paul N. Hilfinger <hilfinger@adacore.com>
4378
4379 * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
4380 translation problems.
4381 * ada-lang.c (ada_value_struct_elt): Change interface and handling
4382 of errors to avoid translation problem (and less than optimal error
4383 messages).
4384 (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp):
4385 Use new interface to ada_value_struct_elt.
4386 * ada_lang.h (ada_value_struct_elt): Update declaration to new
4387 interface.
4388
4389 * ChangeLog: remove reference to ada-tasks.c from entry of
4390 2006-01-07.
4391
24b06219
MK
43922006-01-11 Mark Kettenis <kettenis@gnu.org>
4393
4394 * remote.c (get_memory_packet_size, set_thread)
4395 (remote_unpack_thread_info_response, remote_get_threadinfo)
4396 (parse_threadlist_response, remote_get_threadlist)
4397 (remote_current_thread, remote_threads_info)
4398 (remote_threads_extra_info, extended_remote_restart, get_offsets)
4399 (remote_check_symbols, remote_open_1, remote_detach)
4400 (remote_async_wait, remote_fetch_registers)
4401 (remote_store_registers, check_binary_download, putpkt_binary)
4402 (remote_insert_breakpoint, remote_insert_watchpoint)
4403 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
4404 (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd)
4405 (packet_command): Remove redundant parenthesis.
4406
15550d6b
MK
44072006-01-10 Mark Kettenis <kettenis@gnu.org>
4408
dfb65433
MK
4409 * corefile.c (read_memory_integer, read_memory_unsigned_integer)
4410 (read_memory_typed_address, write_memory)
4411 (write_memory_unsigned_integer, write_memory_signed_integer): Use
4412 gdb_byte where appropriate.
4413
508416a1
MK
4414 * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
4415 'gdb_byte *'.
4416
f6519ebc
MK
4417 * target.h (target_read_memory_partial, target_write_memory_partial):
4418 Change second argument to 'gdb_byte *'.
4419 * target.c (target_xfer_memory_partial): Change third argument to
4420 'gdb_byte *'.
4421 (target_read_memory_partial, target_write_memory_partial): Change
4422 second argument to 'gdb_byte *'.
4423
15550d6b
MK
4424 * linespec.c (decode_objc): Make i1 and i2 unsigned.
4425 (find_method): Set values.sals to NULL.
4426
d7a30af7
MK
44272006-01-09 Mark Kettenis <kettenis@gnu.org>
4428
4429 * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
4430 of 'char *' in cast.
4431
e1d5a0d2
PH
44322006-01-07 Paul N. Hilfinger <hilfinger@adacore.com>
4433
4434 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
03ee6b2e 4435 * ada-lang.c: I18n markup.
e1d5a0d2
PH
4436 Editorial: change "can not" => "cannot" throughout.
4437
790124be
MK
44382006-01-07 Mark Kettenis <kettenis@gnu.org>
4439
4440 * Makefile.in: Sort dependencies.
4441
3c481fdc
EZ
44422006-01-07 Eli Zaretskii <eliz@gnu.org>
4443
4444 * top.c (control_level): Remove unused variable.
4445
cb5d864f
FF
44462006-01-06 Fred Fish <fnf@specifix.com>
4447
4448 * objfiles.c (source.h): Include.
4449 (free_objfile): Update comment about clear_symtab_users().
4450 (free_objfile): Check all symtabs of objfile being freed and if
4451 one of them is the current source symtab, call
4452 clear_current_source_symtab_and_line().
4453
ac264b3b
MS
44542006-01-04 Michael Snyder <msnyder@redhat.com>
4455
4456 Checkpoint/Restart for Linux.
4457 * linux-nat.c: Add support for debugging multiple forks.
4458 Add #include for linux-fork.h (interface spec).
4459 (super_mourn_inferior): New function pointer.
4460 (child_mourn_inferior): New function / target method.
4461 (linux_target): Claim to_mourn_inferior method pointer.
4462 (child_follow_fork): Call interface to linux-fork, conditionally
4463 add new fork processes to list of debugged processes.
4464 (kill_inferior): Use interface to linux-fork to kill
4465 multiple processes.
4466
4467 * linux-fork.h: New file.
4468 * linux-fork.c: New file. Support for debugging multiple forks
4469 of the same program. Support for checkpoint and restart commands.
4470
4471 * infrun.c (nullify_last_target_wait_ptid): New function.
4472
4473 * Makefile.in: Add linux-fork.
4474 * config/*/linux.mh: Add linux-fork.
4475 * NEWS: Mention new functionality.
4476
f98ce7c2
PH
44772006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com>
4478
4479 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
4480 Change uses of "illegal" to "invalid".
4481
52ce6436
PH
44822006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
4483
4484 * ada-exp.y: Considerable reorganization to move functionality
4485 from ada-lex.l to here, where it is logically more appropriate.
4486 The original reason, however, was to prevent premature name
4487 lookups for selector names in record aggregates.
4488 (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
4489 NAME for all of these.
4490 (VAR): New artificial token to clarify precedence rules.
4491 (OTHERS): New lexeme.
4492 (empty_stoken): New symbol.
4493 (%union): Remove ssym, voidval.
4494 (%type): Remove <voidval> type declarations.
4495 (syntax definitions): Add aggregates.
4496 Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
4497 Rename some non-terminals to be closer to reference manual usage.
4498 Tighten up expression syntax to disallow certain non-Ada
4499 constructions such as X and then Y or else Z.
4500 (ada_parse): Remove initialization of left_block_context.
4501 (write_var_from_name): Remove.
4502 (write_var_or_type): New function, containing previous code from
4503 defunct write_var_from_name and name_lookup.
4504 (block_lookup): New function, moved from ada-lex.l
4505 (select_possible_type_sym): New function, factored out of
4506 name_lookup, which used to be in ada-lex.l.
4507 (find_primitive_type): Ditto.
4508 (chop_selector): Ditto.
4509 (write_ambiguous_var): New function, factored out of defunct
4510 write_var_from_name.
4511 (write_selectors): New function.
4512 (write_name_assoc): New function.
4513 (write_exp_op_with_string): New function.
4514
4515 * ada-lex.l (processId): Change interface to return stoken.
4516 (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
4517 (block_lookup, name_lookup): Remove. Functionality moved to
4518 ada-exp.y.
4519 (state IN_STRING): Remove.
4520 (rules): Handle string escapes in processString.
4521 Add 'others' token.
4522 Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
4523 yylval.sval (as simple strings).
4524 All name look-ups now handled in ada-exp.y.
4525 Introduce "::" (COLONCOLON) token and return as separate token.
4526 (processId): Change return convention. Comment.
4527 Leave leading "'" in place.
4528 (processString): New function.
4529 (find_dot_all): Add note to comment.
4530 Fix problem that allowed match only at the end.
4531
4532 * ada-lang.c: Introduce aggregates.
4533 (find_struct_field): Add new parameter to count fields skipped, and
4534 allow other output parameters to be NULL.
4535 (value_tag_from_contents_and_address, ada_value_struct_elt): Use
4536 new find_struct_field.
4537 (ada_index_struct_field, assign_aggregate, ada_is_array_type)
4538 (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
4539 (num_component_specs, assign_component, assign_aggregate):
4540 (aggregate_assign_from_choices,aggregate_assign_positional)
4541 (aggregate_assign_others,add_component_interval):
4542 New functions.
4543 (ada_evaluate_subexp): Declare.
4544 Add aggregate-related operators.
4545 (ada_forward_operator_length): Declare.
4546 (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
4547 Consolidate Ada operators, using ada_forward_operator_length.
4548 (ada_search_struct_field): Search in forward order.
4549 (ADA_OPERATORS): Add new aggregate operators.
4550 (ada_operator_length, ada_op_name, ada_forward_operator_length)
4551 (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
4552 operators and OP_NAME.
4553 (ada_type_of_array): Use longest_to_int.
4554 (value_assign_to_component): New function.
4555 (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
4556 Add OP_NAME case.
4557 (ada_forward_operator_length, ada_dump_subexp_body):
4558 Add OP_STRING case.
4559
4560 * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
4561 OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
4562
529cad9c
PH
45632006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
4564
4565 * ada-lang.c (process_raise_exception_name): Remove extraneous
4566 definition from unsubmitted code.
4567
4568 (is_lower_alphanum): New function.
4569 (ada_decode): Add support for decoding protected object subprograms
4570 and entries, and of entities declared inside protected object
4571 subprograms.
4572 Also add missing handling for__{DIGITS}+ suffixes.
4573 Allow '$<digits>' as valid overloading suffix.
4574 (is_name_suffix): Add handling for protected type entriy suffixes.
4575 Also add support for protected type subprogram suffixes, but keep
4576 it commented out for now, as there is an ambiguity between these
4577 entities and other internally generated entities.
4578 Allow '$<digits>' as valid overloading suffix.
4579 (is_valid_name_for_wild_match): New function.
4580 (wild_match): Add an exra level of verification of the entity name
4581 before declaring it a match for the given pattern.
4582
4583 (ada_type_of_array, ada_evaluate_subexp): Use more proper
4584 longest_to_int rather than cast.
4585
4586 (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
4587
4588 (ada_coerce_to_simple_array): Call check_size to make sure
4589 that the object size is reasonable.
4590
4591 (ada_value_primitive_packed_val): Use correct location in target
4592 buffer for extracting packed record fields that are themselves records.
4593
4594 (add_defn_to_vec): Do not try to replace a stub type by its full
4595 type. Avoids a potential infinite loop.
4596
4597 (ada_lookup_symbol): Move return incorrectly placed return statement,
4598 causing a loop that should be scanning all object files to only
4599 scan the first one.
4600
4601 (ada_tag_name_2): New function.
4602 (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
4603 use alternative representation.
4604
4605 (ada_find_renaming_symbol): Strip the function name suffix when
4606 computing the XR type name.
4607
4608 (ada_to_fixed_type): Try determining the tag only if we have the
4609 object's address.
4610 (to_fixed_array_type): Add comments.
4611
4612 (ada_check_typedef): Replace expression checking whether the given
4613 type is a stub or not by a "call" to TYPE_STUB. Clearer and more
4614 consistent.
4615
4616 * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
4617 '$' in addition to '.' for runtime auxiliary function name suffixes.
4618 See changes to ada_decode above.
4619
4620 (struct task_control_block): Add field called_task. (This change is
4621 to keep synchronized with our local sources; it does not affect the
4622 public version yet.)
4623
4624 * ada-typeprint.c (ada_print_type): Use int_string for printing
4625 modulus of modular type.
4626
4627 (print_range): Trivial editorial comment fix.
4628
4629 * ada-valprint.c (ada_emit_char): Use normal Ada syntax for
4630 double quote in string.
4631
9b799fe6
JB
46322006-01-01 Joel Brobecker <brobecker@adacore.com>
4633
4634 * top.c: Add 2006 to list of copyright years in file header.
4635
0bee0712
JB
46362006-01-01 Joel Brobecker <brobecker@adacore.com>
4637
4638 * top.c (print_gdb_version): Update copyright year to 2006.
4639
13c763f4
JB
46402006-01-01 Roger Sayle <roger@eyesopen.com>
4641 Elena Zannoni <ezannoni@redhat.com>
4642
4643 PR symtab/1651
4644 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
4645 for NULL before assigning this_symtab_psymtab->objfile to objfile.
4646 (scan_xcoff_symtab): Initialize next_symbol_text_func.
4647 (Committed by Jim Blandy)
4648
e50f0da1 4649For older changes see ChangeLog-2005.
c906108c
SS
4650\f
4651Local Variables:
4652mode: change-log
4653left-margin: 8
4654fill-column: 74
4655version-control: never
4656End:
This page took 0.961201 seconds and 4 git commands to generate.