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