Commit | Line | Data |
---|---|---|
1f3a99d5 DJ |
1 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
2 | ||
3 | * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address) | |
4 | (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte. | |
5 | ||
84eb3c4f DJ |
6 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7 | ||
8 | * solib.c (info_sharedlibrary_command): Avoid internal_error. | |
9 | ||
878d9193 MK |
10 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
11 | ||
12 | * i386-tdep.c (i386_mxcsr_type): New variable. | |
13 | (i386_init_types): Initialize i386_mxcsr_type. | |
14 | (i386_register_type): Return i386_mxcsr_type for %mxcsr. | |
15 | * i386-tdep.c (i386_mxcsr_type): New extern. | |
16 | * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for | |
17 | %mxcsr. | |
18 | ||
acab6ab2 MM |
19 | 2006-01-20 Mark Mitchell <mark@codesourcery.com> |
20 | ||
21 | * Makefile.in (remote-rdi.o): Remove. | |
22 | (rdi-share/libangsd.a): Likewise. | |
23 | * README: Don't mention remote-rdi.c. | |
24 | * NEWS: Mention removal of rdi-share. | |
25 | * configure.ac: Don't configure rdi-share subdirectory. | |
26 | * remote-rdi.c: Remove. | |
27 | * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. | |
28 | (TDEPLIBS): Remove rdi-share/libangsd.a. | |
29 | * rdi-share/Makefile.am: Remove. | |
30 | * rdi-share/Makefile.in: Likewise. | |
31 | * rdi-share/README.CYGNUS: Likewise. | |
32 | * rdi-share/aclocal.m4: Likewise. | |
33 | * rdi-share/adp.h: Likewise. | |
34 | * rdi-share/adperr.h: Likewise. | |
35 | * rdi-share/angel.h: Likewise. | |
36 | * rdi-share/angel_bytesex.c: Likewise. | |
37 | * rdi-share/angel_bytesex.h: Likewise. | |
38 | * rdi-share/angel_endian.h: Likewise. | |
39 | * rdi-share/ardi.c: Likewise. | |
40 | * rdi-share/ardi.h: Likewise. | |
41 | * rdi-share/armdbg.h: Likewise. | |
42 | * rdi-share/buffers.h: Likewise. | |
43 | * rdi-share/chandefs.h: Likewise. | |
44 | * rdi-share/channels.h: Likewise. | |
45 | * rdi-share/chanpriv.h: Likewise. | |
46 | * rdi-share/configure: Likewise. | |
47 | * rdi-share/configure.in: Likewise. | |
48 | * rdi-share/crc.c: Likewise. | |
49 | * rdi-share/crc.h: Likewise. | |
50 | * rdi-share/dbg_conf.h: Likewise. | |
51 | * rdi-share/dbg_cp.h: Likewise. | |
52 | * rdi-share/dbg_hif.h: Likewise. | |
53 | * rdi-share/dbg_rdi.h: Likewise. | |
54 | * rdi-share/devclnt.h: Likewise. | |
55 | * rdi-share/devices.h: Likewise. | |
56 | * rdi-share/devsw.c: Likewise. | |
57 | * rdi-share/devsw.h: Likewise. | |
58 | * rdi-share/drivers.c: Likewise. | |
59 | * rdi-share/drivers.h: Likewise. | |
60 | * rdi-share/etherdrv.c: Likewise. | |
61 | * rdi-share/ethernet.h: Likewise. | |
62 | * rdi-share/host.h: Likewise. | |
63 | * rdi-share/hostchan.c: Likewise. | |
64 | * rdi-share/hostchan.h: Likewise. | |
65 | * rdi-share/hsys.c: Likewise. | |
66 | * rdi-share/hsys.h: Likewise. | |
67 | * rdi-share/logging.c: Likewise. | |
68 | * rdi-share/logging.h: Likewise. | |
69 | * rdi-share/msgbuild.c: Likewise. | |
70 | * rdi-share/msgbuild.h: Likewise. | |
71 | * rdi-share/params.c: Likewise. | |
72 | * rdi-share/params.h: Likewise. | |
73 | * rdi-share/rx.c: Likewise. | |
74 | * rdi-share/rxtx.h: Likewise. | |
75 | * rdi-share/serdrv.c: Likewise. | |
76 | * rdi-share/serpardr.c: Likewise. | |
77 | * rdi-share/sys.h: Likewise. | |
78 | * rdi-share/tx.c: Likewise. | |
79 | * rdi-share/unixcomm.c: Likewise. | |
80 | * rdi-share/unixcomm.h: Likewise. | |
81 | ||
4577207e MK |
82 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
83 | ||
84 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): | |
85 | Change type of last argument to `gdb_byte *'. | |
86 | ||
34f55018 MK |
87 | 2006-01-20 Mark Kettenis <kettenis@gnu.org> |
88 | ||
89 | * hppa-tdep.h (hppa_in_solib_call_trampoline) | |
90 | (hppa_skip_trampoline_code): New prototypes. | |
91 | * hppa-tdep.c (struct insn_pattern): New. | |
92 | (hppa_long_branch_stub, hppa_long_branch_pic_stub) | |
93 | (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved | |
94 | here from hppa-linux-tdep.c | |
95 | (HPPA_MAX_INSN_PATTERN_LEN): New define. | |
96 | (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) | |
97 | (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New | |
98 | functions based on functions removed from hppa-linux-tdep.c. | |
99 | * hppa-linux-tdep.c (hppa_long_branch_stub) | |
100 | (hppa_long_branch_pic_stub, hppa_import_stub) | |
101 | (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. | |
102 | (insns_match_pattern_relaxed, hppa_linux_in_dyncall) | |
103 | (hppa_linux_in_solib_call_trampoline) | |
104 | (hppa_linux_skip_trampoline_code): Removed. | |
105 | (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to | |
106 | hppa_in_solib_call_trampoline and skip_trampoline_code to | |
107 | hppa_skip_trampoline_code. | |
108 | * hppabsd-tdep.c (hppabsd_init_abi): Set | |
109 | TDEP->in_solib_call_trampoline and skip_trampoline_code. | |
110 | ||
7be93b9e JB |
111 | 2006-01-20 Jim Blandy <jimb@redhat.com> |
112 | ||
f408839d JB |
113 | * MAINTAINERS: Change my E-mail address. |
114 | ||
7be93b9e JB |
115 | * configure.ac: Add -Wno-pointer-sign to list of build warnings. |
116 | * configure: Regenerated. | |
117 | ||
b2a74f99 DJ |
118 | 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
119 | ||
120 | * MAINTAINERS: Overhaul. | |
121 | ||
4f2aea11 MK |
122 | 2006-01-18 Mark Kettenis <kettenis@gnu.org> |
123 | ||
5ae96ec1 MK |
124 | Based on a previous patch form Michal Ludvig: |
125 | * amd64-tdep.c (amd64_sse_type): Remove. | |
126 | (amd64_register_info): Use i386_eflags_type and i386_sse_type | |
127 | where appropriate. | |
128 | (AMD64_NUM_REGS): Use ARRAY_SIZE. | |
129 | (amd64_register_type): Remove code to build amd_sse_type. | |
130 | * i386-tdep.c (i386_eflag_type): New variable. | |
131 | (i386_mmx_type, i386_sse_type): Make global. | |
132 | (i386_init_types): New function. | |
133 | (i386_build_mmx_type, i386_build_sse_type): Remove functions. | |
134 | (i386_register_type): Return i386_eflag_type, i386_sse_type and | |
135 | i386_mmx_type when appropriate. | |
136 | (_initialize_i386_tdep): Call i386_init_types. | |
137 | * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type): | |
138 | Declare extern. | |
139 | ||
4f2aea11 MK |
140 | Based on a previous patch form Michal Ludvig: |
141 | * gdbtypes.c (append_flags_type_flag, init_flags_type): New | |
142 | functions. | |
143 | (is_integral_type, rank_one_type, recursive_dump_type): Add | |
144 | support for TYPE_CODE_FLAGS. | |
145 | * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS. | |
146 | (append_flags_type_field, init_flags_type): New prototypes. | |
147 | * ada-valprint.c (ada_val_print_1): Add support for | |
148 | TYPE_CODE_FLAGS. | |
149 | * c-valprint.c (c_val_print): Likewise. | |
150 | * f-valprint.c (f_val_print): Likewise. | |
151 | * p-valprint.c (pascal_val_print): Likewise. | |
152 | * valprint.c (val_print_type_code_flags): New function. | |
153 | * valprint.h (val_print_type_code_flags): New prototype. | |
154 | * value.c (unpack_long, value_from_longest): Add support for | |
155 | TYPE_CODE_FLAGS. | |
156 | ||
4cdb5adf CF |
157 | 2006-01-17 Christopher Faylor <cgf@timesys.com> |
158 | ||
159 | * MAINTAINERS: Very belatedly remove myself from from the list of | |
160 | people caught up in the paper trail. | |
161 | ||
1193688d JB |
162 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
163 | ||
4e38b386 JB |
164 | * symtab.h (struct general_symbol_info): Use gdb_byte for |
165 | value.bytes. | |
166 | * stabsread.c (define_symbol): Use gdb_byte for the buffer holding | |
167 | a floating-point constant's value. | |
168 | * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer | |
169 | to char *. | |
170 | * findvar.c (read_var_value): Eliminate needless temporary. | |
171 | ||
1193688d JB |
172 | * dwarf2-frame.c (dwarf2_read_section): Update forward declaration |
173 | to match prior change to dwarf2_read_section's type. | |
174 | ||
0d1243d9 PG |
175 | 2006-01-16 Paul Gilliam <pgilliam@us.ibm.com> |
176 | ||
177 | * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. | |
178 | * rs6000-tdep.c (insn_changes_sp_or_jumps) | |
179 | (rs6000_in_function_epilogue_p): New functions. | |
180 | (rs6000_gdbarch_init): Set in_function_epilogue_p. | |
181 | ||
fe1b8b76 JB |
182 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
183 | ||
184 | * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) | |
185 | (struct line_header, struct partial_die_info, struct dwarf_block): | |
186 | Use gdb_byte for members that refer to Dwarf section contents. | |
187 | (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, | |
188 | dwarf_decode_macros, load_comp_unit, load_partial_dies, | |
189 | locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, | |
190 | read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, | |
191 | read_8_bytes, read_address, read_attribute, read_attribute_value, | |
192 | read_comp_unit, read_comp_unit_head, read_die_and_children, | |
193 | read_die_and_siblings, read_full_die, read_indirect_string, | |
194 | read_initial_length, read_n_bytes, read_offset, read_partial_die, | |
195 | read_signed_leb128, read_string, read_unsigned_leb128, | |
196 | skip_children, skip_leb128, skip_one_die): Same. | |
197 | ||
a0841d7a DJ |
198 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
199 | ||
200 | * complaints.c (stop_whining): Make signed. | |
201 | * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. | |
202 | ||
939b2b42 DJ |
203 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
204 | ||
205 | * dwarf2read.c, remote-fileio.c, remote.h: Update copyright | |
206 | notices. | |
207 | ||
891d2f0b DJ |
208 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
209 | ||
210 | * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length) | |
211 | (read_offset): Change BYTES_READ argument to unsigned int. | |
212 | (dwarf2_build_psymtabs_easy, read_comp_unit_head) | |
213 | (create_all_comp_units, dwarf2_get_pc_bounds) | |
214 | (dwarf_decode_line_header, var_decode_location) | |
215 | (dwarf_decode_macros): Change local BYTES_READ variables to | |
216 | unsigned int. | |
217 | (read_indirect_string): Remove obsolete cast. | |
218 | ||
cfd77fa1 DJ |
219 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
220 | ||
221 | * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte | |
222 | argument. | |
223 | (remote_fileio_func_open, remote_fileio_func_rename) | |
224 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
225 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
226 | (remote_fileio_func_system): Cast the arguments to | |
227 | remote_read_bytes and remote_write_bytes. | |
228 | (remote_fileio_func_read, remote_fileio_func_write): Use a | |
229 | gdb_byte buffer. | |
230 | * remote.h (remote_read_bytes, remote_write_bytes): Update | |
231 | prototypes. | |
232 | * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument. | |
233 | (threadref_to_int): Replace bogus char * cast. | |
234 | (remote_unpack_thread_info_response): Use int for tag. | |
235 | (remote_threads_extra_info, remote_check_symbols): Cast string | |
236 | arguments to hex2bin. | |
237 | (remote_wait): Use a char buffer for packets and a gdb_byte | |
238 | buffer for registers. | |
239 | (remote_async_wait): Likewise. | |
240 | (remote_prepare_to_store, store_register_using_P) | |
241 | (remote_store_registers): Use gdb_byte buffers. | |
242 | (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer | |
243 | for MYADDR and char buffers for strings. | |
244 | (remote_xfer_partial): Add casts for string operations on READBUF. | |
245 | (remote_rcmd): Cast strings passed to bin2hex. | |
246 | ||
60bf0650 MM |
247 | 2006-01-16 Mark Mitchell <mark@codesourcery.com> |
248 | ||
249 | * aclocal.m4: Regenerate. | |
250 | ||
60e81fcc NS |
251 | 2006-01-16 Nathan Sidwell <nathan@codesourcery.com> |
252 | ||
253 | * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY, | |
254 | MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, | |
255 | MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS. | |
256 | (mt_register_name): Lazily synthesize name for coprocessor pseudo | |
257 | array registers. | |
258 | (mt_copro_register_type): New. Broken out of ... | |
259 | (mt_register_type): ... here. Use it. Deal with coprocessor | |
260 | pseudo array. | |
261 | (mt_select_coprocessor): New. | |
262 | (mt_pseudo_register_read, mt_pseudo_register_write): Deal with | |
263 | coprocessor pseudo array. | |
264 | ||
f365de73 AS |
265 | 2006-01-16 Andrew Stubbs <andrew.stubbs@st.com> |
266 | ||
267 | * breakpoint.c (insert_breakpoints): Check that a thread exists | |
268 | before inserting thread specific breakpoints. | |
269 | ||
9d519230 MK |
270 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
271 | ||
6062517a MK |
272 | * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous |
273 | commit. | |
274 | ||
9d519230 MK |
275 | * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint. |
276 | * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. | |
277 | * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. | |
278 | * config/alpha/nm-nbsd.h: Remove file. | |
279 | * config/alpha/nm-fbsd.h: Remove file | |
280 | * config/alpha/nbsd.mh (NAT_FILE): Remove. | |
281 | * config/alpha/fbsd.mh (NAT_FILE): Remove. | |
282 | ||
0a029df5 DJ |
283 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
284 | ||
285 | * macroexp.c (expand): Initialize argc. | |
286 | * stabsread.c (read_type): Handle errors from read_args. | |
287 | (read_args): Return NULL for errors. | |
288 | ||
1731e543 MK |
289 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
290 | ||
291 | * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of | |
292 | strcmp to compare string to a byte buffer. | |
293 | ||
777ea8f1 DJ |
294 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
295 | ||
296 | * printcmd.c (output_command): Always initialize fmt.size. | |
297 | (printf_command): Use gdb_byte. | |
298 | * symfile.c (separate_debug_file_exists): Use gdb_byte. | |
299 | (load_section_callback, read_target_long_array): Likewise. | |
300 | (simple_read_overlay_table, simple_read_overlay_region_table) | |
301 | (simple_overlay_update_1): Correct calls to read_target_long_array. | |
302 | * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *. | |
303 | Also change local pointers. | |
304 | (val_print_string): Use gdb_byte. | |
305 | ||
4b17b389 MK |
306 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
307 | ||
308 | * alphafbsd-tdep.c: Include "solib-svr4.h". | |
309 | (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
310 | svr4_lp64_fetch_link_map_offsets. | |
311 | * Makefile.in (alphafbsd-tdep.o): Update dependencies. | |
312 | * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
313 | solib-svr4.o. | |
314 | * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
315 | and solib-legacy.o. | |
316 | * config/alpha/nm-fbsd.h: Don't include "solib.h". | |
317 | ||
bd4109fb DJ |
318 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
319 | ||
320 | * source.c (_initialize_source): Use add_setshow_integer_cmd. | |
321 | ||
1dce6535 DJ |
322 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
323 | ||
324 | * linux-fork.c (delete_fork_command, detach_fork_command): Use | |
325 | PIDGET. | |
326 | ||
76a9d10f MK |
327 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
328 | ||
329 | * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets): | |
330 | Remove. | |
331 | (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
332 | svr4_ilp32_fetch_link_map_offsets. | |
333 | * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove | |
334 | function. | |
335 | (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
336 | svr4_ilp32_fetch_link_map_offsets. | |
337 | * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets) | |
338 | (mips64_linux_svr4_fetch_link_map_offsets): Remove functions. | |
339 | (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
340 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
341 | where appropriate. | |
342 | * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets): | |
343 | Simply call svr4_ilp32_fetch_link_map_offsets. | |
344 | (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call | |
345 | svr4_lp64_fetch_link_map_offsets. | |
346 | * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove | |
347 | function. | |
348 | (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
349 | svr4_ilp32_fetch_link_map_offsets. | |
350 | * s390-tdep.c (s390_svr4_fetch_link_map_offsets) | |
351 | (s390x_svr4_fetch_link_map_offsets): Remove functions. | |
352 | (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
353 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
354 | where appropriate. | |
355 | ||
469db033 MK |
356 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
357 | ||
25224166 MK |
358 | * arm-tdep.c (arm_return_value): Change type of readbuf and |
359 | writebuf arguments to `gdb_byte *'. | |
360 | ||
469db033 MK |
361 | * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h". |
362 | * Makefile.in (s390-tdep.o): Update dependencies. | |
363 | ||
4dd7c9f6 MK |
364 | 2006-01-14 Mark Kettenis <kettenis@gnu.org> |
365 | ||
081bf9da MK |
366 | * sol2-tdep.h. sol2-tdep.c: New files. |
367 | * amd64-sol2-tdep.c: Include "sol2-tdep.h". | |
368 | (amd64_sol2_init_abi): Set skip_solib_resolver. | |
369 | * i386-sol2-tdep.c: Include "sol2-tdep.h". | |
370 | (i386_sol2_init_abi): Set skip_solib_resolver. | |
371 | * sparc-sol2-tdep.c: Include "sol2-tdep.h". | |
372 | (sparc32_sol2_init_abi): Set skip_solib_resolver. | |
373 | * sparc64-sol2-tdep.c: Include "sol2-tdep.h". | |
374 | (sparc64_sol2_init_abi): Set skip_solib_resolver. | |
375 | * Makefile.in (sol2_tdep_h): New variable. | |
376 | (ALLDEPFILES): Add sol2-tdep.c. | |
377 | (sol2-tdep.o): New target. | |
378 | (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o) | |
379 | (sparc64-sol2-tdep.o): Update dependencies | |
380 | * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
381 | * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
382 | * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
383 | * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
384 | ||
c0f96416 MK |
385 | * hppa-linux-tdep.c: Fix copyright indentation. |
386 | ||
4dd7c9f6 MK |
387 | * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. |
388 | * hppabsd-nat.c (hppabsd_fpregset_supplies_p) | |
389 | (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New | |
390 | functions. | |
391 | (hppabsd_fetch_registers, hppabsd_store_registers): Handle | |
392 | floating-point registers. | |
393 | ||
6da86618 MM |
394 | 2006-01-13 Mark Mitchell <mark@codesourcery.com> |
395 | ||
396 | * event-loop.c (gdb_select): Detect file descriptors that have | |
397 | been closed. | |
398 | ||
ed944ce7 MK |
399 | 2006-01-13 Mark Kettenis <kettenis@gnu.org> |
400 | ||
401 | * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, | |
402 | and long_double_format accordingly. | |
403 | ||
03ee6b2e PH |
404 | 2006-01-12 Paul N. Hilfinger <hilfinger@adacore.com> |
405 | ||
406 | * ada-exp.y (yyerror): Change message to ignore the argument, avoiding | |
407 | translation problems. | |
408 | * ada-lang.c (ada_value_struct_elt): Change interface and handling | |
409 | of errors to avoid translation problem (and less than optimal error | |
410 | messages). | |
411 | (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): | |
412 | Use new interface to ada_value_struct_elt. | |
413 | * ada_lang.h (ada_value_struct_elt): Update declaration to new | |
414 | interface. | |
415 | ||
416 | * ChangeLog: remove reference to ada-tasks.c from entry of | |
417 | 2006-01-07. | |
418 | ||
24b06219 MK |
419 | 2006-01-11 Mark Kettenis <kettenis@gnu.org> |
420 | ||
421 | * remote.c (get_memory_packet_size, set_thread) | |
422 | (remote_unpack_thread_info_response, remote_get_threadinfo) | |
423 | (parse_threadlist_response, remote_get_threadlist) | |
424 | (remote_current_thread, remote_threads_info) | |
425 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
426 | (remote_check_symbols, remote_open_1, remote_detach) | |
427 | (remote_async_wait, remote_fetch_registers) | |
428 | (remote_store_registers, check_binary_download, putpkt_binary) | |
429 | (remote_insert_breakpoint, remote_insert_watchpoint) | |
430 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
431 | (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) | |
432 | (packet_command): Remove redundant parenthesis. | |
433 | ||
15550d6b MK |
434 | 2006-01-10 Mark Kettenis <kettenis@gnu.org> |
435 | ||
dfb65433 MK |
436 | * corefile.c (read_memory_integer, read_memory_unsigned_integer) |
437 | (read_memory_typed_address, write_memory) | |
438 | (write_memory_unsigned_integer, write_memory_signed_integer): Use | |
439 | gdb_byte where appropriate. | |
440 | ||
508416a1 MK |
441 | * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into |
442 | 'gdb_byte *'. | |
443 | ||
f6519ebc MK |
444 | * target.h (target_read_memory_partial, target_write_memory_partial): |
445 | Change second argument to 'gdb_byte *'. | |
446 | * target.c (target_xfer_memory_partial): Change third argument to | |
447 | 'gdb_byte *'. | |
448 | (target_read_memory_partial, target_write_memory_partial): Change | |
449 | second argument to 'gdb_byte *'. | |
450 | ||
15550d6b MK |
451 | * linespec.c (decode_objc): Make i1 and i2 unsigned. |
452 | (find_method): Set values.sals to NULL. | |
453 | ||
d7a30af7 MK |
454 | 2006-01-09 Mark Kettenis <kettenis@gnu.org> |
455 | ||
456 | * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead | |
457 | of 'char *' in cast. | |
458 | ||
e1d5a0d2 PH |
459 | 2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com> |
460 | ||
461 | * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. | |
03ee6b2e | 462 | * ada-lang.c: I18n markup. |
e1d5a0d2 PH |
463 | Editorial: change "can not" => "cannot" throughout. |
464 | ||
790124be MK |
465 | 2006-01-07 Mark Kettenis <kettenis@gnu.org> |
466 | ||
467 | * Makefile.in: Sort dependencies. | |
468 | ||
3c481fdc EZ |
469 | 2006-01-07 Eli Zaretskii <eliz@gnu.org> |
470 | ||
471 | * top.c (control_level): Remove unused variable. | |
472 | ||
cb5d864f FF |
473 | 2006-01-06 Fred Fish <fnf@specifix.com> |
474 | ||
475 | * objfiles.c (source.h): Include. | |
476 | (free_objfile): Update comment about clear_symtab_users(). | |
477 | (free_objfile): Check all symtabs of objfile being freed and if | |
478 | one of them is the current source symtab, call | |
479 | clear_current_source_symtab_and_line(). | |
480 | ||
ac264b3b MS |
481 | 2006-01-04 Michael Snyder <msnyder@redhat.com> |
482 | ||
483 | Checkpoint/Restart for Linux. | |
484 | * linux-nat.c: Add support for debugging multiple forks. | |
485 | Add #include for linux-fork.h (interface spec). | |
486 | (super_mourn_inferior): New function pointer. | |
487 | (child_mourn_inferior): New function / target method. | |
488 | (linux_target): Claim to_mourn_inferior method pointer. | |
489 | (child_follow_fork): Call interface to linux-fork, conditionally | |
490 | add new fork processes to list of debugged processes. | |
491 | (kill_inferior): Use interface to linux-fork to kill | |
492 | multiple processes. | |
493 | ||
494 | * linux-fork.h: New file. | |
495 | * linux-fork.c: New file. Support for debugging multiple forks | |
496 | of the same program. Support for checkpoint and restart commands. | |
497 | ||
498 | * infrun.c (nullify_last_target_wait_ptid): New function. | |
499 | ||
500 | * Makefile.in: Add linux-fork. | |
501 | * config/*/linux.mh: Add linux-fork. | |
502 | * NEWS: Mention new functionality. | |
503 | ||
f98ce7c2 PH |
504 | 2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com> |
505 | ||
506 | * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): | |
507 | Change uses of "illegal" to "invalid". | |
508 | ||
52ce6436 PH |
509 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
510 | ||
511 | * ada-exp.y: Considerable reorganization to move functionality | |
512 | from ada-lex.l to here, where it is logically more appropriate. | |
513 | The original reason, however, was to prevent premature name | |
514 | lookups for selector names in record aggregates. | |
515 | (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns | |
516 | NAME for all of these. | |
517 | (VAR): New artificial token to clarify precedence rules. | |
518 | (OTHERS): New lexeme. | |
519 | (empty_stoken): New symbol. | |
520 | (%union): Remove ssym, voidval. | |
521 | (%type): Remove <voidval> type declarations. | |
522 | (syntax definitions): Add aggregates. | |
523 | Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. | |
524 | Rename some non-terminals to be closer to reference manual usage. | |
525 | Tighten up expression syntax to disallow certain non-Ada | |
526 | constructions such as X and then Y or else Z. | |
527 | (ada_parse): Remove initialization of left_block_context. | |
528 | (write_var_from_name): Remove. | |
529 | (write_var_or_type): New function, containing previous code from | |
530 | defunct write_var_from_name and name_lookup. | |
531 | (block_lookup): New function, moved from ada-lex.l | |
532 | (select_possible_type_sym): New function, factored out of | |
533 | name_lookup, which used to be in ada-lex.l. | |
534 | (find_primitive_type): Ditto. | |
535 | (chop_selector): Ditto. | |
536 | (write_ambiguous_var): New function, factored out of defunct | |
537 | write_var_from_name. | |
538 | (write_selectors): New function. | |
539 | (write_name_assoc): New function. | |
540 | (write_exp_op_with_string): New function. | |
541 | ||
542 | * ada-lex.l (processId): Change interface to return stoken. | |
543 | (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. | |
544 | (block_lookup, name_lookup): Remove. Functionality moved to | |
545 | ada-exp.y. | |
546 | (state IN_STRING): Remove. | |
547 | (rules): Handle string escapes in processString. | |
548 | Add 'others' token. | |
549 | Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in | |
550 | yylval.sval (as simple strings). | |
551 | All name look-ups now handled in ada-exp.y. | |
552 | Introduce "::" (COLONCOLON) token and return as separate token. | |
553 | (processId): Change return convention. Comment. | |
554 | Leave leading "'" in place. | |
555 | (processString): New function. | |
556 | (find_dot_all): Add note to comment. | |
557 | Fix problem that allowed match only at the end. | |
558 | ||
559 | * ada-lang.c: Introduce aggregates. | |
560 | (find_struct_field): Add new parameter to count fields skipped, and | |
561 | allow other output parameters to be NULL. | |
562 | (value_tag_from_contents_and_address, ada_value_struct_elt): Use | |
563 | new find_struct_field. | |
564 | (ada_index_struct_field, assign_aggregate, ada_is_array_type) | |
565 | (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) | |
566 | (num_component_specs, assign_component, assign_aggregate): | |
567 | (aggregate_assign_from_choices,aggregate_assign_positional) | |
568 | (aggregate_assign_others,add_component_interval): | |
569 | New functions. | |
570 | (ada_evaluate_subexp): Declare. | |
571 | Add aggregate-related operators. | |
572 | (ada_forward_operator_length): Declare. | |
573 | (resolve_subexp): Add cases for new aggregate operators and OP_NAME. | |
574 | Consolidate Ada operators, using ada_forward_operator_length. | |
575 | (ada_search_struct_field): Search in forward order. | |
576 | (ADA_OPERATORS): Add new aggregate operators. | |
577 | (ada_operator_length, ada_op_name, ada_forward_operator_length) | |
578 | (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate | |
579 | operators and OP_NAME. | |
580 | (ada_type_of_array): Use longest_to_int. | |
581 | (value_assign_to_component): New function. | |
582 | (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): | |
583 | Add OP_NAME case. | |
584 | (ada_forward_operator_length, ada_dump_subexp_body): | |
585 | Add OP_STRING case. | |
586 | ||
587 | * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, | |
588 | OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. | |
589 | ||
529cad9c PH |
590 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
591 | ||
592 | * ada-lang.c (process_raise_exception_name): Remove extraneous | |
593 | definition from unsubmitted code. | |
594 | ||
595 | (is_lower_alphanum): New function. | |
596 | (ada_decode): Add support for decoding protected object subprograms | |
597 | and entries, and of entities declared inside protected object | |
598 | subprograms. | |
599 | Also add missing handling for__{DIGITS}+ suffixes. | |
600 | Allow '$<digits>' as valid overloading suffix. | |
601 | (is_name_suffix): Add handling for protected type entriy suffixes. | |
602 | Also add support for protected type subprogram suffixes, but keep | |
603 | it commented out for now, as there is an ambiguity between these | |
604 | entities and other internally generated entities. | |
605 | Allow '$<digits>' as valid overloading suffix. | |
606 | (is_valid_name_for_wild_match): New function. | |
607 | (wild_match): Add an exra level of verification of the entity name | |
608 | before declaring it a match for the given pattern. | |
609 | ||
610 | (ada_type_of_array, ada_evaluate_subexp): Use more proper | |
611 | longest_to_int rather than cast. | |
612 | ||
613 | (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. | |
614 | ||
615 | (ada_coerce_to_simple_array): Call check_size to make sure | |
616 | that the object size is reasonable. | |
617 | ||
618 | (ada_value_primitive_packed_val): Use correct location in target | |
619 | buffer for extracting packed record fields that are themselves records. | |
620 | ||
621 | (add_defn_to_vec): Do not try to replace a stub type by its full | |
622 | type. Avoids a potential infinite loop. | |
623 | ||
624 | (ada_lookup_symbol): Move return incorrectly placed return statement, | |
625 | causing a loop that should be scanning all object files to only | |
626 | scan the first one. | |
627 | ||
628 | (ada_tag_name_2): New function. | |
629 | (ada_tag_name_1): If no 'tsd' field found in the dispatching table, | |
630 | use alternative representation. | |
631 | ||
632 | (ada_find_renaming_symbol): Strip the function name suffix when | |
633 | computing the XR type name. | |
634 | ||
635 | (ada_to_fixed_type): Try determining the tag only if we have the | |
636 | object's address. | |
637 | (to_fixed_array_type): Add comments. | |
638 | ||
639 | (ada_check_typedef): Replace expression checking whether the given | |
640 | type is a stub or not by a "call" to TYPE_STUB. Clearer and more | |
641 | consistent. | |
642 | ||
643 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow | |
644 | '$' in addition to '.' for runtime auxiliary function name suffixes. | |
645 | See changes to ada_decode above. | |
646 | ||
647 | (struct task_control_block): Add field called_task. (This change is | |
648 | to keep synchronized with our local sources; it does not affect the | |
649 | public version yet.) | |
650 | ||
651 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
652 | modulus of modular type. | |
653 | ||
654 | (print_range): Trivial editorial comment fix. | |
655 | ||
656 | * ada-valprint.c (ada_emit_char): Use normal Ada syntax for | |
657 | double quote in string. | |
658 | ||
9b799fe6 JB |
659 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
660 | ||
661 | * top.c: Add 2006 to list of copyright years in file header. | |
662 | ||
0bee0712 JB |
663 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
664 | ||
665 | * top.c (print_gdb_version): Update copyright year to 2006. | |
666 | ||
13c763f4 JB |
667 | 2006-01-01 Roger Sayle <roger@eyesopen.com> |
668 | Elena Zannoni <ezannoni@redhat.com> | |
669 | ||
670 | PR symtab/1651 | |
671 | * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab | |
672 | for NULL before assigning this_symtab_psymtab->objfile to objfile. | |
673 | (scan_xcoff_symtab): Initialize next_symbol_text_func. | |
674 | (Committed by Jim Blandy) | |
675 | ||
e50f0da1 | 676 | For older changes see ChangeLog-2005. |
c906108c SS |
677 | \f |
678 | Local Variables: | |
679 | mode: change-log | |
680 | left-margin: 8 | |
681 | fill-column: 74 | |
682 | version-control: never | |
683 | End: |