Commit | Line | Data |
---|---|---|
8656e7d8 DJ |
1 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
2 | ||
3 | * gdbserver/gdbserver.1: Document --attach. | |
4 | ||
66e810cd RE |
5 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
6 | ||
7 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
8 | descriptions. | |
9 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
10 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
11 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
12 | traditional breakpoint defines. | |
13 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
14 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
15 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
16 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
17 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
18 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
19 | code out to ... | |
20 | (arm_netbsd_init_abi_common): ... here; new function. | |
21 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
22 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
23 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
24 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
25 | ||
97e03143 RE |
26 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
27 | ||
28 | * arm-tdep.h (enum arm_abi): New enum. | |
29 | (struct gdbarch_tdep): New structure. | |
30 | (LOWEST_PC): Provide a default. | |
31 | (arm_gdbarch_register_os_abi): Declare new function. | |
32 | * arm-tdep.c (arm_abi_names): New array. | |
33 | (process_note_abi_tag_sections): New function. | |
34 | (get_elfosabi): New function. | |
35 | (arm_gdbarch_register_os_abi): New function. | |
36 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
37 | support for that ABI has been built in, then call the appropriate | |
38 | configuration routine. Use gdbarch_num_regs() to get the number | |
39 | of registers. | |
40 | (arm_dump_tdep): New function. | |
41 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
42 | place-holder functions. | |
43 | (_initialize_arm_tdep): Register them. | |
44 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
45 | ||
46 | * armnbsd-tdep.c: New file. | |
47 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
48 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
49 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
50 | ||
51 | * armnbsd-nat.c: Include regcache.h. | |
52 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
53 | ||
54 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
55 | ||
ad68be46 DJ |
56 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
57 | ||
58 | * gdbserver/Makefile.in: Fix typos in target rules. | |
59 | ||
003d6d1d DJ |
60 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
61 | ||
62 | Fix part of PR gdb/267. | |
63 | * linespec.c (find_methods): Handle constructors specially for now. | |
64 | ||
6b230f1b CV |
65 | 2002-02-14 Corinna Vinschen <vinschen@redhat.com> |
66 | ||
67 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
68 | handling. | |
69 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
70 | standard_coerce_float_to_double(). | |
71 | ||
1ea98d12 CF |
72 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
73 | ||
74 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
75 | GDBINIT_FILENAME. | |
76 | ||
dd47e6fd EZ |
77 | 2002-02-14 Elena Zannoni <ezannoni@redhat.com> |
78 | ||
79 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
80 | find_variant_by_name, because it confuses the multiarch | |
81 | framework. Return NULL if there isn't an architecture with the | |
82 | user supplied name, instead of forcing a different one without | |
83 | recording the change with the multiarch machinery. | |
84 | (find_variant_by_name): Delete. | |
85 | ||
d7e39b9e PS |
86 | 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
87 | ||
88 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
89 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
90 | ||
76e42a4f MH |
91 | 2002-02-13 Martin M. Hunt <hunt@redhat.com> |
92 | ||
93 | * stack.c (print_frame_info_base): When calling | |
94 | print_frame_info_listing_hook, set current_source_symtab. | |
95 | ||
0a30fbc4 DJ |
96 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
97 | ||
98 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
99 | and remove unused $(INCLUDE_DIR). | |
100 | Add regcache.c to OBS. | |
101 | Add generated register protocol files to clean target. | |
102 | Update dependencies for new objects, obsolete old target code. | |
103 | ||
104 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
105 | new files. Remove various dead code. Update to use regcache | |
106 | functionality. | |
107 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
108 | to quiet warning. | |
109 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
110 | constant. | |
111 | (input_interrupt): Add integer parameter to match prototype | |
112 | of a signal handler. | |
113 | (outreg): Use register_data (). | |
114 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
115 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
116 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
117 | registers_from_string (). | |
118 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
119 | for error (), fatal (), and warning (). Update definition of | |
120 | PBUFSIZ to use regcache functionality. Add include guard. | |
121 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
122 | (warning): New function. | |
123 | ||
124 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
125 | Provide init_registers () function. | |
126 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
127 | Add include guard. | |
128 | ||
129 | * gdbserver/linux-arm-low.c: New file. | |
130 | * gdbserver/linux-i386-low.c: New file. | |
131 | * gdbserver/linux-ia64-low.c: New file. | |
132 | * gdbserver/linux-m68k-low.c: New file. | |
133 | * gdbserver/linux-mips-low.c: New file. | |
134 | * gdbserver/linux-ppc-low.c: New file. | |
135 | * gdbserver/linux-sh-low.c: New file. | |
136 | ||
137 | * gdbserver/regcache.c: New file. | |
138 | * gdbserver/regcache.h: New file. | |
139 | ||
140 | * gdbserver/low-linux.c: Removed obsolete file. | |
141 | ||
4cc841d0 DJ |
142 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
143 | ||
144 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
145 | * config/i386/linux.mt: Likewise. | |
146 | * config/ia64/linux.mt: Likewise. | |
147 | * config/m68k/linux.mh: Likewise. | |
148 | * config/powerpc/linux.mh: Likewise. | |
149 | * config/mips/linux.mt: Likewise. | |
150 | ||
151 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
152 | ||
153 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
154 | as (currently) obsolete for this target. | |
155 | * config/i386/nbsd.mt: Likewise. | |
156 | * config/i386/nbsdelf.mt: Likewise. | |
157 | * config/m32r/m32r.mt: Likewise. | |
158 | * config/m68k/m68klynx.mh: Likewise. | |
159 | * config/m68k/nbsd.mt: Likewise. | |
160 | * config/m68k/sun3os4.mh: Likewise. | |
161 | * config/mips/vr5000.mt: Likewise. | |
162 | * config/ns32k/nbsd.mt: Likewise. | |
163 | * config/pa/hppabsd.mh: Likewise. | |
164 | * config/pa/hppaosf.mh: Likewise. | |
165 | * config/powerpc/nbsd.mt: Likewise. | |
166 | * config/rs6000/rs6000lynx.mh: Likewise. | |
167 | * config/s390/s390.mt: Likewise. | |
168 | * config/s390/s390x.mt: Likewise. | |
169 | * config/sparc/sparclynx.mh: Likewise. | |
170 | * config/sparc/sun4os4.mh: Likewise. | |
171 | * config/i386/x86-64linux.mt: Likewise. | |
172 | * config/sparc/linux.mh: Likewise. | |
173 | ||
a85f51e7 DJ |
174 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
175 | ||
176 | * configure.tgt: Configure gdbserver only for known working | |
177 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
178 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
179 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
180 | * configure: Regenerated. | |
181 | ||
65554fef MS |
182 | 2002-02-13 Michael Snyder <msnyder@redhat.com> |
183 | ||
6dbdc4a3 MS |
184 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
185 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
186 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
187 | (make_mem_sec): Use a cast, avoid a warning. | |
188 | ||
189 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
190 | calling host_pointer_to_address (which complains if | |
191 | sizeof (host pointer) != sizeof (target pointer)). | |
192 | (procfs_make_note_section): Avoid overflow in psargs string. | |
193 | ||
65554fef MS |
194 | * procfs.c (procfs_make_note_section): Make the default |
195 | implementation return an error. | |
196 | ||
197 | 2002-02-13 Rodney Brown <rbrown64@csc.com.au> | |
198 | ||
199 | * procfs.c (procfs_make_note_section): Provide a default definition | |
200 | (for alpha-dec-osf4.0f). Fix typos. | |
201 | ||
1e4d76e7 EZ |
202 | 2002-02-13 Elena Zannoni <ezannoni@redhat.com> |
203 | ||
204 | * linux-proc.c: Add include of regcache.h. | |
205 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
206 | ||
b6d1a1d5 AC |
207 | 2002-02-13 Andrew Cagney <ac131313@redhat.com> |
208 | ||
209 | From 2002-01-18 Greg McGary <greg@mcgary.org>: | |
65554fef MS |
210 | * memattr.c (create_mem_region): Disallow useless empty region. |
211 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
212 | non-overlapping. | |
b6d1a1d5 | 213 | |
6c6ea35e MC |
214 | 2002-02-13 Michael Chastain <mec@shout.net> |
215 | ||
216 | * defs.h: Kill CONST_PTR. | |
217 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
218 | * c-lang.c (c_builtin_types): Likewise. | |
219 | * ch-lang.c (ch_builtin_types): Likewise. | |
220 | * f-lang.c (f_builtin_types): Likewise. | |
221 | * language.c (unknown_builtin_types): Likewise. | |
222 | * m2-lang.c (m2_builtin_types): Likewise. | |
223 | * p-lang.c (pascal_builtin_types): Likewise. | |
224 | * scm-lang.c (c_builtin_types): Likewise. | |
225 | ||
3e0b0f48 KS |
226 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
227 | ||
228 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
229 | ||
67255d04 RE |
230 | 2002-02-13 Richard Earnshaw <rearnsha@arm.com> |
231 | ||
232 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
233 | with other related struct-returning functions. | |
234 | (arm_extract_struct_value_address): New function. | |
235 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
236 | initialize float_format, double_format and long_double_format as | |
237 | appropriate to the endianness of the target. | |
238 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
239 | (arm_use_struct_convention): Delete declaration. | |
240 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
241 | ||
079777f6 KS |
242 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
243 | ||
244 | * defs.h (core_addr_to_string_nz): New function. | |
245 | ||
34588f23 MK |
246 | 2002-02-13 Mark Kettenis <kettenis@gnu.org> |
247 | ||
248 | Apply missing bits of 2002-01-15 patch. | |
249 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
250 | (fill_fpregset): Use i387_fill_fsave. | |
251 | ||
49b563f9 KS |
252 | 2002-02-12 Keith Seitz <keiths@redhat.com> |
253 | ||
49b563f9 KS |
254 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
255 | (core_addr_to_string_nz): New function. | |
256 | ||
aeb98c60 RE |
257 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
258 | ||
259 | * arm-linux-nat.c: Really include arm-tdep.h. | |
260 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
261 | ||
65554fef MS |
262 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
263 | ||
264 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
265 | (gcore section): Ifdef for Solaris and Unixware only. | |
266 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
267 | per thread (not one prstatus or pstatus). | |
268 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
269 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
270 | once before iterating over threads. | |
271 | ||
34e8f22d RE |
272 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
273 | ||
274 | * arm-tdep.h: New file. | |
275 | * arm-tdep.c: Include arm-tdep.h. | |
276 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
277 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
278 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
279 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
280 | (arm_extract_return_value, arm_register_name): Make static. | |
281 | (arm_software_single_step): Similarly. Fix types in declaration. | |
282 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
283 | (arm_store_return_value, arm_store_struct_return): New functions. | |
284 | (arm_gdbarch_init): Register the above functions. Also register | |
285 | call_dummy_start_offset, sizeof_call_dummy_words, | |
286 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
287 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
288 | max_register_virtual_size, register_size. Set up | |
289 | prologue_cache.saved_regs here, rather than ... | |
290 | (_initialize_arm_tdep): ... here. | |
291 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
292 | declarations. | |
293 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
294 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
295 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
296 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
297 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
298 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
299 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
300 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
301 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
302 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
303 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
304 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
305 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
306 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
307 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
308 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
309 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
310 | interface. | |
311 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
312 | * remote-rdi.c remote-rdp.c: Likewise. | |
313 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
314 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
315 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
316 | definition. | |
317 | ||
318 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
319 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
320 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
321 | from non-ARM_ prefixed definitions. | |
322 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
323 | all uses of above. | |
324 | * remote-rdi.c remote-rdp.c: Likewise. | |
325 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
326 | ||
148754e5 RE |
327 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
328 | ||
329 | * arm-tdep.c (arm_frameless_function_invocation) | |
330 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
331 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
332 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
333 | (arm_pop_frame, arm_get_next_pc): Make static. | |
334 | (arm_gdbarch_init): Register above in gdbarch structure. | |
335 | (arm_read_fp): Renamed from arm_target_read_fp. | |
336 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
337 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
338 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
339 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
340 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
341 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
342 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
343 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
344 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
345 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
346 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 347 | |
434d2d4f DJ |
348 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
349 | ||
350 | * symtab.c (compare_search_syms): New function. | |
351 | (sort_search_symbols): New function. | |
352 | (search_symbols): Sort symbols after searching rather than | |
353 | before. | |
354 | ||
55241689 AC |
355 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
356 | ||
357 | * NEWS: Linux -> GNU/Linux. | |
358 | ||
028c194b AC |
359 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
360 | ||
361 | * gdbarch.sh: For for level one methods, disallow a definition | |
362 | when partially multi-arched. Add comments explaining rationale. | |
363 | * gdbarch.h: Re-generate. | |
364 | ||
6acf50cd AC |
365 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
366 | ||
367 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
368 | multi-arch partial. | |
369 | ||
50248794 AC |
370 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
371 | ||
372 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
373 | field. Use diff -u. | |
374 | * gdbarch.c: Re-generate. | |
375 | ||
c30e0066 AC |
376 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
377 | ||
9b56c5f3 | 378 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
379 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
380 | partial. | |
381 | ||
6e6d6484 AC |
382 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
383 | ||
384 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
385 | multi-arch partial. | |
386 | (PUSH_ARGUMENTS): Switch to using predefault. | |
387 | * gdbarch.c: Regenerate. | |
388 | ||
c203844d AC |
389 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
390 | ||
391 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
392 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
393 | partial. Default to default_push_arguments. | |
394 | * gdbarch.h, gdbarch.c: Regenerate. | |
395 | ||
b5a2688f AC |
396 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
397 | ||
398 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
399 | comments. | |
400 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
401 | * top.c (throw_exception, catcher): Ditto. | |
402 | * sparclet-rom.c (sparclet_load): Ditto. | |
403 | * remote.c (interrupt_query, minitelnet): Ditto. | |
404 | * remote-sds.c (interrupt_query): Ditto. | |
405 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
406 | * ocd.c (interrupt_query): Ditto. | |
407 | * monitor.c (monitor_interrupt_query): Ditto. | |
408 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
409 | * target.h: Update comment. | |
410 | ||
411 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. | |
412 | ||
2fa5c1e0 AC |
413 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
414 | ||
415 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
416 | default_double_format. | |
417 | * gdbarch.h, gdbarch.c: Re-generate. | |
418 | * findvar.c (floatformat_unknown): Delete variable definition. | |
419 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
420 | ||
da966255 JB |
421 | 2002-02-09 Jim Blandy <jimb@redhat.com> |
422 | ||
423 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
424 | prototyped function types. | |
425 | ||
123a4891 AC |
426 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
427 | ||
428 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
429 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
430 | ||
fb39c8f3 PS |
431 | 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
432 | ||
433 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
434 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
435 | now _initialize_xcoffsolib gets called again and overrides the | |
436 | commands from solib.c in a native configuration. | |
437 | ||
0b87a11d MK |
438 | 2002-02-09 Mark Kettenis <kettenis@gnu.org> |
439 | ||
440 | * doublest.c (store_typed_floating): Don't try to return a value. | |
441 | Fixes PR gdb/290. | |
442 | ||
bdc2fc72 JB |
443 | 2002-02-08 Jim Blandy <jimb@redhat.com> |
444 | ||
445 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
446 | is prototyped and has no arguments, print its argument list as | |
447 | `(void)'. | |
448 | ||
da69bbcf CD |
449 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
450 | ||
451 | * MAINTAINERS (write-after-approval): Add myself. | |
452 | (paper-trail): I've escaped! | |
453 | ||
b69571f5 CF |
454 | 2002-02-08 Christopher Faylor <cgf@redhat.com> |
455 | ||
456 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
457 | changes. | |
458 | (_initialize_check_for_gdb_ini): Ditto. | |
459 | ||
f6871398 MH |
460 | 2002-02-08 Martin M. Hunt <hunt@redhat.com> |
461 | ||
462 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
463 | xaprintf -> xasprintf. | |
464 | ||
4e52d31c PM |
465 | 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr> |
466 | ||
467 | * win32-nat.c: Remove use of printf and sprintf functions. | |
468 | ||
39bbf761 RE |
469 | 2002-02-08 Richard Earnshaw <rearnsha@arm.com> |
470 | ||
471 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
472 | (arm_push_arguments): Likewise. | |
473 | (arm_gdbarch_init): New function. | |
474 | (_initialize_arm_tdep): Call it. | |
475 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
476 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
477 | (FRAME_CHAIN_VALID): Delete. | |
478 | (arm_frame_chain_valid): Delete declaration. | |
479 | (PUSH_ARGUMENTS): Delete. | |
480 | (arm_push_arguments): Delete declaration. | |
481 | (CALL_DUMMY_P): Delete. | |
482 | ||
9c9532c9 CV |
483 | 2002-02-08 Andrew Cagney <ac131313@redhat.com> |
484 | Corinna Vinschen <vinschen@redhat.com> | |
485 | ||
486 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
487 | on builtin float types. | |
488 | ||
4e8f7a8b DJ |
489 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
490 | ||
491 | * utils.c: Include <curses.h> before "bfd.h". | |
492 | * tui/tui-hooks.c: Likewise. | |
493 | * tui/tui.c: Likewise. | |
494 | * tui/tuiCommand.c: Likewise. | |
495 | * tui/tuiData.c: Likewise. | |
496 | * tui/tuiDataWin.c: Likewise. | |
497 | * tui/tuiDisassem.c: Likewise. | |
498 | * tui/tuiGeneralWin.c: Likewise. | |
499 | * tui/tuiIO.c: Likewise. | |
500 | * tui/tuiLayout.c: Likewise. | |
501 | * tui/tuiRegs.c: Likewise. | |
502 | * tui/tuiSource.c: Likewise. | |
503 | * tui/tuiSourceWin.c: Likewise. | |
504 | * tui/tuiStack.c: Likewise. | |
505 | * tui/tuiWin.c: Likewise. | |
506 | ||
cd4bffcf EZ |
507 | 2002-02-07 Elena Zannoni <ezannoni@redhat.com> |
508 | ||
509 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
510 | to include space for pseudoregs as well. Update loops accordingly. | |
511 | (sh_fp_frame_init_saved_regs): Ditto. | |
512 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
513 | ||
26806ce2 AC |
514 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
515 | ||
516 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
517 | Add Richard Earnshaw to Arm maintainers. | |
518 | ||
97fdab62 AC |
519 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
520 | ||
a6b98203 AC |
521 | * defs.h (warning_begin): Delete declaration. |
522 | ||
97fdab62 AC |
523 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
524 | Delete macro. | |
525 | ||
78b29b40 MS |
526 | 2002-02-07 Michael Snyder <msnyder@redhat.com> |
527 | ||
528 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): | |
529 | Logic bug, remove misplaced else. | |
530 | ||
d8849953 KD |
531 | 2002-02-07 Klee Dienes <klee@apple.com> |
532 | ||
533 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
534 | characters that need to be quoted when building a string for the | |
535 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
536 | when trying to evaluate "str!str". | |
537 | ||
095778a0 NC |
538 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
539 | ||
540 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
541 | defined. | |
542 | ||
1900040c MS |
543 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
544 | ||
545 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
546 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
547 | ||
548 | * breakpoint.c (create_internal_breakpoint): New function. | |
549 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
550 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
551 | (create_thread_event_breakpoint): Ditto. | |
552 | (create_solib_event_breakpoint): Ditto. | |
553 | (create_overlay_event_breakpoint): New function. | |
554 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
555 | (update_breakpoints_after_exec): Delete and re-initialize | |
556 | overlay event breakpoints after an exec. Add FIXME comment | |
557 | about longjmp breakpoint. | |
558 | (print_it_typical): Ignore overlay event breakpoints. | |
559 | (print_one_breakpoint): Ditto. | |
560 | (mention): Ditto. | |
561 | (bpstat_what): Do not stop for overlay event breakpoints. | |
562 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
563 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
564 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
565 | ||
566 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
567 | (overlay_manual_command): Disable overlay breakpoints. | |
568 | (overlay_off_command): Disable overlay breakpoints. | |
569 | ||
082fc60d RE |
570 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
571 | ||
572 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
573 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
574 | to here from config/tm-arm.h. | |
575 | (coff_sym_is_thumb): Make static. | |
576 | (arm_elf_make_msymbol_special): New function. | |
577 | (arm_coff_make_msymbol_special): New function. | |
578 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
579 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
580 | (coff_sym_is_thumb): Delete declaration. | |
581 | (arm_elf_make_msymbol_special): Declare. | |
582 | (arm_coff_make_msymbol_special): Declare. | |
583 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
584 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
585 | ||
039c5766 RE |
586 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
587 | ||
588 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
589 | ||
590 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> | |
591 | ||
592 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
593 | * gdbarch.c gdbarch.h: Regenerate. | |
594 | * arch-utils.c (default_print_float_info): New function. | |
595 | * arch-utils.h (default_print_float_info): Prototype it. | |
596 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
597 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
598 | (PRINT_FLOAT_INFO): Document it. | |
599 | ||
600 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
601 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
602 | (PRINT_FLOAT_INFO): Define. | |
603 | ||
58fa08f0 PM |
604 | 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
605 | ||
606 | * win32-nat.c (_initialize_check_for_gdb_ini): | |
607 | Add typecast to sprintf argument to suppress a warning. | |
608 | ||
7393af7c PM |
609 | 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr> |
610 | ||
58fa08f0 | 611 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
612 | to allow easier handling of pass state. |
613 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
614 | that gives exception name and address. | |
615 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
616 | and set last_sig value to ourstatus->value.sig. Some missing | |
617 | exceptions added. | |
618 | (child_continue): Correctly report continue_status. | |
619 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
620 | TARGET_SIGNAL_0 (new default value). | |
621 | (child_resume): consider sig argument passed to decide if | |
622 | the exception should be passed to debuggee or not. | |
623 | ||
6af4589c MS |
624 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
625 | ||
626 | * regcache.c (fetch_register): Call target_fetch_register | |
627 | only if we don't call FETCH_PSEUDO_REGISTER. | |
628 | (store_register): Call target_store_register only if we | |
629 | don't call STORE_PSEUDO_REGISTER. | |
630 | ||
a2cf933a EZ |
631 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
632 | ||
633 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
634 | ELF_MAKE_MSYMBOL_SPECIAL. | |
635 | * gdbarch.c, gdbarch.h: Regenerate. | |
636 | * arch-utils.c (default_make_msymbol_special): New function. | |
637 | * arch-utils.h (default_make_msymbol_special): Export. | |
638 | * elfread.c (elf_symtab_read): Compile use of | |
639 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
640 | multiarched. | |
641 | * coffread.c (coff_symtab_read): Ditto, for | |
642 | COFF_MAKE_MSYMBOL_SPECIAL. | |
643 | ||
6bb7be43 JB |
644 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
645 | ||
646 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
647 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
648 | the appropriate truncation for target addresses, even when | |
649 | CORE_ADDR is larger than a target address. | |
650 | ||
e18651ec DJ |
651 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
652 | ||
653 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
654 | to (int *). | |
655 | ||
6b2725be DJ |
656 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
657 | ||
658 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
659 | code. | |
660 | ||
fca9e603 DJ |
661 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
662 | ||
663 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
664 | ||
6c537a52 DJ |
665 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
666 | ||
667 | * gdbserver/linux-low.c: Remove unused include files. | |
668 | ||
d844cde6 DJ |
669 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
670 | ||
671 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
672 | (read_inferior_memory): Use it. | |
673 | (write_inferior_memory): Likewise. | |
674 | ||
d07c63e7 DJ |
675 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
676 | ||
677 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
678 | grubbing through sys_errlist. | |
679 | ||
da6d8c04 DJ |
680 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
681 | ||
682 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
683 | ||
5b421780 PM |
684 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
685 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
686 | ||
9f60d481 AC |
687 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
688 | ||
689 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
690 | (do_sfunc, set_cmd_sfunc): New functions. | |
691 | ||
692 | * command.h (struct cmd_list_element): Add field func. | |
693 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
694 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
695 | * cli/cli-decode.h: Ditto. | |
696 | ||
697 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
698 | (help_all, help_cmd_list): Ditto. | |
699 | (find_cmd, complete_on_cmdlist): Ditto. | |
700 | * top.c (execute_command): Ditto. | |
701 | ||
702 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
703 | function.sfunc. | |
704 | ||
705 | * infcmd.c (notice_args_read): Fix function signature. | |
706 | ||
707 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
708 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
709 | * utils.c (initialize_utils): Ditto. | |
710 | * maint.c (_initialize_maint_cmds): Ditto. | |
711 | * infrun.c (_initialize_infrun): Ditto. | |
712 | * demangle.c (_initialize_demangler): Ditto. | |
713 | * remote.c (add_packet_config_cmd): Ditto. | |
714 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
715 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
716 | * proc-api.c (_initialize_proc_api): Ditto. | |
717 | * kod.c (_initialize_kod): Ditto. | |
718 | * valprint.c (_initialize_valprint): Ditto. | |
719 | * top.c (init_main): Ditto. | |
720 | * infcmd.c (_initialize_infcmd): Ditto. | |
721 | * corefile.c (_initialize_core): Ditto. | |
722 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
723 | * arch-utils.c (initialize_current_architecture): Ditto. | |
724 | (_initialize_gdbarch_utils): Ditto. | |
725 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
726 | ||
727 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
728 | * wince.c (_initialize_inftarg): Ditto. | |
729 | * symfile.c (_initialize_symfile): Ditto. | |
730 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
731 | * language.c (_initialize_language): Ditto. | |
732 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
733 | ||
f9ba0717 MS |
734 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
735 | ||
736 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
737 | ||
0c74b2a7 DJ |
738 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
739 | ||
740 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
741 | Add rules for building the register data files. | |
742 | ||
c638789f DJ |
743 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
744 | ||
745 | * regformats/regdat.sh: Add braces to the definition of | |
746 | expedite_regs_${arch}. | |
747 | ||
db253027 DJ |
748 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
749 | ||
750 | * regformats/regdef.h (struct reg): Add comment describing the | |
751 | requirements for offset and size fields. | |
752 | ||
206be19c AS |
753 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
754 | ||
755 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
756 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
757 | ||
181c1381 RE |
758 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
759 | ||
760 | * gdbarch.sh (copyright): Update years in generated header. | |
761 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 762 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
763 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
764 | * dbxread.c: Likewise. | |
765 | * dwarfread.c: Likewise. | |
766 | * elfread.c: Likewise. | |
767 | * somread.c: Likewise. | |
768 | ||
769 | * arm-tdep.c (arm_smash_text_address): New function. | |
770 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
771 | ||
fa4ba8da PM |
772 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
773 | ||
774 | Add support for hardware watchpoints on win32 native. | |
775 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of | |
776 | CONTEXT_DEBUG_REGISTERS. | |
777 | (dr variable): New variable. Static array containing a local copy | |
778 | of debug registers. | |
779 | (debug_registers_changed): New variable. Reflects when debug registers | |
780 | are changed and need to be written to inferior. | |
781 | (debug_registers_used): New variable. Reflects when any debug register | |
782 | was set, used when new threads are created. | |
783 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
784 | i386-nat code. | |
785 | (thread_rec): Set dr array if id is the thread of current_event . | |
786 | (child_continue, child_resume): Change the debug registers for all | |
787 | threads if debug_registers_changed. | |
788 | (child_add_thread): Change the debug registers if debug_registers_used. | |
789 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
790 | Link nm.h to new nm-cygwin.h file. | |
791 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
792 | of hardware registers. | |
793 | ||
a73c86fb AC |
794 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
795 | ||
796 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
797 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
798 | <ac131313@redhat.com> IEEE_FLOAT removal. | |
799 | ||
acf5ed49 DJ |
800 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
801 | ||
802 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
803 | cp_print_class_method. | |
804 | * valops.c (search_struct_method): If there is only one method | |
805 | and args is NULL, return that method. | |
806 | ||
493d28d5 DJ |
807 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
808 | ||
809 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
810 | accessing tag_name directly. | |
811 | ||
7495dfdb DJ |
812 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
813 | ||
814 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
815 | of accessing tag_name directly. | |
816 | ||
dd6bda65 DJ |
817 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
818 | ||
819 | PR gdb/280 | |
820 | * gdbtypes.c (replace_type): New function. | |
821 | * gdbtypes.h (replace_type): Add prototype. | |
822 | * stabsread.c (read_type): Use replace_type. | |
823 | ||
88fe217c RE |
824 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
825 | ||
826 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
827 | ||
e5d66720 PS |
828 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
829 | ||
830 | * breakpoint.c (break_at_finish_command): Really export. | |
831 | (break_at_finish_at_depth_command): Ditto. | |
832 | (tbreak_at_finish_command): Ditto. | |
833 | * hppa-tdep.c: Include completer.h. | |
834 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
835 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
836 | ||
fffee0be AC |
837 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
838 | ||
839 | * utils.c (do_write): New function. | |
840 | (error_stream): Rewrite combining the code from error_begin and | |
841 | verror. | |
842 | (verror): Rewrite using error_stream. | |
843 | (error_begin): Delete function. | |
844 | ||
255e7dbf AC |
845 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
846 | ||
847 | * utils.c (error_begin): Make static. | |
848 | * defs.h (error_begin): Delete declaration. | |
849 | ||
850 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
851 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
852 | cplusplus_hint and return_to_top_level. | |
853 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
854 | and return_to_top_level. | |
855 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
856 | ||
ddfe3c15 AC |
857 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
858 | ||
859 | * language.h (type_error, range_error): Make string parameter | |
860 | constant. | |
861 | * language.c (warning_pre_print): Delete extern declaration. | |
862 | * dwarfread.c (warning_pre_print): Ditto. | |
863 | * language.c (type_error, range_error): Rewrite to use verror and | |
864 | vwarning instead of warning_begin. | |
865 | ||
03ac34d5 MS |
866 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
867 | ||
261c4ca2 MS |
868 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
869 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 870 | |
e00d1dc8 AC |
871 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
872 | ||
873 | * command.h (NO_FUNCTION): Delete macro. | |
874 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
875 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
876 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
877 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
878 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
879 | ||
76b79d6e DJ |
880 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
881 | ||
882 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
883 | Update ``this'' pointer when calling virtual functions. | |
884 | ||
799f9e91 MS |
885 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
886 | ||
c7bd442c | 887 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
888 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
889 | ||
3cf384d4 DJ |
890 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
891 | ||
892 | * regformats/reg-arm.dat: New file. | |
893 | * regformats/reg-i386.dat: New file. | |
894 | * regformats/reg-ia64.dat: New file. | |
895 | * regformats/reg-m68k.dat: New file. | |
896 | * regformats/reg-mips.dat: New file. | |
897 | * regformats/reg-ppc.dat: New file. | |
898 | * regformats/reg-sh.dat: New file. | |
899 | * regformats/regdef.h: New file. | |
900 | * regformats/regdat.sh: New file. | |
901 | ||
0defa245 RE |
902 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
903 | ||
904 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
905 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
906 | (arm_frame_num_args): New function. | |
907 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
908 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
909 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
910 | ||
405f26e6 MS |
911 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
912 | ||
502fd408 MS |
913 | * breakpoint.c (break_at_finish_command): Export. |
914 | (break_at_finish_at_depth_command): Export. | |
915 | (tbreak_at_finish_command): Export. | |
916 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
917 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
918 | "tbreak" commands, which are HPPA specific. | |
919 | ||
7d35e135 MS |
920 | * printcmd.c (disassemble_command): Remove an ancient |
921 | artifact of an old merge. | |
922 | ||
d874f1e2 MS |
923 | * symfile.h (enum overlay_debugging_state): |
924 | Define enum constant values for overlay mode. | |
925 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
926 | (overlay_is_mapped, overlay_auto_command, | |
927 | overlay_manual_command): Ditto. | |
928 | ||
9f04af04 MS |
929 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
930 | breakpoint_here_p, breakpoint_inserted_here_p, | |
931 | breakpoint_thread_match, bpstat_stop_status, | |
932 | describe_other_breakpoints, check_duplicates, clear_command): | |
933 | Coding standard fixes. | |
934 | ||
8add0441 | 935 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 936 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
937 | code: check bfd SEC_READONLY flag for section. |
938 | ||
e351066e AC |
939 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
940 | ||
7d35e135 | 941 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 942 | |
8a48e967 DJ |
943 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
944 | ||
945 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
946 | data symbols, since we search based on textlow and texthigh. | |
947 | (find_pc_sect_symtab): Likewise. | |
948 | ||
f5a96129 AC |
949 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
950 | ||
951 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
952 | * utils.c (vwarning): New function. |
953 | (warning): Call vwarning. | |
954 | (warning_begin): Delete function. | |
955 | ||
956 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
957 | the warning message. | |
958 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
959 | warning_begin. | |
960 | ||
cefd4ef5 MS |
961 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
962 | ||
1a703748 MS |
963 | * NEWS: Mention "set trust-readonly-sections" command. |
964 | Mention generate-core-file command. | |
cefd4ef5 | 965 | |
3a11626d MS |
966 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
967 | ||
968 | * target.c: New command, "set trust-readonly-sections on". | |
969 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
970 | by reading them from the object file instead of from the target. | |
971 | (initialize_targets): Register command "set trust-readonly-sections". | |
972 | ||
d1c7e53b AC |
973 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
974 | ||
975 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
976 | pseudo-regs using a single loop. | |
977 | ||
e2c9a72c AC |
978 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
979 | ||
980 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
981 | ||
69824b4e MK |
982 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
983 | ||
984 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
985 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
986 | * i386v4-nat.c: Include i387-nat.h. | |
987 | (supply_fpregset): Use i387_supply_fsave. | |
988 | (fill_fpregset): Use i387_fill_fsave. | |
989 | ||
6eb69eab RE |
990 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
991 | ||
992 | * arm-tdep.c (arm_call_dummy_words): Define. | |
993 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
994 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
995 | (CALL_DUMMY_WORDS): Define. | |
996 | (arm_call_dummy_words): Declare. | |
997 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
998 | (arm_linux_call_dummy_words): Declare. | |
999 | ||
9852326a AS |
1000 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
1001 | ||
1002 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
1003 | instead of referencing registers[] directly. | |
1004 | ||
977a3030 AC |
1005 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
1006 | ||
1007 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
1008 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
1009 | ||
2076c72b MS |
1010 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
1011 | ||
1012 | * regcache.c (legacy_read_register_gen): Need to be able to | |
1013 | read pseudo-register as well as real register. | |
1014 | (legacy_write_register_gen): Ditto. | |
1015 | ||
8fcc723b AC |
1016 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
1017 | ||
1018 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
1019 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
1020 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
1021 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
1022 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
1023 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
1024 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
1025 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
1026 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
1027 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
1028 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
1029 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
1030 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
1031 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
1032 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
1033 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
1034 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
1035 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
1036 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
1037 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
1038 | ||
afe64c1a AC |
1039 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
1040 | ||
1041 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
1042 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
1043 | (initialize_current_architecture): Update target_byte_order using | |
1044 | information from BFD. | |
afe64c1a AC |
1045 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
1046 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. | |
1047 | ||
75bc7ddf AC |
1048 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
1049 | ||
1050 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
1051 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
1052 | ||
1053 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
1054 | #ifdef INVALID_FLOAT. | |
1055 | * infcmd.c (do_registers_info): Ditto. | |
1056 | * values.c (unpack_double): Ditto. Add comment. | |
1057 | ||
1058 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
1059 | already commented out. | |
1060 | ||
0280a90a AS |
1061 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
1062 | ||
1063 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
1064 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
1065 | registers and add support for PTRACE_GETREGS. | |
1066 | ||
7072a954 AC |
1067 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
1068 | ||
1069 | GDB 5.1.1 released from 5.1 branch. | |
1070 | * NEWS: Add 5.1.1 news. | |
1071 | * README: Sync with 5.1 branch. | |
1072 | ||
86f902e0 FF |
1073 | 2002-01-23 Fred Fish <fnf@redhat.com> |
1074 | ||
1075 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
1076 | stabstring on initial malloc. Reallocing will copy it for us, | |
1077 | if necessary. | |
1078 | ||
8af51c36 EZ |
1079 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
1080 | ||
1081 | * Makefile.in (hpread_h): Delete. | |
1082 | (HFILES_NO_SRCDIR): Remove hpread.h. | |
1083 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
1084 | (hpread.o): Update dependencies. | |
1085 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
1086 | ||
1087 | * hp-psymtab-read.c: Remove file. | |
1088 | * hp-symtab-read.c: Remove file. | |
1089 | * hpread.h: Remove file. | |
1090 | ||
1091 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
1092 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
1093 | January 1999. | |
1094 | ||
1095 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
1096 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, | |
1097 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): | |
1098 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
1099 | ||
dc5cfeb6 EZ |
1100 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
1101 | ||
1102 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
1103 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
1104 | variable and use that, instead of calling the function several | |
1105 | times. | |
1106 | ||
ea87b71b AO |
1107 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
1108 | ||
1109 | * configure.host: Accept sparcv9 as alias for sparc64. | |
1110 | * configure.tgt: Likewise. | |
1111 | ||
13fc0c2f KB |
1112 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
1113 | ||
1114 | * solib-aix5.c (build_so_list_from_mapfile) | |
1115 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
1116 | arguments is not reversed. | |
1117 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
1118 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
1119 | ||
7bd872fe EZ |
1120 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
1121 | ||
1122 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
1123 | modified version of obsolete sh_fetch_pseudo_register. | |
1124 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
1125 | (sh4_register_read): New function. | |
1126 | (sh_pseudo_register_write): New function. Renamed and modified | |
1127 | version of obsolete sh_store_pseudo_register. | |
1128 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
1129 | (sh4_register_write): New function. | |
1130 | (sh_gdbarch_init): Remove setting of gdbarch function | |
1131 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
1132 | register_convert_to_raw, register_convert_to_virtual, | |
1133 | register_convertible. | |
1134 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
1135 | taken care by architecture specific functions | |
1136 | register_read/register_write. | |
1137 | (sh_sh4_register_convert_to_virtual): Make static. | |
1138 | (sh_sh4_register_convert_to_raw): Ditto. | |
1139 | ||
069e84fd AC |
1140 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
1141 | ||
1142 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
1143 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
1144 | ||
1145 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
1146 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
1147 | builtin_type_ieee_double_little, | |
1148 | builtin_type_ieee_double_littlebyte_bigword, | |
1149 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
1150 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
1151 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
1152 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
1153 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
1154 | ||
211a4f69 CV |
1155 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
1156 | ||
1157 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
1158 | parameter. Set frameless flag if it exists and depended of | |
1159 | whether the scanned function is frameless or not. | |
1160 | (xstormy16_skip_prologue): If function is frameless, return | |
1161 | result of xstormy16_scan_prologue(). | |
1162 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
1163 | call. | |
1164 | ||
f81353e4 EZ |
1165 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
1166 | ||
1167 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
1168 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
1169 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
1170 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
1171 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
1172 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
1173 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
1174 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
1175 | gdbarch_tdep() just once, assign result to variable and use that, | |
1176 | instead of calling the function several times. | |
1177 | ||
63c73a17 MK |
1178 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
1179 | ||
1180 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
1181 | macros instead of LAST_FPU_CTRL_REGNUM. | |
1182 | (store_register): Likewise. | |
1183 | ||
39ad761d JB |
1184 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
1185 | ||
1186 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
1187 | is up-to-date before running the program, not just when a program | |
1188 | exits. | |
1189 | ||
3d74b771 FF |
1190 | 2002-01-21 Fred Fish <fnf@redhat.com> |
1191 | ||
1192 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
1193 | when we have found all instructions we are looking for. | |
1194 | ||
966fbf70 RE |
1195 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
1196 | ||
1197 | * arm-tdep.c (arm_register_name): New function. | |
1198 | (arm_registers_names): Make static. | |
1199 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
1200 | (arm_register_name): Declare. | |
1201 | (REGISTER_NAME): Use it. | |
1202 | ||
c3b4394c RE |
1203 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
1204 | Kevin Buettner <kevinb@redhat.com> | |
1205 | ||
1206 | Convert arm targets to new FRAME interface. | |
1207 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
1208 | (arm_frame_find_save_regs): Delete. | |
1209 | (arm_frame_init_saved_regs): New. | |
1210 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
1211 | Allocate extra_info as required. Convert all uses of fsr.regs | |
1212 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
1213 | to use extra_info. | |
1214 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
1215 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
1216 | (check_prologue_cache, save_prologue_cache): Likewise. | |
1217 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
1218 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
1219 | (FRAME_FIND_SAVED_REGS): Delete. | |
1220 | (arm_frame_find_saved_regs): Delete prototype. | |
1221 | (arm_frame_init_saved_regs): New prototype. | |
1222 | (FRAME_INIT_SAVED_REGS): Define. | |
1223 | ||
61d99182 AC |
1224 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1225 | ||
1226 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
1227 | ||
6aaea291 AC |
1228 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1229 | ||
1230 | From Jeff Law <law@redhat.com>: | |
1231 | * infttrace.c: Include <sys/pstat.h>. | |
1232 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
1233 | exec file if the ttrace equivalent fails. | |
1234 | ||
15f698d2 AC |
1235 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1236 | ||
1237 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
1238 | (closeLogFile): Ditto. | |
1239 | ||
f86ddd7c MC |
1240 | 2002-01-20 Michael Chastain <mec@shout.net> |
1241 | ||
1242 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
1243 | ||
904507ce AC |
1244 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1245 | ||
1246 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
1247 | Zannoni and Eli Zaretskii. | |
1248 | ||
d7f0b9ce DJ |
1249 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
1250 | ||
1251 | * buildsym.c: Update copyright years. | |
1252 | * c-typeprint.c: Likewise. | |
1253 | * dwarf2read.c: Likewise. | |
1254 | * f-typeprint.c: Likewise. | |
1255 | * gdbtypes.c: Likewise. | |
1256 | * gdbtypes.h: Likewise. | |
1257 | * hp-symtab-read.c: Likewise. | |
1258 | * hpread.c: Likewise. | |
1259 | * mdebugread.c: Likewise. | |
1260 | * p-typeprint.c: Likewise. | |
1261 | ||
3fd3d7d2 AC |
1262 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1263 | ||
1264 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
1265 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
1266 | byte-order selectable. | |
1267 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
1268 | * arch-utils.c: Ditto. | |
1269 | (set_endian): Ditto. | |
1270 | (set_endian_from_file): Ditto. | |
1271 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
1272 | * gdbarch.sh: Ditto. | |
1273 | * gdbarch.h: Re-generate. | |
1274 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1275 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1276 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1277 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1278 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1279 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1280 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1281 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
1282 | macro definition. | |
1283 | * config/mips/tm-wince.h: Remove #undef of macro | |
1284 | TARGET_BYTE_ORDER_SELECTABLE. | |
1285 | * config/sh/tm-wince.h: Ditto. | |
1286 | ||
b02dede2 DJ |
1287 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
1288 | ||
1289 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
1290 | member function fields. Add accessor macro | |
1291 | TYPE_FN_FIELD_ARTIFICIAL. | |
1292 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
1293 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
1294 | functions. | |
1295 | ||
c3643761 DJ |
1296 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
1297 | ||
1298 | * f-typeprint.c: Delete unused function f_type_print_args. | |
1299 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
1300 | ||
8176bb6d DJ |
1301 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
1302 | ||
1303 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
1304 | comment. Add ``artificial'' to ``union field_location''. | |
1305 | ||
1306 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
1307 | ||
1308 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
1309 | * mdebugread.c (parse_symbol): Likewise. | |
1310 | * stabsread.c (define_symbol): Likewise. | |
1311 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
1312 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
1313 | (hpread_doc_function_type): Likewise. | |
1314 | * hpread.c (hpread_function_type): Likewise. | |
1315 | ||
7fd60527 AC |
1316 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1317 | ||
1318 | * configure.in (host_makefile_frag): Only require a host makefile | |
1319 | fragment when a native build. | |
1320 | * configure: Re-generate. | |
1321 | ||
c2f05ac9 AC |
1322 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
1323 | ||
1324 | * doublest.h (floatformat_from_type): Declare. | |
1325 | * doublest.c (floatformat_from_type): New function. | |
1326 | (convert_typed_floating): Use. | |
1327 | ||
1328 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
1329 | call to function floatformat_from_type. | |
1330 | ||
1331 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
1332 | * gdbarch.h, gdbarch.c: Re-generate. | |
1333 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
1334 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
1335 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
1336 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
1337 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
1338 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
1339 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
1340 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
1341 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
1342 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
1343 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
1344 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
1345 | ||
1346 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
1347 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
1348 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
1349 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1350 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1351 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1352 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1353 | ||
abf22e64 AJ |
1354 | 2002-01-20 Jiri Smid <smid@suse.cz> |
1355 | ||
1356 | * configure.host, configure.tgt: Support x86-64. | |
1357 | * NEWS: Note new target x86-64. | |
1358 | ||
b7c4cbf8 AJ |
1359 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
1360 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
1361 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
1362 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
1363 | x86-64-linux-nat.o): Fix dependencies. | |
1364 | ||
82600034 AC |
1365 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
1366 | ||
1367 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
1368 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
1369 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
1370 | * config/sparc/xm-sun4os4.h: Delete file. | |
1371 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 1372 | |
bbe5c628 AC |
1373 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
1374 | ||
1375 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
1376 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
1377 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
1378 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
1379 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
1380 | * config/sparc/xm-sparclynx.h: Delete file. | |
1381 | * config/m68k/xm-m68klynx.h: Delete file. | |
1382 | * config/i386/xm-i386lynx.h: Delete file. | |
1383 | * config/xm-lynx.h: Delete file. | |
1384 | * config/djgpp/fnchange.lst: Update. | |
1385 | ||
f8453e34 JT |
1386 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
1387 | ||
1388 | * alpha-tdep.c (alpha_register_byte): New function. | |
1389 | (alpha_register_raw_size): Ditto. | |
1390 | (alpha_register_virtual_size): Ditto. | |
1391 | (alpha_skip_prologue_internal): Renamed from | |
1392 | alpha_skip_prologue. | |
1393 | (alpha_skip_prologue): New version that calls | |
1394 | alpha_skip_prologue_internal. | |
1395 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
1396 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
1397 | second argument from alpha_skip_prologue. | |
1398 | (REGISTER_BYTE): Use alpha_register_byte. | |
1399 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
1400 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
1401 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
1402 | generic_frameless_function_invocation_not. | |
1403 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
1404 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
1405 | ||
52d9e613 AC |
1406 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
1407 | ||
1408 | * config/mips/xm-news-mips.h: Delete file. | |
1409 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
1410 | ||
1411 | * config/m88k/xm-m88k.h: Delete file. | |
1412 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
1413 | * config/m88k/xm-delta88v4.h: Ditto. | |
1414 | * config/m88k/xm-delta88.h: Ditto. | |
1415 | ||
1416 | * config/alpha/xm-fbsd.h: Delete file. | |
1417 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
1418 | ||
1419 | * config/sparc/xm-sparc.h: Delete file. | |
1420 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
1421 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
1422 | * config/sparc/xm-sun4os4.h: Ditto. | |
1423 | * config/sparc/xm-linux.h: Ditto. | |
1424 | ||
1425 | * config/i386/xm-windows.h: Delete file. | |
1426 | ||
2d1b2124 AC |
1427 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
1428 | ||
1429 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
1430 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
1431 | ||
ee1f65f0 JT |
1432 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
1433 | ||
1434 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
1435 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
1436 | (CALL_DUMMY_P): Define. | |
1437 | (CALL_DUMMY_WORDS): Define. | |
1438 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
1439 | ||
98081e55 PB |
1440 | 2002-01-19 Per Bothner <per@bothner.com> |
1441 | ||
1442 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
1443 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
1444 | ||
0d056799 JT |
1445 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
1446 | ||
1447 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
1448 | (alpha_init_frame_pc_first): Ditto. | |
1449 | (alpha_fix_call_dummy): Ditto. | |
1450 | (alpha_store_struct_return): Ditto. | |
1451 | (alpha_extract_struct_value_address): Ditto. | |
1452 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
1453 | alpha_register_virtual_type. | |
1454 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
1455 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
1456 | alpha_extract_struct_value_address. | |
1457 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
1458 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
1459 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
1460 | ||
4604bcad MK |
1461 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
1462 | ||
1463 | * i386gnu-nat.c: Include "i386-tdep.h". | |
1464 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
1465 | point states such that it doesn't require FP7_REGNUM. | |
1466 | ||
140f9984 JT |
1467 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1468 | ||
abf22e64 AJ |
1469 | * alpha-tdep.c (frame_extra_info): New. |
1470 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
1471 | frame->extra_info. |
1472 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
1473 | (alpha_frame_saved_pc): Use frame->extra_info. |
1474 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
1475 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
1476 | (init_extra_frame_info): Rename to... |
1477 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 1478 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
1479 | (alpha_frame_locals_address): Ditto. |
1480 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 1481 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
1482 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
1483 | alpha_frame_args_address. | |
abf22e64 | 1484 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 1485 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
1486 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
1487 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
1488 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
1489 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
1490 | ||
d734c450 JT |
1491 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1492 | ||
1493 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
1494 | (alpha_cannot_fetch_register): Ditto. | |
1495 | (alpha_cannot_store_register): Ditto. | |
1496 | (alpha_register_convertible): Ditto. | |
1497 | (alpha_use_struct_convention): Ditto. | |
1498 | * config/alpha/tm-alpha.h: Update copyright years. | |
1499 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
1500 | (INNER_THAN): Use core_addr_lessthan. | |
1501 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
1502 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
1503 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
1504 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
1505 | (FRAME_CHAIN): Remove unnecessary cast. | |
1506 | ||
b4ceaee6 AC |
1507 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
1508 | ||
1509 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
1510 | obsolete. | |
1511 | ||
0a65a603 AC |
1512 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
1513 | ||
1514 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
1515 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
1516 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
1517 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
1518 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
1519 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
1520 | * x86-64-linux-nat.c: Ditto. | |
1521 | ||
636a6dfc JT |
1522 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1523 | ||
abf22e64 | 1524 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
1525 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
1526 | (REGISTER_NAME): Define. | |
1527 | ||
acceddb6 JT |
1528 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1529 | ||
1530 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
1531 | ||
ec32e4be JT |
1532 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1533 | ||
1534 | * alpha-tdep.c: Update copyright years. | |
1535 | (alpha_next_pc): New function. | |
1536 | (alpha_software_single_step): Ditto. | |
1537 | * config/alpha/tm-alpha.h: Add prototype for | |
1538 | alpha_software_single_step. | |
1539 | ||
e771a871 JT |
1540 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
1541 | ||
1542 | * alphabsd-nat.c: Update copyright years. | |
1543 | (fill_gregset): Use regcache_collect. | |
1544 | (fill_fpregset): Likewise. | |
1545 | (fetch_inferior_registers): Only fetch integer registers | |
1546 | if requested to do so. | |
1547 | (store_inferior_registers): Only store integer registers | |
1548 | if requested to do so. | |
1549 | ||
7708fa01 AC |
1550 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
1551 | ||
1552 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
1553 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
1554 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
1555 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
1556 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
1557 | * config/arm/linux.mh (XDEPFILES): Delete. | |
1558 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
1559 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
1560 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
1561 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
1562 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
1563 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
1564 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
1565 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
1566 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
1567 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
1568 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
1569 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
1570 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
1571 | * config/i386/go32.mh (XDEPFILES): Delete. | |
1572 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
1573 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
1574 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
1575 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
1576 | * config/i386/linux.mh (XDEPFILES): Delete. | |
1577 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
1578 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
1579 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
1580 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
1581 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
1582 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
1583 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
1584 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
1585 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
1586 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
1587 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
1588 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
1589 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
1590 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
1591 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
1592 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
1593 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
1594 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
1595 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
1596 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
1597 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
1598 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
1599 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
1600 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
1601 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
1602 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
1603 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
1604 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
1605 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
1606 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
1607 | * config/mips/linux.mh (XDEPFILES): Delete. | |
1608 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
1609 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
1610 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
1611 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
1612 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
1613 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
1614 | (NATDEPFILES): Move core-aout.o to here. | |
1615 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
1616 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
1617 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
1618 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
1619 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
1620 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
1621 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
1622 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
1623 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
1624 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
1625 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
1626 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
1627 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
1628 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
1629 | * config/s390/s390.mh (XDEPFILES): Delete. | |
1630 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
1631 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
1632 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
1633 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
1634 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
1635 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
1636 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
1637 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
1638 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
1639 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
1640 | ||
375fc983 AC |
1641 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
1642 | ||
1643 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
1644 | Update queries to match. Default to quit and dump core. | |
1645 | ||
8926118c AC |
1646 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
1647 | ||
1648 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
1649 | copyright. | |
1650 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
1651 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
1652 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
1653 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
1654 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
1655 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
1656 | * mi/mi-main.c:Ditto. | |
1657 | ||
1658 | * stack.c, symfile.c: Update copyright. | |
1659 | ||
45b7b345 DJ |
1660 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
1661 | ||
db728ff7 DJ |
1662 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
1663 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
1664 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
1665 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 1666 | |
db728ff7 DJ |
1667 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
1668 | ||
1669 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
1670 | * gdbserver/low-lynx.c (myattach): Likewise. | |
1671 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
1672 | * gdbserver/low-sim.c (myattach): Likewise. | |
1673 | * gdbserver/low-sparc.c (myattach): Likewise. | |
1674 | * gdbserver/low-sun3.c (myattach): Likewise. | |
1675 | ||
1676 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 1677 | |
db728ff7 | 1678 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
1679 | (main): Handle "--attach". |
1680 | ||
8de3c354 AC |
1681 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
1682 | ||
1683 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
1684 | maintainer. | |
1685 | ||
b0129042 DJ |
1686 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
1687 | ||
1688 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
1689 | check for non-conversion operators. | |
1690 | ||
ba8679fb | 1691 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
1692 | |
1693 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
1694 | (read_mapping): New function, abstract and re-use code. | |
1695 | (linux_find_memory_regions): Use new func read_mapping. | |
1696 | (linux_info_proc_cmd): New function, implement "info proc". | |
1697 | (_initialize_linux_proc): Add new command "info proc". | |
1698 | ||
e4f9b4d5 MS |
1699 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
1700 | ||
1701 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
1702 | instead of manipulating bfd structure members directly. | |
1703 | (add_section_size_callback): New function, bfd sections callback | |
1704 | used by generic_load. | |
1705 | (load_sections_callback): New function, bfd sections callback | |
1706 | used by generic_load. | |
1707 | ||
08cf96df EZ |
1708 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
1709 | ||
abf22e64 | 1710 | [Based on work by Jim Blandy] |
08cf96df EZ |
1711 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
1712 | (builtin_type_vec128): Export. | |
1713 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
1714 | types. | |
1715 | (builtin_type_vec128): New builtin type for 128 bit vector | |
1716 | registers. | |
1717 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
1718 | builtin_type_v8hi. Create the vec128 register builtin type | |
1719 | structure. | |
1720 | (build_builtin_type_vec128): New function. | |
abf22e64 | 1721 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
1722 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
1723 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
1724 | AltiVec register to new builtin type. | |
1725 | ||
d7242108 DJ |
1726 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
1727 | ||
1728 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
1729 | to make_cv_type. | |
1730 | ||
4ee3352d AC |
1731 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
1732 | ||
1733 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
1734 | CLEAN_UP_REGISTER_VALUE. | |
1735 | * regcache.c (supply_register): Update only call. | |
1736 | ||
f015b2e7 AC |
1737 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
1738 | ||
1739 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1740 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1741 | a29k-*-vxworks* targets as obsolete. | |
1742 | ||
356ae49d MS |
1743 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
1744 | ||
1745 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
1746 | until we can resolve portability issues. | |
1747 | * gregset.h: Remove references to fpxregs. | |
1748 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
1749 | ||
ade8f45e AC |
1750 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1751 | ||
1752 | * signals.c (target_signal_to_name): Rewrite. Only use | |
1753 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 1754 | |
89c49e7a AC |
1755 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1756 | ||
1757 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
1758 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
1759 | bounds of the signals array. | |
1760 | ||
4daa9f9f AC |
1761 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1762 | ||
1763 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
1764 | ||
ba4bbdcb KS |
1765 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
1766 | ||
1767 | * stack.c (print_frame_info_base): Print the frame's pc | |
1768 | only if when print_frame_info_listing_hook is not defined. | |
1769 | ||
575bbeb6 KS |
1770 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
1771 | ||
1772 | * varobj.c (varobj_set_value): Make sure that there were no | |
1773 | errors evaluating the object before attempting to set its | |
1774 | value. | |
1775 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
1776 | so this offset adjustment is no longer necessary. | |
1777 | (create_child): Don't set the error flag if the child is | |
1778 | a CPLUS_FAKE_CHILD. | |
1779 | (value_of_child): If value_fetch_lazy fails, return NULL | |
1780 | so that callers will be notified that an error occurred. | |
1781 | (c_value_of_variable): Delay check of variable's validity | |
1782 | until later. We actually want all structs and unions to have | |
1783 | the value "{...}". | |
1784 | Do not return "???" for variables which could not be evaluated. | |
1785 | This error condition must be returned to the caller so that it | |
1786 | can get the error condition from gdb. | |
1787 | (cplus_name_of_child): Adjust index for vptr before figuring | |
1788 | out the name of the child. | |
1789 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
1790 | don't even bother trying to give a value for it. Just return | |
1791 | an error. Change all instances in this function. | |
1792 | (cplus_type_of_child): If our parent is one of the "fake" | |
1793 | parents, we need to get at the type of the real parent, and | |
1794 | derive the child's true type using this information. | |
1795 | ||
b76898ab AC |
1796 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1797 | ||
1798 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
1799 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
1800 | sources.redhat.com, and tweak some related URLs which had | |
1801 | suffered from linkrot. | |
1802 | ||
b6649e88 AC |
1803 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1804 | ||
1805 | From Jeff law: | |
1806 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
1807 | structures passed in registers. | |
1808 | ||
82cc5033 EZ |
1809 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
1810 | ||
1811 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
1812 | white space which prevented compilation. Reported by DSK | |
1813 | <dsk@student.unsw.edu.au>. | |
1814 | ||
ba5f2f8a MS |
1815 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
1816 | ||
fbd35540 MS |
1817 | * symfile.c (build_section_addr_info_from_section_tab): |
1818 | Use bfd access method instead of manipulating bfd directly. | |
1819 | (syms_from_objfile): Ditto. | |
1820 | (simple_overlay_update_1): Ditto. | |
1821 | (simple_overlay_update): Ditto. | |
1822 | (generic_load): Ditto. | |
1823 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
1824 | (sections_overlap): FIXME comment, bfd access methods. | |
1825 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
1826 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
1827 | (section_is_mapped): FIXME comment, bfd access methods. | |
1828 | (section_is_overlay): FIXME comment, bfd access methods. | |
1829 | ||
ba5f2f8a MS |
1830 | * symfile.c (generic_load): Whitespace and long line cleanups. |
1831 | Remove duplicate variable, change several local variables to | |
1832 | more appropriate data types. | |
1833 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
1834 | ||
17df2af6 AC |
1835 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
1836 | ||
1837 | From Peter Schauer: | |
1838 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
1839 | convert NUM to a hex string. | |
1840 | ||
ec920329 EZ |
1841 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
1842 | ||
1843 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
1844 | the function. | |
538a76d6 | 1845 | Update Copyright year. |
ec920329 | 1846 | |
3abd2e01 AC |
1847 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
1848 | ||
1849 | * language.c (longest_raw_hex_string): Delete unused function. | |
1850 | ||
b21b22e0 PS |
1851 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
1852 | ||
1853 | * MAINTAINERS (write-after-approval): Add myself. | |
1854 | * dwarf2read.c (read_tag_string_type): Handling of | |
1855 | DW_AT_byte_size. | |
1856 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
1857 | first string size. | |
1858 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
1859 | ||
747fe712 RE |
1860 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
1861 | ||
1862 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
1863 | GETPID(inferior_ptid). | |
1864 | (store_inferior_registers): Likewise. | |
1865 | ||
f1bea926 JM |
1866 | 2002-01-10 Jason Merrill <jason@redhat.com> |
1867 | ||
1868 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
1869 | Fix DW_OP_minus. | |
1870 | ||
ae940673 AC |
1871 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
1872 | ||
1873 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
1874 | and bfd/elf32-sh-nbsd.c. | |
1875 | ||
00546b04 MS |
1876 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
1877 | ||
352ed7b4 MS |
1878 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
1879 | ||
c18be923 MS |
1880 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
1881 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
1882 | ||
00546b04 MS |
1883 | * main.c (captured_main): Add new command line option "--pid". |
1884 | If the second command line argument (following the symbol-file) | |
1885 | begins with a digit, try to attach to it before trying to open | |
1886 | it as a corefile. | |
1887 | (print_gdb_help): Document the "--pid" argument. | |
1888 | ||
db60ec62 EZ |
1889 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
1890 | ||
1891 | * completer.c (command_completer): New function. | |
1892 | ||
1893 | * completer.h <command_completer>: Add prototype. | |
1894 | ||
1895 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
1896 | completer for the "help" command. | |
1897 | ||
39c22d1a JM |
1898 | 2002-01-09 Jason Merrill <jason@redhat.com> |
1899 | ||
1900 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
1901 | ||
c564377f MS |
1902 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
1903 | ||
975aec09 MS |
1904 | * i386-linux-nat.c (fill_fpxregset): Make global. |
1905 | (store_fpxregset): Ditto. | |
1906 | ||
db4a10fa MS |
1907 | * gregset.h (gdb_fpxregset_t): Define. |
1908 | (supply_fpxregset): Prototype. | |
1909 | (fill_fpxregset): Prototype. | |
1910 | ||
c564377f MS |
1911 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
1912 | ||
c3d45d70 RE |
1913 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1914 | ||
1915 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
1916 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
1917 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
1918 | ||
fcc87af1 AC |
1919 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
1920 | ||
1921 | * MAINTAINERS: Update target maintainer rules so that any | |
1922 | Maintainer can approve a tested patch for a maintenance-only | |
1923 | target. | |
1924 | ||
dd96c05b RE |
1925 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1926 | ||
d4297db9 | 1927 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 1928 | |
d4297db9 | 1929 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
1930 | IN_SIGTRAMP. |
1931 | ||
145fdc6e MS |
1932 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1933 | ||
1934 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
1935 | real name of the executable, rather than the /proc name. | |
1936 | ||
be4d1333 MS |
1937 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
1938 | ||
1939 | Implement a "generate-core-file" command in gdb, save target state. | |
1940 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
1941 | Save a corefile image of the current state of the inferior. | |
1942 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
1943 | * target.h (struct target_ops): Add new target vectors for saving | |
1944 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
1945 | (target_find_memory_regions): New macro. | |
1946 | (target_make_corefile_notes): New macro. | |
1947 | * target.c (update_current_target): Inherit new target methods. | |
1948 | (dummy_find_memory_regions): New place-holder method. | |
1949 | (dummy_make_corefile_notes): New place-holder method. | |
1950 | (init_dummy_target): Initialize new dummy target vectors. | |
1951 | * exec.c (exec_set_find_memory_regions): New function. | |
1952 | Allow the exec_ops vector for memory regions to be taken over. | |
1953 | (exec_make_note_section): New function, target vector method. | |
1954 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
1955 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
1956 | (procfs_make_note_section): New function, corefile method. | |
1957 | (init_procfs_ops): Set new target vector pointers. | |
1958 | (find_memory_regions_callback): New function. | |
1959 | (procfs_do_thread_registers): New function. | |
1960 | (procfs_corefile_thread_callback): New function. | |
1961 | * sol-thread.c (sol_find_memory_regions): New function. | |
1962 | (sol_make_note_section): New function. | |
1963 | (init_sol_thread_ops): Initialize new target vectors. | |
1964 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
1965 | Allow to_find_memory_regions vector to be taken over. | |
1966 | (inftarg_set_make_corefile_notes): New function. | |
1967 | Allow to_make_corefile_notes vector to be taken over. | |
1968 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
1969 | interface layer if not target_has_execution (may be a corefile). | |
1970 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
1971 | * config/sparc/sun4sol2.mh: Ditto. | |
1972 | * config/alpha/alpha-linux.mh: Ditto. | |
1973 | * config/arm/linux.mh: Ditto. | |
1974 | * config/i386/x86-64linux.mh: Ditto. | |
1975 | * config/ia64/linux.mh: Ditto. | |
1976 | * config/m68k/linux.mh: Ditto. | |
1977 | * config/mips/linux.mh: Ditto. | |
1978 | * config/powerpc/linux.mh: Ditto. | |
1979 | * config/sparc/linux.mh: Ditto. | |
1980 | ||
c6b92abd MS |
1981 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1982 | ||
1983 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
1984 | (registers[] and register_valid[]). | |
1985 | ||
4b09dc8c MS |
1986 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1987 | ||
abf22e64 AJ |
1988 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
1989 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
1990 | symbol file and shlibs. |
1991 | * Makefile.in: Add rule for linux-proc.o. | |
1992 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
1993 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
1994 | * config/arm/linux.mh: Ditto. | |
1995 | * config/i386/linux.mh: Ditto. | |
1996 | * config/i386/x86-64linux.mh: Ditto. | |
1997 | * config/ia64/linux.mh: Ditto. | |
1998 | * config/m68k/linux.mh: Ditto. | |
1999 | * config/mips/linux.mh: Ditto. | |
2000 | * config/powerpc/linux.mh: Ditto. | |
2001 | * config/sparc/linux.mh: Ditto. | |
2002 | ||
c25b74ac PM |
2003 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
2004 | ||
2005 | * win32-nat.c: Add i386-tdep.h dependency. | |
2006 | ||
94cd915f MS |
2007 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
2008 | ||
c7cccb76 MS |
2009 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
2010 | instead of bfd_get_arch_size. Don't bail out just because | |
2011 | there's no exec_bfd. | |
abf22e64 | 2012 | |
34c0bd93 MS |
2013 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
2014 | * p-valprint.c (pascal_object_print_value): Ditto. | |
2015 | * somread.c (som_symtab_read): Ditto. | |
2016 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
2017 | * valops.c (value_assign): Ditto. | |
2018 | ||
21c1c920 MS |
2019 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
2020 | use tilde_expand and strerror for opening save-tracepoints file. | |
2021 | ||
5bbd998e MS |
2022 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
2023 | ||
94cd915f MS |
2024 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
2025 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 2026 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
2027 | can be overridden with whatever value is appropriate to the host). |
2028 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
2029 | alloca to allocate potentially large buffer. | |
2030 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
2031 | * symm-nat.c (child_xfer_memory): Ditto. | |
2032 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
2033 | ||
494e8a93 JSC |
2034 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
2035 | ||
2036 | From Nick Clifton <nickc@redhat.com> | |
2037 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
2038 | ||
d0e1d48e MS |
2039 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
2040 | ||
abf22e64 | 2041 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
2042 | Don't use exec_bfd if it's NULL. |
2043 | ||
290b2c7a MK |
2044 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
2045 | ||
abf22e64 | 2046 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 2047 | |
aef21287 AC |
2048 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
2049 | ||
2050 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
2051 | * gnu-nat.c: Ditto. | |
2052 | ||
30efa627 AC |
2053 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
2054 | ||
2055 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
2056 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
2057 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
2058 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
2059 | z8k-coff have not been multi-arched. Update z8k-coff build | |
2060 | status. | |
2061 | ||
9b4ff276 AC |
2062 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
2063 | ||
2064 | * MAINTAINERS: Mark a29k target as obsolete. | |
2065 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
2066 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
2067 | comments. | |
2068 | * NEWS: Note that a29k targets are obsolete. | |
2069 | * a29k-tdep.c: Mark as obsolete. | |
2070 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
2071 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
2072 | a29k-*-vxworks* targets as obsolete. | |
2073 | * remote-adapt.c: Obsolete. | |
2074 | * remote-eb.c: Obsolete. | |
2075 | * remote-mm.c: Obsolete. | |
2076 | * remote-udi.c: Obsolete. | |
2077 | * config/a29k/a29k-udi.mt: Obsolete. | |
2078 | * config/a29k/a29k.mt: Obsolete. | |
2079 | * config/a29k/tm-a29k.h: Obsolete. | |
2080 | * config/a29k/tm-vx29k.h: Obsolete. | |
2081 | * config/a29k/vx29k.mt: Obsolete. | |
2082 | ||
a9011d31 AC |
2083 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
2084 | ||
2085 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
2086 | with BFD_ENDIAN_BIG. | |
2087 | ||
9299404e AC |
2088 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
2089 | ||
2090 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
2091 | * configure, config.in: Re-generate. | |
2092 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
2093 | * defs.h: Do not include <endian.h>. | |
2094 | ||
7e89e357 JT |
2095 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
2096 | ||
2097 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
2098 | * config.in: Regenerate. | |
2099 | * configure.in: Update copyright years. | |
2100 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
2101 | * configure: Regenerate. | |
2102 | * i386bsd-nat.c: Update copyright years. | |
2103 | (fill_gregset): Use regcache_collect. | |
2104 | (fetch_inferior_registers): Only fetch integer registers | |
2105 | if requested to do so. Add support for XMM registers | |
2106 | using PT_GETXMMREGS. | |
2107 | (store_inferior_registers): Only store integer registers | |
2108 | if requested to do so. Add support for XMM registers | |
2109 | using PT_SETXMMREGS. | |
2110 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
2111 | (store_inferior_registers): Remove. | |
2112 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
2113 | (fetch_elfcore_registers): New function. | |
2114 | (i386nbsd_elfcore_fns): New. | |
2115 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
2116 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
2117 | i386bsd-nat.o. | |
2118 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2119 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
2120 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
2121 | * config/i386/tm-nbsd.h: Update copyright years. | |
2122 | (HAVE_SSE_REGS): Define. | |
2123 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
2124 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
2125 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
2126 | (SIGCONTEXT_PC_OFFSET): Remove. | |
2127 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
2128 | ||
a752853e AC |
2129 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
2130 | ||
2131 | * configure.tgt: Remove powerpc-*-macos* target. | |
2132 | * config/m68k/xm-mpw.h: Delete file. | |
2133 | * config/xm-mpw.h: Delete file. | |
2134 | * ser-mac.c: Delete file. | |
2135 | * mpw-make.sed: Delete file. | |
2136 | * mpw-config.in: Delete file. | |
2137 | * mac-xdep.c: Delete file. | |
2138 | * mac-gdb.r: Delete file. | |
2139 | * mac-defs.h: Delete file. | |
2140 | * mac-nat.c: Delete file. | |
2141 | * config/powerpc/macos.mh: Delete file. | |
2142 | * config/powerpc/macos.mt: Delete file. | |
2143 | * config/powerpc/nm-macos.h: Delete file. | |
2144 | * config/powerpc/tm-macos.h: Delete file. | |
2145 | * source.c (openp, open_source_file): Remove obsolete code. | |
2146 | * top.c (gdb_readline): Ditto. | |
2147 | * utils.c (query): Ditto. | |
2148 | * event-top.c (display_gdb_prompt): Ditto. | |
2149 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
2150 | * NEWS: Update. | |
2151 | ||
d7449b42 AC |
2152 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
2153 | ||
2154 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
2155 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
2156 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
2157 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
2158 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
2159 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
2160 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
2161 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
2162 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
2163 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
2164 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
2165 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
2166 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
2167 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
2168 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
2169 | * gdbarch.c: Re-generate. | |
2170 | ||
356374e8 DJ |
2171 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
2172 | ||
2173 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
2174 | for core files. | |
2175 | ||
a2b8f8f8 JT |
2176 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2177 | ||
2178 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
2179 | ||
12466af9 AC |
2180 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
2181 | ||
2182 | * value.h (value_ptr): Delete typedef. | |
2183 | ||
3549ab40 JT |
2184 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
2185 | ||
2186 | * i386nbsd-nat.c: Update copyright years. | |
2187 | Include i386-tdep.h. | |
2188 | ||
fedbd091 EZ |
2189 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
2190 | ||
2191 | * stabsread.c: Update copyright years. | |
2192 | ||
2193 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
2194 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
2195 | output for structs and unions. | |
fec8b34f | 2196 | Fix PR gdb/269. |
fedbd091 | 2197 | |
eb43544b DJ |
2198 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
2199 | ||
2200 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
2201 | prototype. | |
2202 | ||
1514d34e DJ |
2203 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
2204 | ||
2205 | * cp-abi.c: Fix whitespace. | |
2206 | (baseclass_offset): New wrapper function. | |
2207 | * cp-abi.h (baseclass_offset): Add prototype. | |
2208 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
2209 | ||
2210 | * valops.c (vb_match): Move to... | |
2211 | * gnu-v2-abi.c (vb_match): here. | |
2212 | * valops.c (baseclass_offset): Move to... | |
2213 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
2214 | ||
2215 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
2216 | ||
2217 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
2218 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
2219 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
2220 | ||
7f8c9282 DJ |
2221 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
2222 | ||
2223 | * valops.c (find_overload_match): Accept obj as a | |
2224 | reference parameter. Update it before returning. | |
2225 | * value.h (find_overload_match): Update prototype. | |
2226 | * eval.c (evaluate_subexp_standard): Pass object to | |
2227 | find_overload_match by reference. | |
2228 | ||
f23631e4 AC |
2229 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
2230 | ||
2231 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
2232 | register attribute from value declarations. | |
2233 | * valops.c: Ditto. | |
2234 | * value.h: Ditto. | |
2235 | * scm-lang.c (scm_lookup_name): Ditto. | |
2236 | ||
79e10fab | 2237 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 2238 | |
79e10fab AC |
2239 | Abstract the functionality of iterating over mapped memory |
2240 | regions into a general purpose iterator function. | |
abf22e64 | 2241 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
2242 | iterator for memory sections. |
2243 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
2244 | (solib_mappings_callback): New function, callback for above. | |
2245 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
2246 | (info_mappings_callback): New function, callback for above. | |
2247 | ||
2248 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
2249 | ||
c5ad026a MK |
2250 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
2251 | ||
d2a7c97a MK |
2252 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
2253 | * i386-tdep.c: Include "elf-bfd.h". | |
2254 | (process_note_abi_tag_sections): New function. | |
2255 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
2256 | combinations. | |
2257 | ||
c5ad026a MK |
2258 | * maint.c (_initialize_maint_cmds): Add missing \ in |
2259 | string-literal. | |
2260 | ||
a1a5b71e | 2261 | For older changes see ChangeLog-2001 |
c906108c SS |
2262 | \f |
2263 | Local Variables: | |
2264 | mode: change-log | |
2265 | left-margin: 8 | |
2266 | fill-column: 74 | |
2267 | version-control: never | |
2268 | End: |