1 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
3 * armnbsd-nat.c: Include gdbcore.h.
4 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
5 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
6 'void' to declaration, to shut up ARI.
7 (fetch_core_registers): Make static. Rewrite using supply_register.
8 (arm_netbsd_core_fns): New core-file type specification.
9 (_initialize_arm_netbsd_nat): New function.
11 2002-02-21 Christopher Faylor <cgf@redhat.com>
13 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
16 2002-02-20 Christopher Faylor <cgf@redhat.com>
18 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
21 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
23 * jv-exp.y (parse_number): Change type of implicit longs
24 to builtin_type_uint64.
26 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
28 * gdbserver/linux-low.c (mywait): Change argument to waitpid
29 to be an integer instead of a `union wait'.
31 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
33 * mips-linux-nat.c: Call the operating system GNU/Linux.
34 * mips-linux-tdep.c: Likewise.
35 * mips-tdep.c: Likewise.
37 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
40 * jv-exp.y (parse_number): Handle 64-bit integers.
42 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
44 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
45 AC_STDC_HEADERS to AC_HEADER_STDC.
46 * gdbserver/configure: Regenerated.
48 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
50 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
52 * sparc-tdep.c (get_longjmp_target): Likewise.
54 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
56 * News: Add news about ARM and Multi-arch. Mention the new target
59 2002-02-19 Jim Blandy <jimb@redhat.com>
61 * stabsread.c (error_type_complaint): Improve error message.
63 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
65 * gdbserver/README: Update documentation.
66 * gdbserver/configure.in: Update configury to match documentation.
67 * gdbserver/Makefile.in: Likewise.
68 * gdbserver/configure: Regenerated.
69 * gdbserver/aclocal.m4: New file, generated by aclocal.
70 * gdbserver/config.in: New file, generated by autoheader.
72 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
74 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
77 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
79 * arm-tdep.h (enum arm_float_model): New enum.
80 (struct gdbarch_tdep): Add fp_model.
81 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
82 up floating-point conversions until we know the floating-point model
83 in use by the inferior. Don't complain about being unable to
84 determine the ABI of the inferior when we don't have one.
85 (arm_extract_return_value): Support different floating-point models.
86 (arm_store_return_value): Likewise.
87 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
89 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
91 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
93 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
94 of ``current_gdbarch''.
96 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
98 * armnbsd-nat.c : ANSIfy all function declarations.
99 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
100 (fetch_inferior_registers): Re-implement in terms of above.
101 (store_register, store_regs, store_fp_register, store_fp_regs): New.
102 (store_inferior_registers): Re-implement in terms of above.
104 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
106 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
108 * arm-linux-tdep.c: Likewise.
109 * config/arm/tm-linux.h: Likewise.
111 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
113 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
114 * config/arm/nbsd.mt (TM_FILE): Delete.
115 * config/arm/tm-nbsd.h: Delete.
117 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
119 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
120 Initialize CALL_DUMMY_LENGTH.
122 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
124 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
126 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
127 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
128 defines one thing and that is incorrect for this port.
129 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
131 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
133 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
135 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
137 * win32-nat.c (display_selector): New function. Displays information
138 about the information returned by GetThreadSelectorEntry API function.
139 (display_selectors): New function. Displays the infomation of
140 the selector given as argument, or of CS, DS ans FS selectors
141 if no argument is given.
142 ( _initialize_inftarg): Add "w32" as info prefix command.
143 Add "info w32 selector" as command calling display_selectors.
145 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
147 * i386-tdep.c (get_longjmp_target): Fix compilation failure
148 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
151 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
153 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
155 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
157 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
158 (arm_fix_call_dummy): Call it.
159 (arm_call_dummy_breakpoint_offset): Delete.
160 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
161 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
163 2002-02-18 Andrew Cagney <ac131313@redhat.com>
165 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
166 Default to func_frame_chain_valid.
167 * gdbarch.h, gdbarch.c: Re-generate.
168 * frame.h (FRAME_CHAIN_VALID): Delete definition.
170 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
172 * ppc-linux-nat.c: Update copyright.
173 (fetch_register, store_register): Add tid parameter, don't compute
175 (fetch_ppc_registers, store_ppc_registers): Add tid
176 parameter. Pass it along to callees.
177 (fetch_inferior_registers, store_inferior_registers): Compute tid
178 here, and pass it to calleed functions.
179 (fill_gregset, supply_fpregset): Clean up formatting.
181 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
183 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
184 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
186 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
188 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
189 * gdbarch.c gdbarch.h: Regenerate.
190 * breakpoint.c (create_longjmp_breakpoint): Always compile this
192 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
193 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
194 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
196 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
197 * arm-tdep.c (arm_get_longjmp_target): New function.
198 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
199 this to a positive value register arm_get_longjmp_target as the
201 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
202 (arm_linux_init_abi): Set up longjmp description in tdep.
203 * armnbsd-nat.c (get_longjmp_target): Delete.
204 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
206 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
207 (get_longjmp_target): Delete declaration.
208 (GET_LONGJMP_TARGET): Delete.
209 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
210 (GET_LONGJMP_TARGET): Delete.
212 2002-02-17 Kevin Buettner <kevinb@redhat.com>
214 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
215 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
216 of ``current_gdbarch''.
218 2002-02-17 Tom Tromey <tromey@redhat.com>
220 * cli/cli-cmds.c (compare_strings): New function.
221 (complete_command): Only print each unique item once.
222 * completer.h (complete_line): Declare.
223 * completer.c (complete_line): New function.
224 (line_completion_function): Use it.
226 2002-02-16 Andrew Cagney <ac131313@redhat.com>
228 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
229 * gdbarch.h, gdbarch.c: Re-generate.
231 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
233 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
235 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
237 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
238 * valops.c (value_arg_coerce): Don't take the address of a reference
239 to convert an argument to a reference.
241 2002-02-15 Christopher Faylor <cgf@redhat.com>
243 * win32-nat.c (get_image_name): New function.
244 (handle_load_dll): Use get_image_name function.
245 (get_child_debug_event): Avoid registering debug events until possibly
246 execed process is started.
247 (child_create_inferior): Allow invocation via shell so that command
248 line redirection, etc. works ok.
249 (_initialize_inftarg): Add new command: "set shell" to control whether
250 a shell is used to start a process.
252 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
254 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
255 instead of find_register_by_number.
256 (cannot_store_register): Likewise.
258 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
260 * dwarf2read.c: Replace fprintf (stderr, ...) by
261 fprintf_unfiltered (gdb_stderr, ...).
263 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
265 * gdbserver/gdbserver.1: Document --attach.
267 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
269 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
271 * arm-tdep.c (arm_default_arm_le_breakpoint)
272 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
273 (arm_default_thumb_be_breakpoint): New. Initialize them from
274 traditional breakpoint defines.
275 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
276 (arm_gdbarch_init): Initialize new breakpoint variables.
277 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
278 (arm_linux_init_abi): Initialize linux-specific breakpoint.
279 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
280 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
282 (arm_netbsd_init_abi_common): ... here; new function.
283 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
284 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
285 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
286 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
288 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
290 * arm-tdep.h (enum arm_abi): New enum.
291 (struct gdbarch_tdep): New structure.
292 (LOWEST_PC): Provide a default.
293 (arm_gdbarch_register_os_abi): Declare new function.
294 * arm-tdep.c (arm_abi_names): New array.
295 (process_note_abi_tag_sections): New function.
296 (get_elfosabi): New function.
297 (arm_gdbarch_register_os_abi): New function.
298 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
299 support for that ABI has been built in, then call the appropriate
300 configuration routine. Use gdbarch_num_regs() to get the number
302 (arm_dump_tdep): New function.
303 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
304 place-holder functions.
305 (_initialize_arm_tdep): Register them.
306 * config/arm/tm-arm.h (LOWEST_PC): Delete.
308 * armnbsd-tdep.c: New file.
309 * Makefile.in (armnbsd-tdep.o): Add dependencies.
310 * config/arm/nbsd.mt (TDEPFILES): Add it.
311 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
313 * armnbsd-nat.c: Include regcache.h.
314 * Makefile.in (armnbsd-nat.o): Update dependency list.
316 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
318 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
320 * gdbserver/Makefile.in: Fix typos in target rules.
322 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
324 Fix part of PR gdb/267.
325 * linespec.c (find_methods): Handle constructors specially for now.
327 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
329 * arm-tdep.c (arm_push_arguments): Eliminate special float type
331 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
332 standard_coerce_float_to_double().
334 2002-02-14 Christopher Faylor <cgf@redhat.com>
336 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
339 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
341 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
342 find_variant_by_name, because it confuses the multiarch
343 framework. Return NULL if there isn't an architecture with the
344 user supplied name, instead of forcing a different one without
345 recording the change with the multiarch machinery.
346 (find_variant_by_name): Delete.
348 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
350 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
351 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
353 2002-02-13 Martin M. Hunt <hunt@redhat.com>
355 * stack.c (print_frame_info_base): When calling
356 print_frame_info_listing_hook, set current_source_symtab.
358 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
360 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
361 and remove unused $(INCLUDE_DIR).
362 Add regcache.c to OBS.
363 Add generated register protocol files to clean target.
364 Update dependencies for new objects, obsolete old target code.
366 * gdbserver/linux-low.c: Remove all platform-specific code to
367 new files. Remove various dead code. Update to use regcache
369 * gdbserver/remote-utils.c (fromhex): Add return statement
371 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
373 (input_interrupt): Add integer parameter to match prototype
375 (outreg): Use register_data ().
376 (prepare_resume_reply): Use gdbserver_expedite_regs.
377 * gdbserver/server.c (main): Dynamically allocate own_buf because
378 PBUFSIZ is no longer constant. Use registers_to_string () and
379 registers_from_string ().
380 * gdbserver/server.h: No longer include "defs.h". Add prototypes
381 for error (), fatal (), and warning (). Update definition of
382 PBUFSIZ to use regcache functionality. Add include guard.
383 * gdbserver/utils.c (fatal): Add missing ``const''.
384 (warning): New function.
386 * regformats/regdat.sh: Include "regcache.h" in generated files.
387 Provide init_registers () function.
388 * regformats/regdef.h: Add prototype for set_register_cache ().
391 * gdbserver/linux-arm-low.c: New file.
392 * gdbserver/linux-i386-low.c: New file.
393 * gdbserver/linux-ia64-low.c: New file.
394 * gdbserver/linux-m68k-low.c: New file.
395 * gdbserver/linux-mips-low.c: New file.
396 * gdbserver/linux-ppc-low.c: New file.
397 * gdbserver/linux-sh-low.c: New file.
399 * gdbserver/regcache.c: New file.
400 * gdbserver/regcache.h: New file.
402 * gdbserver/low-linux.c: Removed obsolete file.
404 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
406 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
407 * config/i386/linux.mt: Likewise.
408 * config/ia64/linux.mt: Likewise.
409 * config/m68k/linux.mh: Likewise.
410 * config/powerpc/linux.mh: Likewise.
411 * config/mips/linux.mt: Likewise.
413 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
415 * config/i386/i386lynx.mh: Mark gdbserver variables
416 as (currently) obsolete for this target.
417 * config/i386/nbsd.mt: Likewise.
418 * config/i386/nbsdelf.mt: Likewise.
419 * config/m32r/m32r.mt: Likewise.
420 * config/m68k/m68klynx.mh: Likewise.
421 * config/m68k/nbsd.mt: Likewise.
422 * config/m68k/sun3os4.mh: Likewise.
423 * config/mips/vr5000.mt: Likewise.
424 * config/ns32k/nbsd.mt: Likewise.
425 * config/pa/hppabsd.mh: Likewise.
426 * config/pa/hppaosf.mh: Likewise.
427 * config/powerpc/nbsd.mt: Likewise.
428 * config/rs6000/rs6000lynx.mh: Likewise.
429 * config/s390/s390.mt: Likewise.
430 * config/s390/s390x.mt: Likewise.
431 * config/sparc/sparclynx.mh: Likewise.
432 * config/sparc/sun4os4.mh: Likewise.
433 * config/i386/x86-64linux.mt: Likewise.
434 * config/sparc/linux.mh: Likewise.
436 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
438 * configure.tgt: Configure gdbserver only for known working
439 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
440 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
441 SUBDIRS if it is configured. Update comment for ${nativefile}.
442 * configure: Regenerated.
444 2002-02-13 Michael Snyder <msnyder@redhat.com>
446 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
447 (default_gcore_mach): Just return 0, work around a problem in bfd.
448 (default_gcore_target): OK to return NULL if exec_bfd is null.
449 (make_mem_sec): Use a cast, avoid a warning.
451 * procfs.c (find_memory_regions_callback): Use a cast instead of
452 calling host_pointer_to_address (which complains if
453 sizeof (host pointer) != sizeof (target pointer)).
454 (procfs_make_note_section): Avoid overflow in psargs string.
456 * procfs.c (procfs_make_note_section): Make the default
457 implementation return an error.
459 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
461 * procfs.c (procfs_make_note_section): Provide a default definition
462 (for alpha-dec-osf4.0f). Fix typos.
464 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
466 * linux-proc.c: Add include of regcache.h.
467 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
469 2002-02-13 Andrew Cagney <ac131313@redhat.com>
471 From 2002-01-18 Greg McGary <greg@mcgary.org>:
472 * memattr.c (create_mem_region): Disallow useless empty region.
473 Regions are half-open intervals, so allow [A..B) [B..C) as
476 2002-02-13 Michael Chastain <mec@shout.net>
478 * defs.h: Kill CONST_PTR.
479 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
480 * c-lang.c (c_builtin_types): Likewise.
481 * ch-lang.c (ch_builtin_types): Likewise.
482 * f-lang.c (f_builtin_types): Likewise.
483 * language.c (unknown_builtin_types): Likewise.
484 * m2-lang.c (m2_builtin_types): Likewise.
485 * p-lang.c (pascal_builtin_types): Likewise.
486 * scm-lang.c (c_builtin_types): Likewise.
488 2002-02-13 Keith Seitz <keiths@redhat.com>
490 * arm-tdep.h (arm_get_next_pc): Add declaration.
492 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
494 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
495 with other related struct-returning functions.
496 (arm_extract_struct_value_address): New function.
497 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
498 initialize float_format, double_format and long_double_format as
499 appropriate to the endianness of the target.
500 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
501 (arm_use_struct_convention): Delete declaration.
502 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
504 2002-02-13 Keith Seitz <keiths@redhat.com>
506 * defs.h (core_addr_to_string_nz): New function.
508 2002-02-13 Mark Kettenis <kettenis@gnu.org>
510 Apply missing bits of 2002-01-15 patch.
511 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
512 (fill_fpregset): Use i387_fill_fsave.
514 2002-02-12 Keith Seitz <keiths@redhat.com>
516 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
517 (core_addr_to_string_nz): New function.
519 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
521 * arm-linux-nat.c: Really include arm-tdep.h.
522 * config/arm/tm-linux.h (struct type, struct value): Declare.
524 2002-02-11 Michael Snyder <msnyder@redhat.com>
526 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
527 (gcore section): Ifdef for Solaris and Unixware only.
528 (procfs_do_thread_registers): Unixware needs one lwpstatus
529 per thread (not one prstatus or pstatus).
530 (procfs_make_note_section): Iterate only over kernel threads (lwps),
531 not over all gdb threads. For unixware, call elfcore_write_pstatus
532 once before iterating over threads.
534 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
536 * arm-tdep.h: New file.
537 * arm-tdep.c: Include arm-tdep.h.
538 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
539 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
540 (arm_print_float_info, arm_register_type, convert_to_extended)
541 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
542 (arm_extract_return_value, arm_register_name): Make static.
543 (arm_software_single_step): Similarly. Fix types in declaration.
544 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
545 (arm_store_return_value, arm_store_struct_return): New functions.
546 (arm_gdbarch_init): Register the above functions. Also register
547 call_dummy_start_offset, sizeof_call_dummy_words,
548 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
549 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
550 max_register_virtual_size, register_size. Set up
551 prologue_cache.saved_regs here, rather than ...
552 (_initialize_arm_tdep): ... here.
553 * config/arm/tm-arm.h (struct type, struct value): Delete forward
555 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
556 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
557 (arm_print_float_info, arm_register_type, convert_to_extended)
558 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
559 (arm_extract_return_value, arm_register_name): Delete declarations.
560 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
561 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
562 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
563 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
564 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
565 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
566 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
567 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
568 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
569 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
570 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
571 (arm_get_next_pc): No-longer static -- these are needed by the RDI
573 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
574 * remote-rdi.c remote-rdp.c: Likewise.
575 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
576 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
577 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
580 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
581 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
582 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
583 from non-ARM_ prefixed definitions.
584 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
586 * remote-rdi.c remote-rdp.c: Likewise.
587 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
589 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
591 * arm-tdep.c (arm_frameless_function_invocation)
592 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
593 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
594 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
595 (arm_pop_frame, arm_get_next_pc): Make static.
596 (arm_gdbarch_init): Register above in gdbarch structure.
597 (arm_read_fp): Renamed from arm_target_read_fp.
598 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
599 * config/arm/tm-arm.h (arm_frameless_function_invocation)
600 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
601 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
602 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
603 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
604 (arm_pc_is_thumb_dummy): Delete declarations.
605 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
606 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
607 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
608 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
610 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
612 * symtab.c (compare_search_syms): New function.
613 (sort_search_symbols): New function.
614 (search_symbols): Sort symbols after searching rather than
617 2002-02-10 Andrew Cagney <ac131313@redhat.com>
619 * NEWS: Linux -> GNU/Linux.
621 2002-02-10 Andrew Cagney <ac131313@redhat.com>
623 * gdbarch.sh: For for level one methods, disallow a definition
624 when partially multi-arched. Add comments explaining rationale.
625 * gdbarch.h: Re-generate.
627 2002-02-10 Andrew Cagney <ac131313@redhat.com>
629 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
632 2002-02-10 Andrew Cagney <ac131313@redhat.com>
634 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
636 * gdbarch.c: Re-generate.
638 2002-02-10 Andrew Cagney <ac131313@redhat.com>
640 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
641 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
644 2002-02-10 Andrew Cagney <ac131313@redhat.com>
646 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
648 (PUSH_ARGUMENTS): Switch to using predefault.
649 * gdbarch.c: Regenerate.
651 2002-02-10 Andrew Cagney <ac131313@redhat.com>
653 * valops.c (PUSH_ARGUMENTS): Delete definition.
654 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
655 partial. Default to default_push_arguments.
656 * gdbarch.h, gdbarch.c: Regenerate.
658 2002-02-09 Andrew Cagney <ac131313@redhat.com>
660 * defs.h (throw_exception): Rename return_to_top_level. Update
662 * utils.c (error_stream, internal_verror, quit): Ditto.
663 * top.c (throw_exception, catcher): Ditto.
664 * sparclet-rom.c (sparclet_load): Ditto.
665 * remote.c (interrupt_query, minitelnet): Ditto.
666 * remote-sds.c (interrupt_query): Ditto.
667 * remote-mips.c (mips_error, mips_kill): Ditto.
668 * ocd.c (interrupt_query): Ditto.
669 * monitor.c (monitor_interrupt_query): Ditto.
670 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
671 * target.h: Update comment.
673 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
675 2002-02-09 Andrew Cagney <ac131313@redhat.com>
677 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
678 default_double_format.
679 * gdbarch.h, gdbarch.c: Re-generate.
680 * findvar.c (floatformat_unknown): Delete variable definition.
681 * doublest.h (floatformat_unknown): Delete variable declaration.
683 2002-02-09 Jim Blandy <jimb@redhat.com>
685 * stabsread.c (read_type): Add code to parse Sun's syntax for
686 prototyped function types.
688 2002-02-09 Andrew Cagney <ac131313@redhat.com>
690 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
691 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
693 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
695 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
696 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
697 now _initialize_xcoffsolib gets called again and overrides the
698 commands from solib.c in a native configuration.
700 2002-02-09 Mark Kettenis <kettenis@gnu.org>
702 * doublest.c (store_typed_floating): Don't try to return a value.
705 2002-02-08 Jim Blandy <jimb@redhat.com>
707 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
708 is prototyped and has no arguments, print its argument list as
711 2002-02-08 Chris Demetriou <cgd@broadcom.com>
713 * MAINTAINERS (write-after-approval): Add myself.
714 (paper-trail): I've escaped!
716 2002-02-08 Christopher Faylor <cgf@redhat.com>
718 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
720 (_initialize_check_for_gdb_ini): Ditto.
722 2002-02-08 Martin M. Hunt <hunt@redhat.com>
724 * win32-nat.c (cygwin_pid_to_str): Fix typo.
725 xaprintf -> xasprintf.
727 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
729 * win32-nat.c: Remove use of printf and sprintf functions.
731 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
733 * arm-tdep.c (arm_frame_chain_valid): Make static.
734 (arm_push_arguments): Likewise.
735 (arm_gdbarch_init): New function.
736 (_initialize_arm_tdep): Call it.
737 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
738 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
739 (FRAME_CHAIN_VALID): Delete.
740 (arm_frame_chain_valid): Delete declaration.
741 (PUSH_ARGUMENTS): Delete.
742 (arm_push_arguments): Delete declaration.
743 (CALL_DUMMY_P): Delete.
745 2002-02-08 Andrew Cagney <ac131313@redhat.com>
746 Corinna Vinschen <vinschen@redhat.com>
748 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
749 on builtin float types.
751 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
753 * utils.c: Include <curses.h> before "bfd.h".
754 * tui/tui-hooks.c: Likewise.
755 * tui/tui.c: Likewise.
756 * tui/tuiCommand.c: Likewise.
757 * tui/tuiData.c: Likewise.
758 * tui/tuiDataWin.c: Likewise.
759 * tui/tuiDisassem.c: Likewise.
760 * tui/tuiGeneralWin.c: Likewise.
761 * tui/tuiIO.c: Likewise.
762 * tui/tuiLayout.c: Likewise.
763 * tui/tuiRegs.c: Likewise.
764 * tui/tuiSource.c: Likewise.
765 * tui/tuiSourceWin.c: Likewise.
766 * tui/tuiStack.c: Likewise.
767 * tui/tuiWin.c: Likewise.
769 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
771 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
772 to include space for pseudoregs as well. Update loops accordingly.
773 (sh_fp_frame_init_saved_regs): Ditto.
774 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
776 2002-02-07 Andrew Cagney <ac131313@redhat.com>
778 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
779 Add Richard Earnshaw to Arm maintainers.
781 2002-02-07 Andrew Cagney <ac131313@redhat.com>
783 * defs.h (warning_begin): Delete declaration.
785 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
788 2002-02-07 Michael Snyder <msnyder@redhat.com>
790 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
791 Logic bug, remove misplaced else.
793 2002-02-07 Klee Dienes <klee@apple.com>
795 * fork-inferior.c (fork_inferior): Add '!' to the list of
796 characters that need to be quoted when building a string for the
797 shell. Quote '!' specifically with a backslash, since CSH chokes
798 when trying to evaluate "str!str".
800 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
802 * rdi-share/host.h: Only provide a typedef for bool if it is not
805 2002-02-04 Michael Snyder <msnyder@redhat.com>
807 * breakpoint.h (enum bptype): Add new overlay event bp type.
808 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
810 * breakpoint.c (create_internal_breakpoint): New function.
811 (internal_breakpoint_number): Moved into create_internal_breakpoint.
812 (create_longjmp_breakpoint): Use create_internal_breakpoint.
813 (create_thread_event_breakpoint): Ditto.
814 (create_solib_event_breakpoint): Ditto.
815 (create_overlay_event_breakpoint): New function.
816 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
817 (update_breakpoints_after_exec): Delete and re-initialize
818 overlay event breakpoints after an exec. Add FIXME comment
819 about longjmp breakpoint.
820 (print_it_typical): Ignore overlay event breakpoints.
821 (print_one_breakpoint): Ditto.
823 (bpstat_what): Do not stop for overlay event breakpoints.
824 (delete_breakpoint): Don't delete overlay event breakpoints.
825 (breakpoint_re_set_one): Delete the overlay event breakpoint.
826 (breakpoint_re_set): Re-create overlay event breakpoint.
828 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
829 (overlay_manual_command): Disable overlay breakpoints.
830 (overlay_off_command): Disable overlay breakpoints.
832 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
834 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
835 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
836 to here from config/tm-arm.h.
837 (coff_sym_is_thumb): Make static.
838 (arm_elf_make_msymbol_special): New function.
839 (arm_coff_make_msymbol_special): New function.
840 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
841 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
842 (coff_sym_is_thumb): Delete declaration.
843 (arm_elf_make_msymbol_special): Declare.
844 (arm_coff_make_msymbol_special): Declare.
845 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
846 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
848 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
850 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
852 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
854 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
855 * gdbarch.c gdbarch.h: Regenerate.
856 * arch-utils.c (default_print_float_info): New function.
857 * arch-utils.h (default_print_float_info): Prototype it.
858 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
859 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
860 (PRINT_FLOAT_INFO): Document it.
862 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
863 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
864 (PRINT_FLOAT_INFO): Define.
866 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
868 * win32-nat.c (_initialize_check_for_gdb_ini):
869 Add typecast to sprintf argument to suppress a warning.
871 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
873 * win32-nat.c (last_sig): Changed type of variable to target_signal,
874 to allow easier handling of pass state.
875 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
876 that gives exception name and address.
877 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
878 and set last_sig value to ourstatus->value.sig. Some missing
880 (child_continue): Correctly report continue_status.
881 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
882 TARGET_SIGNAL_0 (new default value).
883 (child_resume): consider sig argument passed to decide if
884 the exception should be passed to debuggee or not.
886 2002-02-05 Michael Snyder <msnyder@redhat.com>
888 * regcache.c (fetch_register): Call target_fetch_register
889 only if we don't call FETCH_PSEUDO_REGISTER.
890 (store_register): Call target_store_register only if we
891 don't call STORE_PSEUDO_REGISTER.
893 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
895 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
896 ELF_MAKE_MSYMBOL_SPECIAL.
897 * gdbarch.c, gdbarch.h: Regenerate.
898 * arch-utils.c (default_make_msymbol_special): New function.
899 * arch-utils.h (default_make_msymbol_special): Export.
900 * elfread.c (elf_symtab_read): Compile use of
901 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
903 * coffread.c (coff_symtab_read): Ditto, for
904 COFF_MAKE_MSYMBOL_SPECIAL.
906 2002-02-05 Jim Blandy <jimb@redhat.com>
908 * solib-svr4.c (svr4_truncate_ptr): New function.
909 (svr4_relocate_section_addresses): Do the address arithmetic with
910 the appropriate truncation for target addresses, even when
911 CORE_ADDR is larger than a target address.
913 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
915 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
918 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
920 * gdbserver/linux-low.c (kill_inferior): Remove commented out
923 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
925 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
927 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
929 * gdbserver/linux-low.c: Remove unused include files.
931 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
933 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
934 (read_inferior_memory): Use it.
935 (write_inferior_memory): Likewise.
937 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
939 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
940 grubbing through sys_errlist.
942 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
944 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
946 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
947 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
949 2002-02-04 Andrew Cagney <ac131313@redhat.com>
951 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
952 (do_sfunc, set_cmd_sfunc): New functions.
954 * command.h (struct cmd_list_element): Add field func.
955 * cli/cli-decode.h (struct cmd_list_element): Ditto.
956 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
957 * cli/cli-decode.h: Ditto.
959 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
960 (help_all, help_cmd_list): Ditto.
961 (find_cmd, complete_on_cmdlist): Ditto.
962 * top.c (execute_command): Ditto.
964 * cli/cli-setshow.c (do_setshow_command): Call func instead of
967 * infcmd.c (notice_args_read): Fix function signature.
969 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
970 * cli/cli-decode.c (add_set_cmd): Ditto.
971 * utils.c (initialize_utils): Ditto.
972 * maint.c (_initialize_maint_cmds): Ditto.
973 * infrun.c (_initialize_infrun): Ditto.
974 * demangle.c (_initialize_demangler): Ditto.
975 * remote.c (add_packet_config_cmd): Ditto.
976 * mips-tdep.c (_initialize_mips_tdep): Ditto.
977 * cris-tdep.c (_initialize_cris_tdep): Ditto.
978 * proc-api.c (_initialize_proc_api): Ditto.
979 * kod.c (_initialize_kod): Ditto.
980 * valprint.c (_initialize_valprint): Ditto.
981 * top.c (init_main): Ditto.
982 * infcmd.c (_initialize_infcmd): Ditto.
983 * corefile.c (_initialize_core): Ditto.
984 * arm-tdep.c (_initialize_arm_tdep): Ditto.
985 * arch-utils.c (initialize_current_architecture): Ditto.
986 (_initialize_gdbarch_utils): Ditto.
987 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
989 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
990 * wince.c (_initialize_inftarg): Ditto.
991 * symfile.c (_initialize_symfile): Ditto.
992 * mips-tdep.c (_initialize_mips_tdep): Ditto.
993 * language.c (_initialize_language): Ditto.
994 * arc-tdep.c (_initialize_arc_tdep): Ditto.
996 2002-02-04 Michael Snyder <msnyder@redhat.com>
998 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1000 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1002 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1003 Add rules for building the register data files.
1005 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1007 * regformats/regdat.sh: Add braces to the definition of
1008 expedite_regs_${arch}.
1010 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1012 * regformats/regdef.h (struct reg): Add comment describing the
1013 requirements for offset and size fields.
1015 2002-02-04 Andreas Schwab <schwab@suse.de>
1017 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1018 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1020 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
1022 * gdbarch.sh (copyright): Update years in generated header.
1023 (SMASH_TEXT_ADDRESS): Add rule.
1024 * gdbarch.h, gdbarch.c: Re-generate.
1025 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1026 * dbxread.c: Likewise.
1027 * dwarfread.c: Likewise.
1028 * elfread.c: Likewise.
1029 * somread.c: Likewise.
1031 * arm-tdep.c (arm_smash_text_address): New function.
1032 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1034 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1036 Add support for hardware watchpoints on win32 native.
1037 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
1038 CONTEXT_DEBUG_REGISTERS.
1039 (dr variable): New variable. Static array containing a local copy
1041 (debug_registers_changed): New variable. Reflects when debug registers
1042 are changed and need to be written to inferior.
1043 (debug_registers_used): New variable. Reflects when any debug register
1044 was set, used when new threads are created.
1045 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1047 (thread_rec): Set dr array if id is the thread of current_event .
1048 (child_continue, child_resume): Change the debug registers for all
1049 threads if debug_registers_changed.
1050 (child_add_thread): Change the debug registers if debug_registers_used.
1051 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1052 Link nm.h to new nm-cygwin.h file.
1053 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1054 of hardware registers.
1056 2002-02-03 Andrew Cagney <ac131313@redhat.com>
1058 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1059 Restore behavour broken by 2002-01-20 Andrew Cagney
1060 <ac131313@redhat.com> IEEE_FLOAT removal.
1062 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1064 * c-valprint.c (c_val_print): Pass a proper valaddr to
1065 cp_print_class_method.
1066 * valops.c (search_struct_method): If there is only one method
1067 and args is NULL, return that method.
1069 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1071 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1072 accessing tag_name directly.
1074 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1076 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1077 of accessing tag_name directly.
1079 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1082 * gdbtypes.c (replace_type): New function.
1083 * gdbtypes.h (replace_type): Add prototype.
1084 * stabsread.c (read_type): Use replace_type.
1086 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
1088 * Makefile.in (memattr.o): Add missing dependencies rule.
1090 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1092 * breakpoint.c (break_at_finish_command): Really export.
1093 (break_at_finish_at_depth_command): Ditto.
1094 (tbreak_at_finish_command): Ditto.
1095 * hppa-tdep.c: Include completer.h.
1096 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1097 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1099 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1101 * utils.c (do_write): New function.
1102 (error_stream): Rewrite combining the code from error_begin and
1104 (verror): Rewrite using error_stream.
1105 (error_begin): Delete function.
1107 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1109 * utils.c (error_begin): Make static.
1110 * defs.h (error_begin): Delete declaration.
1112 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1113 (decode_line_1): Use cplusplus_error instead of error_begin,
1114 cplusplus_hint and return_to_top_level.
1115 * coffread.c (coff_symfile_read): Use error instead of error_begin
1116 and return_to_top_level.
1117 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1119 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1121 * language.h (type_error, range_error): Make string parameter
1123 * language.c (warning_pre_print): Delete extern declaration.
1124 * dwarfread.c (warning_pre_print): Ditto.
1125 * language.c (type_error, range_error): Rewrite to use verror and
1126 vwarning instead of warning_begin.
1128 2002-02-01 Michael Snyder <msnyder@redhat.com>
1130 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1131 (set_ignore_count): Move misplaced comment back where it belongs.
1133 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1135 * command.h (NO_FUNCTION): Delete macro.
1136 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1137 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1138 * tracepoint.c (_initialize_tracepoint): Ditto.
1139 * cli/cli-decode.c (add_set_cmd): Ditto.
1140 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1142 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
1144 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1145 Update ``this'' pointer when calling virtual functions.
1147 2002-02-01 Michael Snyder <msnyder@redhat.com>
1149 * breakpoint.c (create_temp_exception_breakpoint): Delete.
1150 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1152 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
1154 * regformats/reg-arm.dat: New file.
1155 * regformats/reg-i386.dat: New file.
1156 * regformats/reg-ia64.dat: New file.
1157 * regformats/reg-m68k.dat: New file.
1158 * regformats/reg-mips.dat: New file.
1159 * regformats/reg-ppc.dat: New file.
1160 * regformats/reg-sh.dat: New file.
1161 * regformats/regdef.h: New file.
1162 * regformats/regdat.sh: New file.
1164 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
1166 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1167 (arm_frame_args_address, arm_frame_locals_address): New functions.
1168 (arm_frame_num_args): New function.
1169 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1170 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1171 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1173 2002-01-31 Michael Snyder <msnyder@redhat.com>
1175 * breakpoint.c (break_at_finish_command): Export.
1176 (break_at_finish_at_depth_command): Export.
1177 (tbreak_at_finish_command): Export.
1178 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1179 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1180 "tbreak" commands, which are HPPA specific.
1182 * printcmd.c (disassemble_command): Remove an ancient
1183 artifact of an old merge.
1185 * symfile.h (enum overlay_debugging_state):
1186 Define enum constant values for overlay mode.
1187 * symfile.c (overlay_debugging): Use enums instead of literals.
1188 (overlay_is_mapped, overlay_auto_command,
1189 overlay_manual_command): Ditto.
1191 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1192 breakpoint_here_p, breakpoint_inserted_here_p,
1193 breakpoint_thread_match, bpstat_stop_status,
1194 describe_other_breakpoints, check_duplicates, clear_command):
1195 Coding standard fixes.
1197 * target.c (target_xfer_memory): Add spaces, coding standard.
1198 (do_xfer_memory): Add missing line to trust-readonly
1199 code: check bfd SEC_READONLY flag for section.
1201 2002-01-31 Andrew Cagney <ac131313@redhat.com>
1203 * PROBLEMS: Fix typo, 5.1->5.1.1.
1205 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1207 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1208 data symbols, since we search based on textlow and texthigh.
1209 (find_pc_sect_symtab): Likewise.
1211 2002-01-30 Andrew Cagney <ac131313@redhat.com>
1213 * defs.h (vwarning): Declare.
1214 * utils.c (vwarning): New function.
1215 (warning): Call vwarning.
1216 (warning_begin): Delete function.
1218 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1219 the warning message.
1220 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1223 2002-01-30 Michael Snyder <msnyder@redhat.com>
1225 * NEWS: Mention "set trust-readonly-sections" command.
1226 Mention generate-core-file command.
1228 2002-01-15 Michael Snyder <msnyder@redhat.com>
1230 * target.c: New command, "set trust-readonly-sections on".
1231 (do_xfer_memory): Honor the suggestion to trust readonly sections
1232 by reading them from the object file instead of from the target.
1233 (initialize_targets): Register command "set trust-readonly-sections".
1235 2002-01-29 Andrew Cagney <ac131313@redhat.com>
1237 * parse.c (target_map_name_to_register): Simplify, search regs and
1238 pseudo-regs using a single loop.
1240 2002-01-30 Andrew Cagney <ac131313@redhat.com>
1242 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1244 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
1246 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1247 * config/i386/i386v42mp.mh: Add i387-nat.o .
1248 * i386v4-nat.c: Include i387-nat.h.
1249 (supply_fpregset): Use i387_supply_fsave.
1250 (fill_fpregset): Use i387_fill_fsave.
1252 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
1254 * arm-tdep.c (arm_call_dummy_words): Define.
1255 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1256 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1257 (CALL_DUMMY_WORDS): Define.
1258 (arm_call_dummy_words): Declare.
1259 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1260 (arm_linux_call_dummy_words): Declare.
1262 2002-01-30 Andreas Schwab <schwab@suse.de>
1264 * m68klinux-nat.c: Fix last change to use regcache_collect
1265 instead of referencing registers[] directly.
1267 2002-01-29 Andrew Cagney <ac131313@redhat.com>
1269 * parse.c (target_map_name_to_register): Delete code wrapped in
1270 #ifdef REGISTER_NAME_ALIAS_HOOK.
1272 2002-01-28 Michael Snyder <msnyder@redhat.com>
1274 * regcache.c (legacy_read_register_gen): Need to be able to
1275 read pseudo-register as well as real register.
1276 (legacy_write_register_gen): Ditto.
1278 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1280 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1281 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
1282 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
1283 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
1284 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
1285 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
1286 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
1287 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
1288 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
1289 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1290 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
1291 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
1292 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
1293 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
1294 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
1295 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
1296 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
1297 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
1298 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
1299 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
1301 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1303 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
1304 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
1305 (initialize_current_architecture): Update target_byte_order using
1306 information from BFD.
1307 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
1308 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
1310 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1312 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
1313 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
1315 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
1316 #ifdef INVALID_FLOAT.
1317 * infcmd.c (do_registers_info): Ditto.
1318 * values.c (unpack_double): Ditto. Add comment.
1320 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
1321 already commented out.
1323 2002-01-26 Andreas Schwab <schwab@suse.de>
1325 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1326 * m68klinux-nat.c: Update ptrace interface for fetching/storing
1327 registers and add support for PTRACE_GETREGS.
1329 2002-01-24 Andrew Cagney <ac131313@redhat.com>
1331 GDB 5.1.1 released from 5.1 branch.
1332 * NEWS: Add 5.1.1 news.
1333 * README: Sync with 5.1 branch.
1335 2002-01-23 Fred Fish <fnf@redhat.com>
1337 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
1338 stabstring on initial malloc. Reallocing will copy it for us,
1341 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
1343 * Makefile.in (hpread_h): Delete.
1344 (HFILES_NO_SRCDIR): Remove hpread.h.
1345 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
1346 (hpread.o): Update dependencies.
1347 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
1349 * hp-psymtab-read.c: Remove file.
1350 * hp-symtab-read.c: Remove file.
1351 * hpread.h: Remove file.
1353 * hpread.c: Merge all contents of hp-psymtab-read.c,
1354 hp-symtab-read.c and hpread.h into this file, as it was prior to
1357 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
1358 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
1359 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
1360 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
1362 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
1364 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
1365 fill_gregset): Call gdbarch_tdep() just once, assign result to
1366 variable and use that, instead of calling the function several
1369 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1371 * configure.host: Accept sparcv9 as alias for sparc64.
1372 * configure.tgt: Likewise.
1374 2002-01-22 Kevin Buettner <kevinb@redhat.com>
1376 * solib-aix5.c (build_so_list_from_mapfile)
1377 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
1378 arguments is not reversed.
1379 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
1380 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
1382 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
1384 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
1385 modified version of obsolete sh_fetch_pseudo_register.
1386 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
1387 (sh4_register_read): New function.
1388 (sh_pseudo_register_write): New function. Renamed and modified
1389 version of obsolete sh_store_pseudo_register.
1390 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
1391 (sh4_register_write): New function.
1392 (sh_gdbarch_init): Remove setting of gdbarch function
1393 fetch_pseudo_register and store_pseudo_register. Remove setting of
1394 register_convert_to_raw, register_convert_to_virtual,
1395 register_convertible.
1396 (sh_sh4_register_convertible): Delete. No longer needed. All is
1397 taken care by architecture specific functions
1398 register_read/register_write.
1399 (sh_sh4_register_convert_to_virtual): Make static.
1400 (sh_sh4_register_convert_to_raw): Ditto.
1402 2002-01-22 Andrew Cagney <ac131313@redhat.com>
1404 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
1405 (floatformat_is_nan, floatformat_mantissa): Ditto.
1407 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
1408 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
1409 builtin_type_ieee_double_little,
1410 builtin_type_ieee_double_littlebyte_bigword,
1411 builtin_type_m68881_ext, builtin_type_i960_ext,
1412 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
1413 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
1414 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
1415 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
1417 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
1419 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
1420 parameter. Set frameless flag if it exists and depended of
1421 whether the scanned function is frameless or not.
1422 (xstormy16_skip_prologue): If function is frameless, return
1423 result of xstormy16_scan_prologue().
1424 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
1427 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
1429 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
1430 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1431 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
1432 sh_sh4_register_byte, sh_sh4_register_raw_size,
1433 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
1434 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
1435 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
1436 sh_store_pseudo_register, sh_do_pseudo_register): Call
1437 gdbarch_tdep() just once, assign result to variable and use that,
1438 instead of calling the function several times.
1440 2002-01-20 Mark Kettenis <kettenis@gnu.org>
1442 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
1443 macros instead of LAST_FPU_CTRL_REGNUM.
1444 (store_register): Likewise.
1446 2002-01-21 Jim Blandy <jimb@redhat.com>
1448 * infcmd.c (run_command): Check that the `exec' target layer's BFD
1449 is up-to-date before running the program, not just when a program
1452 2002-01-21 Fred Fish <fnf@redhat.com>
1454 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
1455 when we have found all instructions we are looking for.
1457 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
1459 * arm-tdep.c (arm_register_name): New function.
1460 (arm_registers_names): Make static.
1461 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
1462 (arm_register_name): Declare.
1463 (REGISTER_NAME): Use it.
1465 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
1466 Kevin Buettner <kevinb@redhat.com>
1468 Convert arm targets to new FRAME interface.
1469 * arm-tdep.c (struct frame_extra_info): Remove fsr.
1470 (arm_frame_find_save_regs): Delete.
1471 (arm_frame_init_saved_regs): New.
1472 (arm_init_extra_frame_info): Alloacte saved_regs as required.
1473 Allocate extra_info as required. Convert all uses of fsr.regs
1474 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
1476 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
1477 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
1478 (check_prologue_cache, save_prologue_cache): Likewise.
1479 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
1480 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
1481 (FRAME_FIND_SAVED_REGS): Delete.
1482 (arm_frame_find_saved_regs): Delete prototype.
1483 (arm_frame_init_saved_regs): New prototype.
1484 (FRAME_INIT_SAVED_REGS): Define.
1486 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1488 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
1490 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1492 From Jeff Law <law@redhat.com>:
1493 * infttrace.c: Include <sys/pstat.h>.
1494 (child_pid_to_exec_file): Revamp. Use pstat call to get the
1495 exec file if the ttrace equivalent fails.
1497 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1499 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
1500 (closeLogFile): Ditto.
1502 2002-01-20 Michael Chastain <mec@shout.net>
1504 * top.c (print_gdb_version): Bump copyright year to 2002.
1506 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1508 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
1509 Zannoni and Eli Zaretskii.
1511 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1513 * buildsym.c: Update copyright years.
1514 * c-typeprint.c: Likewise.
1515 * dwarf2read.c: Likewise.
1516 * f-typeprint.c: Likewise.
1517 * gdbtypes.c: Likewise.
1518 * gdbtypes.h: Likewise.
1519 * hp-symtab-read.c: Likewise.
1520 * hpread.c: Likewise.
1521 * mdebugread.c: Likewise.
1522 * p-typeprint.c: Likewise.
1524 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1526 * remote-sim.c (gdbsim_open): Simplify code testing the macro
1527 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
1528 byte-order selectable.
1529 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
1530 * arch-utils.c: Ditto.
1531 (set_endian): Ditto.
1532 (set_endian_from_file): Ditto.
1533 * gdbserver/low-sim.c (create_inferior): Ditto.
1534 * gdbarch.sh: Ditto.
1535 * gdbarch.h: Re-generate.
1536 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1537 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
1538 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
1539 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1540 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1541 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1542 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
1543 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
1545 * config/mips/tm-wince.h: Remove #undef of macro
1546 TARGET_BYTE_ORDER_SELECTABLE.
1547 * config/sh/tm-wince.h: Ditto.
1549 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1551 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
1552 member function fields. Add accessor macro
1553 TYPE_FN_FIELD_ARTIFICIAL.
1554 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
1555 * c-typeprint.c (c_type_print_base): Skip artificial member
1558 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1560 * f-typeprint.c: Delete unused function f_type_print_args.
1561 * p-typeprint.c: Delete unused function pascal_type_print_args.
1563 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
1565 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
1566 comment. Add ``artificial'' to ``union field_location''.
1568 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
1570 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
1571 * mdebugread.c (parse_symbol): Likewise.
1572 * stabsread.c (define_symbol): Likewise.
1573 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
1574 initializing TYPE_FIELD_BITPOS to n (obsolete).
1575 (hpread_doc_function_type): Likewise.
1576 * hpread.c (hpread_function_type): Likewise.
1578 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1580 * configure.in (host_makefile_frag): Only require a host makefile
1581 fragment when a native build.
1582 * configure: Re-generate.
1584 2002-01-20 Andrew Cagney <ac131313@redhat.com>
1586 * doublest.h (floatformat_from_type): Declare.
1587 * doublest.c (floatformat_from_type): New function.
1588 (convert_typed_floating): Use.
1590 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
1591 call to function floatformat_from_type.
1593 * gdbarch.sh (IEEE_FLOAT): Delete.
1594 * gdbarch.h, gdbarch.c: Re-generate.
1595 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
1596 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
1597 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
1598 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
1599 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
1600 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
1601 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
1602 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
1603 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
1604 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
1605 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
1606 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
1608 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
1609 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
1610 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1611 * sh-tdep.c (sh_gdbarch_init): Ditto.
1612 * mips-tdep.c (mips_gdbarch_init): Ditto.
1613 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1614 * cris-tdep.c (cris_gdbarch_init): Ditto.
1616 2002-01-20 Jiri Smid <smid@suse.cz>
1618 * configure.host, configure.tgt: Support x86-64.
1619 * NEWS: Note new target x86-64.
1621 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
1622 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
1623 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
1624 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
1625 x86-64-linux-nat.o): Fix dependencies.
1627 2002-01-19 Andrew Cagney <ac131313@redhat.com>
1629 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
1630 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
1631 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
1632 * config/sparc/xm-sun4os4.h: Delete file.
1633 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
1635 2002-01-19 Andrew Cagney <ac131313@redhat.com>
1637 * config/sparc/sparclynx.mh (XM_FILE): Delete.
1638 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
1639 * config/m68k/m68klynx.mh (XM_FILE): Delete.
1640 * config/i386/i386lynx.mh (XM_FILE): Delete.
1641 * config/rs6000/xm-rs6000ly.h: Delete file.
1642 * config/sparc/xm-sparclynx.h: Delete file.
1643 * config/m68k/xm-m68klynx.h: Delete file.
1644 * config/i386/xm-i386lynx.h: Delete file.
1645 * config/xm-lynx.h: Delete file.
1646 * config/djgpp/fnchange.lst: Update.
1648 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1650 * alpha-tdep.c (alpha_register_byte): New function.
1651 (alpha_register_raw_size): Ditto.
1652 (alpha_register_virtual_size): Ditto.
1653 (alpha_skip_prologue_internal): Renamed from
1654 alpha_skip_prologue.
1655 (alpha_skip_prologue): New version that calls
1656 alpha_skip_prologue_internal.
1657 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
1658 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
1659 second argument from alpha_skip_prologue.
1660 (REGISTER_BYTE): Use alpha_register_byte.
1661 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
1662 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
1663 (FRAMELESS_FUNCTION_INVOCATION): Use
1664 generic_frameless_function_invocation_not.
1665 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
1666 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
1668 2002-01-19 Andrew Cagney <ac131313@redhat.com>
1670 * config/mips/xm-news-mips.h: Delete file.
1671 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
1673 * config/m88k/xm-m88k.h: Delete file.
1674 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
1675 * config/m88k/xm-delta88v4.h: Ditto.
1676 * config/m88k/xm-delta88.h: Ditto.
1678 * config/alpha/xm-fbsd.h: Delete file.
1679 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
1681 * config/sparc/xm-sparc.h: Delete file.
1682 * Makefile.in (xm-sun4os4.h): Delete dependency.
1683 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
1684 * config/sparc/xm-sun4os4.h: Ditto.
1685 * config/sparc/xm-linux.h: Ditto.
1687 * config/i386/xm-windows.h: Delete file.
1689 2002-01-19 Andrew Cagney <ac131313@redhat.com>
1691 * utils.c: Include <sys/param.h> for MAXPATHLEN.
1692 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
1694 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1696 * alpha-tdep.c (alpha_call_dummy_words): New.
1697 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
1698 (CALL_DUMMY_P): Define.
1699 (CALL_DUMMY_WORDS): Define.
1700 (SIZEOF_CALL_DUMMY_WORDS): Define.
1702 2002-01-19 Per Bothner <per@bothner.com>
1704 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
1705 isn't NULL, which can happen with some gcj-3.x-produced code.
1707 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1709 * alpha-tdep.c (alpha_register_virtual_type): New function.
1710 (alpha_init_frame_pc_first): Ditto.
1711 (alpha_fix_call_dummy): Ditto.
1712 (alpha_store_struct_return): Ditto.
1713 (alpha_extract_struct_value_address): Ditto.
1714 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
1715 alpha_register_virtual_type.
1716 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
1717 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
1718 alpha_extract_struct_value_address.
1719 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
1720 (INIT_FRAME_PC): Use init_frame_pc_noop.
1721 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
1723 2002-01-19 Mark Kettenis <kettenis@gnu.org>
1725 * i386gnu-nat.c: Include "i386-tdep.h".
1726 (fetch_fpregs): Simplify code dealing with uninitialized floating
1727 point states such that it doesn't require FP7_REGNUM.
1729 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1731 * alpha-tdep.c (frame_extra_info): New.
1732 (alpha_find_saved_regs): Make static. Use
1734 (alpha_frame_init_saved_regs): New function.
1735 (alpha_frame_saved_pc): Use frame->extra_info.
1736 (temp_saved_regs): Don't declare as struct frame_saved_regs.
1737 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
1738 (init_extra_frame_info): Rename to...
1739 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
1740 (alpha_print_extra_frame_info): New function.
1741 (alpha_frame_locals_address): Ditto.
1742 (alpha_frame_args_address): Ditto.
1743 (alpha_pop_frame): Use frame->extra_info.
1744 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
1745 alpha_frame_args_address.
1746 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
1747 (alpha_find_saved_regs): Remove prototype.
1748 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
1749 (EXTRA_FRAME_INFO): Remove.
1750 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
1751 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
1753 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1755 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
1756 (alpha_cannot_fetch_register): Ditto.
1757 (alpha_cannot_store_register): Ditto.
1758 (alpha_register_convertible): Ditto.
1759 (alpha_use_struct_convention): Ditto.
1760 * config/alpha/tm-alpha.h: Update copyright years.
1761 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
1762 (INNER_THAN): Use core_addr_lessthan.
1763 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
1764 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
1765 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
1766 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
1767 (FRAME_CHAIN): Remove unnecessary cast.
1769 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1771 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1774 2002-01-18 Andrew Cagney <ac131313@redhat.com>
1776 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1777 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1778 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1779 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1780 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1781 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1782 * x86-64-linux-nat.c: Ditto.
1784 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1786 * alpha-tdep.c (alpha_register_name): New function.
1787 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1788 (REGISTER_NAME): Define.
1790 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1792 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1794 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1796 * alpha-tdep.c: Update copyright years.
1797 (alpha_next_pc): New function.
1798 (alpha_software_single_step): Ditto.
1799 * config/alpha/tm-alpha.h: Add prototype for
1800 alpha_software_single_step.
1802 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1804 * alphabsd-nat.c: Update copyright years.
1805 (fill_gregset): Use regcache_collect.
1806 (fill_fpregset): Likewise.
1807 (fetch_inferior_registers): Only fetch integer registers
1808 if requested to do so.
1809 (store_inferior_registers): Only store integer registers
1810 if requested to do so.
1812 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1814 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1815 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1816 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1817 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1818 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1819 * config/arm/linux.mh (XDEPFILES): Delete.
1820 * config/arm/nbsd.mh (XDEPFILES): Delete.
1821 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1822 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1823 * config/i386/i386m3.mh (XDEPFILES): Delete.
1824 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1825 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1826 * config/i386/fbsd.mh (XDEPFILES): Delete.
1827 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1828 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1829 * config/i386/i386v4.mh (XDEPFILES): Delete.
1830 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1831 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1832 * config/i386/i386aix.mh (XDEPFILES): Delete.
1833 * config/i386/go32.mh (XDEPFILES): Delete.
1834 * config/i386/cygwin.mh (XDEPFILES): Delete.
1835 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1836 * config/i386/i386mach.mh (XDEPFILES): Delete.
1837 * config/i386/i386v32.mh (XDEPFILES): Delete.
1838 * config/i386/linux.mh (XDEPFILES): Delete.
1839 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1840 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1841 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1842 * config/i386/i386sco.mh (XDEPFILES): Delete.
1843 * config/i386/i386v.mh (XDEPFILES): Delete.
1844 * config/i386/nbsd.mh (XDEPFILES): Delete.
1845 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1846 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1847 * config/i386/symmetry.mh (XDEPFILES): Delete.
1848 * config/i386/obsd.mh (XDEPFILES): Delete.
1849 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1850 * config/ia64/linux.mh (XDEPFILES): Delete.
1851 * config/ia64/aix.mh (XDEPFILES): Delete.
1852 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1853 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1854 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1855 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1856 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1857 * config/m68k/linux.mh (XDEPFILES): Delete.
1858 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1859 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1860 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1861 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1862 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1863 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1864 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1865 * config/m88k/delta88.mh (XDEPFILES): Delete.
1866 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1867 * config/m88k/m88k.mh (XDEPFILES): Delete.
1868 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1869 * config/mips/linux.mh (XDEPFILES): Delete.
1870 * config/mips/irix6.mh (XDEPFILES): Delete.
1871 * config/mips/irix5.mh (XDEPFILES): Delete.
1872 * config/mips/irix4.mh (XDEPFILES): Delete.
1873 * config/mips/irix3.mh (XDEPFILES): Delete.
1874 * config/mips/decstation.mh (XDEPFILES): Delete.
1875 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1876 (NATDEPFILES): Move core-aout.o to here.
1877 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1878 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1879 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1880 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1881 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1882 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1883 * config/pa/hpux11.mh (XDEPFILES): Delete.
1884 * config/powerpc/aix.mh (XDEPFILES): Delete.
1885 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1886 * config/powerpc/linux.mh (XDEPFILES): Delete.
1887 * config/romp/rtbsd.mh: Rename XDEPFILES.
1888 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1889 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1890 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1891 * config/s390/s390.mh (XDEPFILES): Delete.
1892 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1893 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1894 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1895 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1896 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1897 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1898 * config/sparc/linux.mh (XDEPFILES): Delete.
1899 * config/vax/vaxult.mh (XDEPFILES): Delete.
1900 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1901 * Makefile.in (DEPFILES): Remove XDEPFILES.
1903 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1905 * utils.c (internal_verror): Fix comments, default is yes not no.
1906 Update queries to match. Default to quit and dump core.
1908 2002-01-17 Andrew Cagney <ac131313@redhat.com>
1910 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1912 * defs.h, event-top.c, gdbcmd.h: Ditto.
1913 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1914 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1915 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1916 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1917 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1918 * mi/mi-main.c:Ditto.
1920 * stack.c, symfile.c: Update copyright.
1922 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
1924 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1925 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1926 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1927 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
1929 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
1931 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1932 * gdbserver/low-lynx.c (myattach): Likewise.
1933 * gdbserver/low-nbsd.c (myattach): Likewise.
1934 * gdbserver/low-sim.c (myattach): Likewise.
1935 * gdbserver/low-sparc.c (myattach): Likewise.
1936 * gdbserver/low-sun3.c (myattach): Likewise.
1938 * gdbserver/low-linux.c (myattach): New function.
1940 * gdbserver/server.c (attach_inferior): New function.
1941 (main): Handle "--attach".
1943 2002-01-16 Andrew Cagney <ac131313@redhat.com>
1945 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1948 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
1950 * c-typeprint.c (is_type_conversion_operator): Add additional
1951 check for non-conversion operators.
1953 2002-01-15 Michael Snyder <msnyder@redhat.com>
1955 * linux-proc.c: Add "info proc" command, a la procfs.c.
1956 (read_mapping): New function, abstract and re-use code.
1957 (linux_find_memory_regions): Use new func read_mapping.
1958 (linux_info_proc_cmd): New function, implement "info proc".
1959 (_initialize_linux_proc): Add new command "info proc".
1961 2002-01-15 Michael Snyder <msnyder@redhat.com>
1963 * symfile.c (generic_load): Use bfd_map_over_sections method
1964 instead of manipulating bfd structure members directly.
1965 (add_section_size_callback): New function, bfd sections callback
1966 used by generic_load.
1967 (load_sections_callback): New function, bfd sections callback
1968 used by generic_load.
1970 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
1972 [Based on work by Jim Blandy]
1973 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1974 (builtin_type_vec128): Export.
1975 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1977 (builtin_type_vec128): New builtin type for 128 bit vector
1979 (build_gdbtypes): Initialize builtin_type_v16qi and
1980 builtin_type_v8hi. Create the vec128 register builtin type
1982 (build_builtin_type_vec128): New function.
1983 (_initialize_gdbtypes): Register builtin_type_v16qi and
1984 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1985 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1986 AltiVec register to new builtin type.
1988 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
1990 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1993 2002-01-14 Andrew Cagney <ac131313@redhat.com>
1995 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1996 CLEAN_UP_REGISTER_VALUE.
1997 * regcache.c (supply_register): Update only call.
1999 2002-01-14 Andrew Cagney <ac131313@redhat.com>
2001 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2002 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2003 a29k-*-vxworks* targets as obsolete.
2005 2002-01-14 Michael Snyder <msnyder@redhat.com>
2007 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2008 until we can resolve portability issues.
2009 * gregset.h: Remove references to fpxregs.
2010 * gcore.c (gcore_command): Initialize note_sec to NULL.
2012 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2014 * signals.c (target_signal_to_name): Rewrite. Only use
2015 signals[].name when in bounds and non-NULL.
2017 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2019 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2020 * signals.c (target_signal_to_name): Verify that SIG is within the
2021 bounds of the signals array.
2023 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2025 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2027 2002-01-13 Keith Seitz <keiths@redhat.com>
2029 * stack.c (print_frame_info_base): Print the frame's pc
2030 only if when print_frame_info_listing_hook is not defined.
2032 2002-01-13 Keith Seitz <keiths@redhat.com>
2034 * varobj.c (varobj_set_value): Make sure that there were no
2035 errors evaluating the object before attempting to set its
2037 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2038 so this offset adjustment is no longer necessary.
2039 (create_child): Don't set the error flag if the child is
2041 (value_of_child): If value_fetch_lazy fails, return NULL
2042 so that callers will be notified that an error occurred.
2043 (c_value_of_variable): Delay check of variable's validity
2044 until later. We actually want all structs and unions to have
2046 Do not return "???" for variables which could not be evaluated.
2047 This error condition must be returned to the caller so that it
2048 can get the error condition from gdb.
2049 (cplus_name_of_child): Adjust index for vptr before figuring
2050 out the name of the child.
2051 (cplus_value_of_child): If a child's (real) parent is not valid,
2052 don't even bother trying to give a value for it. Just return
2053 an error. Change all instances in this function.
2054 (cplus_type_of_child): If our parent is one of the "fake"
2055 parents, we need to get at the type of the real parent, and
2056 derive the child's true type using this information.
2058 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2060 From 2002-01-09 John Marshall <johnm@falch.net>:
2061 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2062 sources.redhat.com, and tweak some related URLs which had
2063 suffered from linkrot.
2065 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2068 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2069 structures passed in registers.
2071 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2073 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2074 white space which prevented compilation. Reported by DSK
2075 <dsk@student.unsw.edu.au>.
2077 2002-01-11 Michael Snyder <msnyder@redhat.com>
2079 * symfile.c (build_section_addr_info_from_section_tab):
2080 Use bfd access method instead of manipulating bfd directly.
2081 (syms_from_objfile): Ditto.
2082 (simple_overlay_update_1): Ditto.
2083 (simple_overlay_update): Ditto.
2084 (generic_load): Ditto.
2085 (overlay_unmapped_address): FIXME comment, bfd access methods.
2086 (sections_overlap): FIXME comment, bfd access methods.
2087 (pc_in_mapped_range): FIXME comment, bfd access methods.
2088 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2089 (section_is_mapped): FIXME comment, bfd access methods.
2090 (section_is_overlay): FIXME comment, bfd access methods.
2092 * symfile.c (generic_load): Whitespace and long line cleanups.
2093 Remove duplicate variable, change several local variables to
2094 more appropriate data types.
2095 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2097 2002-01-12 Andrew Cagney <ac131313@redhat.com>
2100 * language.c (longest_local_hex_string_custom): Use phex_nz to
2101 convert NUM to a hex string.
2103 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
2105 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2107 Update Copyright year.
2109 2002-01-12 Andrew Cagney <ac131313@redhat.com>
2111 * language.c (longest_raw_hex_string): Delete unused function.
2113 2002-01-11 Petr Sorfa <petrs@caldera.com>
2115 * MAINTAINERS (write-after-approval): Add myself.
2116 * dwarf2read.c (read_tag_string_type): Handling of
2118 (read_tag_string_type): FORTRAN fix to prevent propagation of
2120 (set_cu_language): Handling of DW_LANG_Fortran95
2122 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
2124 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2125 GETPID(inferior_ptid).
2126 (store_inferior_registers): Likewise.
2128 2002-01-10 Jason Merrill <jason@redhat.com>
2130 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2133 2002-01-10 Andrew Cagney <ac131313@redhat.com>
2135 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2136 and bfd/elf32-sh-nbsd.c.
2138 2002-01-10 Michael Snyder <msnyder@redhat.com>
2140 * NEWS: Mention --pid and corefile/proc-id behavior change.
2142 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2143 * gcore.c: Include cli/cli-decode.h instead of command.h.
2145 * main.c (captured_main): Add new command line option "--pid".
2146 If the second command line argument (following the symbol-file)
2147 begins with a digit, try to attach to it before trying to open
2149 (print_gdb_help): Document the "--pid" argument.
2151 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2153 * completer.c (command_completer): New function.
2155 * completer.h <command_completer>: Add prototype.
2157 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2158 completer for the "help" command.
2160 2002-01-09 Jason Merrill <jason@redhat.com>
2162 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2164 2002-01-09 Michael Snyder <msnyder@redhat.com>
2166 * i386-linux-nat.c (fill_fpxregset): Make global.
2167 (store_fpxregset): Ditto.
2169 * gregset.h (gdb_fpxregset_t): Define.
2170 (supply_fpxregset): Prototype.
2171 (fill_fpxregset): Prototype.
2173 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2175 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
2177 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2178 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2179 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2181 2002-01-09 Andrew Cagney <ac131313@redhat.com>
2183 * MAINTAINERS: Update target maintainer rules so that any
2184 Maintainer can approve a tested patch for a maintenance-only
2187 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
2189 * MAINTAINERS (write-after-approval): Add myself.
2191 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
2194 2002-01-08 Michael Snyder <msnyder@redhat.com>
2196 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2197 real name of the executable, rather than the /proc name.
2199 2002-01-03 Michael Snyder <msnyder@redhat.com>
2201 Implement a "generate-core-file" command in gdb, save target state.
2202 * gcore.c: New file. Implement new command 'generate-core-file'.
2203 Save a corefile image of the current state of the inferior.
2204 * linux-proc.c: Add linux-specific code for saving corefiles.
2205 * target.h (struct target_ops): Add new target vectors for saving
2206 corefiles; to_find_memory_regions and to_make_corefile_notes.
2207 (target_find_memory_regions): New macro.
2208 (target_make_corefile_notes): New macro.
2209 * target.c (update_current_target): Inherit new target methods.
2210 (dummy_find_memory_regions): New place-holder method.
2211 (dummy_make_corefile_notes): New place-holder method.
2212 (init_dummy_target): Initialize new dummy target vectors.
2213 * exec.c (exec_set_find_memory_regions): New function.
2214 Allow the exec_ops vector for memory regions to be taken over.
2215 (exec_make_note_section): New function, target vector method.
2216 * defs.h (exec_set_find_memory_regions): Export prototype.
2217 * procfs.c (proc_find_memory_regions): New function, corefile method.
2218 (procfs_make_note_section): New function, corefile method.
2219 (init_procfs_ops): Set new target vector pointers.
2220 (find_memory_regions_callback): New function.
2221 (procfs_do_thread_registers): New function.
2222 (procfs_corefile_thread_callback): New function.
2223 * sol-thread.c (sol_find_memory_regions): New function.
2224 (sol_make_note_section): New function.
2225 (init_sol_thread_ops): Initialize new target vectors.
2226 * inftarg.c (inftarg_set_find_memory_regions): New function.
2227 Allow to_find_memory_regions vector to be taken over.
2228 (inftarg_set_make_corefile_notes): New function.
2229 Allow to_make_corefile_notes vector to be taken over.
2230 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2231 interface layer if not target_has_execution (may be a corefile).
2232 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2233 * config/sparc/sun4sol2.mh: Ditto.
2234 * config/alpha/alpha-linux.mh: Ditto.
2235 * config/arm/linux.mh: Ditto.
2236 * config/i386/x86-64linux.mh: Ditto.
2237 * config/ia64/linux.mh: Ditto.
2238 * config/m68k/linux.mh: Ditto.
2239 * config/mips/linux.mh: Ditto.
2240 * config/powerpc/linux.mh: Ditto.
2241 * config/sparc/linux.mh: Ditto.
2243 2002-01-07 Michael Snyder <msnyder@redhat.com>
2245 * arm-linux-nat.c: Remove references to regcache.c internal data
2246 (registers[] and register_valid[]).
2248 2002-01-07 Michael Snyder <msnyder@redhat.com>
2250 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2251 so that attaching to a pid will automatically read the process's
2252 symbol file and shlibs.
2253 * Makefile.in: Add rule for linux-proc.o.
2254 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2255 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2256 * config/arm/linux.mh: Ditto.
2257 * config/i386/linux.mh: Ditto.
2258 * config/i386/x86-64linux.mh: Ditto.
2259 * config/ia64/linux.mh: Ditto.
2260 * config/m68k/linux.mh: Ditto.
2261 * config/mips/linux.mh: Ditto.
2262 * config/powerpc/linux.mh: Ditto.
2263 * config/sparc/linux.mh: Ditto.
2265 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2267 * win32-nat.c: Add i386-tdep.h dependency.
2269 2002-01-07 Michael Snyder <msnyder@redhat.com>
2271 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2272 instead of bfd_get_arch_size. Don't bail out just because
2273 there's no exec_bfd.
2275 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2276 * p-valprint.c (pascal_object_print_value): Ditto.
2277 * somread.c (som_symtab_read): Ditto.
2278 * symfile.c (simple_free_overlay_region_table): Ditto.
2279 * valops.c (value_assign): Ditto.
2281 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
2282 use tilde_expand and strerror for opening save-tracepoints file.
2284 * thread-db.c (thread_db_new_objfile): Indendation fix.
2286 * infptrace.c (GDB_MAX_ALLOCA): New define.
2287 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
2288 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
2289 can be overridden with whatever value is appropriate to the host).
2290 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
2291 alloca to allocate potentially large buffer.
2292 * rs6000-nat.c (child_xfer_memory): Ditto.
2293 * symm-nat.c (child_xfer_memory): Ditto.
2294 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2296 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
2298 From Nick Clifton <nickc@redhat.com>
2299 * d10v-tdep.c: Set STACK_START to 0x200bffe.
2301 2002-01-07 Michael Snyder <msnyder@redhat.com>
2303 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
2304 Don't use exec_bfd if it's NULL.
2306 2002-01-06 Mark Kettenis <kettenis@gnu.org>
2308 * valops.c (value_arg_coerce): Fix formatting.
2310 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2312 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
2315 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2317 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
2318 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
2319 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
2320 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
2321 z8k-coff have not been multi-arched. Update z8k-coff build
2324 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2326 * MAINTAINERS: Mark a29k target as obsolete.
2327 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
2328 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
2330 * NEWS: Note that a29k targets are obsolete.
2331 * a29k-tdep.c: Mark as obsolete.
2332 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2333 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2334 a29k-*-vxworks* targets as obsolete.
2335 * remote-adapt.c: Obsolete.
2336 * remote-eb.c: Obsolete.
2337 * remote-mm.c: Obsolete.
2338 * remote-udi.c: Obsolete.
2339 * config/a29k/a29k-udi.mt: Obsolete.
2340 * config/a29k/a29k.mt: Obsolete.
2341 * config/a29k/tm-a29k.h: Obsolete.
2342 * config/a29k/tm-vx29k.h: Obsolete.
2343 * config/a29k/vx29k.mt: Obsolete.
2345 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2347 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
2348 with BFD_ENDIAN_BIG.
2350 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2352 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
2353 * configure, config.in: Re-generate.
2354 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
2355 * defs.h: Do not include <endian.h>.
2357 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
2359 * acconfig.h (HAVE_PT_GETXMMREGS): New.
2360 * config.in: Regenerate.
2361 * configure.in: Update copyright years.
2362 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
2363 * configure: Regenerate.
2364 * i386bsd-nat.c: Update copyright years.
2365 (fill_gregset): Use regcache_collect.
2366 (fetch_inferior_registers): Only fetch integer registers
2367 if requested to do so. Add support for XMM registers
2368 using PT_GETXMMREGS.
2369 (store_inferior_registers): Only store integer registers
2370 if requested to do so. Add support for XMM registers
2371 using PT_SETXMMREGS.
2372 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
2373 (store_inferior_registers): Remove.
2374 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
2375 (fetch_elfcore_registers): New function.
2376 (i386nbsd_elfcore_fns): New.
2377 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
2378 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
2380 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2381 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
2382 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2383 * config/i386/tm-nbsd.h: Update copyright years.
2384 (HAVE_SSE_REGS): Define.
2385 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
2386 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
2387 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
2388 (SIGCONTEXT_PC_OFFSET): Remove.
2389 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2391 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2393 * configure.tgt: Remove powerpc-*-macos* target.
2394 * config/m68k/xm-mpw.h: Delete file.
2395 * config/xm-mpw.h: Delete file.
2396 * ser-mac.c: Delete file.
2397 * mpw-make.sed: Delete file.
2398 * mpw-config.in: Delete file.
2399 * mac-xdep.c: Delete file.
2400 * mac-gdb.r: Delete file.
2401 * mac-defs.h: Delete file.
2402 * mac-nat.c: Delete file.
2403 * config/powerpc/macos.mh: Delete file.
2404 * config/powerpc/macos.mt: Delete file.
2405 * config/powerpc/nm-macos.h: Delete file.
2406 * config/powerpc/tm-macos.h: Delete file.
2407 * source.c (openp, open_source_file): Remove obsolete code.
2408 * top.c (gdb_readline): Ditto.
2409 * utils.c (query): Ditto.
2410 * event-top.c (display_gdb_prompt): Ditto.
2411 * Makefile.in (ser-mac.o): Delete obsolete target.
2414 2002-01-04 Andrew Cagney <ac131313@redhat.com>
2416 * defs.h (BIG_ENDIAN): Delete macro definition.
2417 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
2418 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
2419 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
2420 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2421 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
2422 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
2423 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
2424 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2425 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2426 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
2427 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
2428 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
2429 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2430 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2431 * gdbarch.c: Re-generate.
2433 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2435 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
2438 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2440 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2442 2002-01-04 Andrew Cagney <ac131313@redhat.com>
2444 * value.h (value_ptr): Delete typedef.
2446 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2448 * i386nbsd-nat.c: Update copyright years.
2449 Include i386-tdep.h.
2451 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
2453 * stabsread.c: Update copyright years.
2455 From Debashis Mahata <debashis.mahata@wipro.com>:
2456 (read_struct_fields): Deal with Sun C compiler erroneous stab
2457 output for structs and unions.
2460 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2462 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
2465 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2467 * cp-abi.c: Fix whitespace.
2468 (baseclass_offset): New wrapper function.
2469 * cp-abi.h (baseclass_offset): Add prototype.
2470 (struct cp_abi_ops): Add baseclass_offset pointer.
2472 * valops.c (vb_match): Move to...
2473 * gnu-v2-abi.c (vb_match): here.
2474 * valops.c (baseclass_offset): Move to...
2475 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
2477 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
2479 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
2480 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
2481 * hpacc-abi.c (init_hpacc_ops): Likewise.
2483 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2485 * valops.c (find_overload_match): Accept obj as a
2486 reference parameter. Update it before returning.
2487 * value.h (find_overload_match): Update prototype.
2488 * eval.c (evaluate_subexp_standard): Pass object to
2489 find_overload_match by reference.
2491 2002-01-03 Andrew Cagney <ac131313@redhat.com>
2493 * valarith.c: Replace value_ptr with struct value pointer. Remove
2494 register attribute from value declarations.
2497 * scm-lang.c (scm_lookup_name): Ditto.
2499 2002-01-03 Michael Snyder <msnyder@redhat.com>
2501 Abstract the functionality of iterating over mapped memory
2502 regions into a general purpose iterator function.
2503 * procfs.c (iterate_over_mappings): New function, general purpose
2504 iterator for memory sections.
2505 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
2506 (solib_mappings_callback): New function, callback for above.
2507 (info_proc_mappings): Reimpliment using iterate_over_mappings.
2508 (info_mappings_callback): New function, callback for above.
2510 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
2512 2002-01-01 Mark Kettenis <kettenis@gnu.org>
2514 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
2515 * i386-tdep.c: Include "elf-bfd.h".
2516 (process_note_abi_tag_sections): New function.
2517 (i386_gdbarch_init): Add code to recognize various OS/ABI
2520 * maint.c (_initialize_maint_cmds): Add missing \ in
2523 For older changes see ChangeLog-2001
2529 version-control: never