X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=5f33f8f043d0c87e5a84ca8e0ce6b3492d488124;hb=daa98270063506c799496877db365320179e369b;hp=00a1b3f9089c621e8ebe66704a57904d427546bd;hpb=9b0dea39fa2f08a6156386f67680520e74f046d8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00a1b3f908..5f33f8f043 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,210 @@ +2004-08-11 Mark Kettenis + + * infptrace.c (call_ptrace): Select code based on PTRACE_TYPE_ARG5 + instead of FIVE_ARG_PTRACE. + + * inflow.c (O_NOCTTY): Define to zero if not already defined. + (new_tty): Use O_NOCTTY unconditionally. + +2004-08-10 Mark Kettenis + + * procfs.c (procfs_detach): Cleanup. Print process ID, not LWP + ID. Use comma in output. Use gdb_flush on gdb_stdout instead of + fflush on stdout. + +2004-08-10 Joel Brobecker + + * xcoff_symfile_finish: Replace last call to xmfree by call + to xfree. + +2004-08-10 Andrew Cagney + + * main.c (captured_main): Delete call to init_malloc. + * defs.h (init_malloc): Delete declaration. + * utils.c (mmalloc, mrealloc, mcalloc, mfree) + (init_malloc): Delete functions. + + * defs.h (xmfree): Delete. + * utils.c (xmfree): Delete function. + (xfree): Inline calls to xmfree and mfree. + * symmisc.c (free_symtab_block, free_symtab): Use xfree. + * symfile.c (reread_symbols, init_psymbol_list): Ditto. + * source.c (forget_cached_source_info, find_and_open_source): Ditto. + * somread.c (som_symfile_finish): Ditto. + * objfiles.c (allocate_objfile, free_objfile): + * nlmread.c (nlm_symfile_finish): Ditto. + * hpread.c (hpread_symfile_finish): Ditto. + * elfread.c (free_elfinfo, elf_symfile_finish): Ditto. + * dbxread.c (dbx_symfile_finish, free_bincl_list): Ditto. + * coffread.c (coff_symfile_finish): Ditto. + + * defs.h (xmcalloc): Delete declaration. + * utils.c (xmcalloc): Delete. + (xcalloc): Inline calls to xmcalloc and mcalloc. + * ada-lang.c (_initialize_ada_language): Use htab_create_alloc, + xcalloc and xfree. + * symtab.c (create_demangled_names_hash): Ditto. + + * defs.h (xmrealloc): Delete. + * utils.c (xmrealloc): Delete. + (xrealloc): Inline calls to xmrealloc, mmalloc and mrealloc. + * symmisc.c (extend_psymbol_list): Use xrealloc. + * source.c (find_source_lines): Ditto. + * hpread.c (hpread_lookup_type): Ditto. + * dbxread.c (add_bincl_to_list): Ditto. + + * utils.c (xmmalloc): Delete. + (xmalloc): Inline xmmalloc and mmalloc calls. + (msavestring): Use xmalloc. + * defs.h (xmmalloc): Delete declaration. + * xcoffread.c (xcoff_symfile_init): Use xmalloc instead of + xmmalloc. + * symmisc.c (extend_psymbol_list): Ditto. + * symfile.c (init_psymbol_list): Ditto. + * source.c (find_source_lines): Ditto. + * hpread.c (hpread_symfile_init, hpread_lookup_type): Ditto. + * elfread.c (elf_symtab_read): Ditto. + * dbxread.c (dbx_symfile_init, init_bincl_list): Ditto. + * coffread.c (coff_symfile_init): Ditto. + +2004-08-10 David Carlton + + * MAINTAINERS: Remove David Carlton from c++ testsuite + maintainers. + +2004-08-10 Jerome Guitton + + * symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure to + print a line feed before the prompt. + +2004-08-10 Mark Kettenis + + * procfs.c (procfs_pid_to_str): Use "%ld" to print LWP. + +2004-08-09 Joel Brobecker + + General cleanup of the AIX xm include file: + * config/xm-aix4.h (fd_set): Remove undefine. + Remove include of . + (HAVE_TERMIO): Remove define. + (USG): Likewise. + (NULL): Remove redefine. + (alloca): Remove #pragma. + (vfork): Remove define. + (termdef): Remove. + (SIGWINCH_HANDLER): Remove. + (SIGWINCH_HANDLER_BODY): Remove. + +2004-08-09 Mark Kettenis + + * configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to + GDB_OSABI_OPENBSD_ELF. + +2004-08-07 Robert Millan + + * bsd-kvm.c: Check for nlist.h before including it. + +2004-08-09 Mark Kettenis + + * i386bsd-nat.c (_initialize_i386bsd_nat): Remove `struct + sigcontext' offset consistency checks for ancient BSD. + + * gdb_curses.h [HAVE_CURSESX_H]: Include + + * configure.in: Check for . Check return and + argument types of ptrace. + * configure, config.in: Regenerate. + +2004-08-09 Jim Blandy + + * rs6000-tdep.c (set_sim_regno, init_sim_regno_table, + rs6000_register_sim_regno): Doc fixes. + +2004-08-08 Joel Brobecker + + * mips-tdep.c: Include "floatformat.h". + (n32n64_floatformat_always_valid): New function. + (floatformat_n32n64_long_double_big): New constant. + (mips_gdbarch_init): Set size and format of long double + for N32 and N64 ABIs. + * Makefile.in (mips-tdep.o): Update dependencies. + +2004-08-08 Andrew Cagney + + * gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to + print. Improve script's error messages. + * gdbarch.h: Re-generate. + + * gdbarch.sh (pformat): New function. + (float_format, double_format, long_double_format): List with bit + members. Use pformat when printing. + * gdbarch.c, gdbarch.h: Re-generate. + +2004-08-08 Nathan J. Williams + + * ppcnbsd-nat.c: Include , , + "gdbcore.h", "regcache.h", and "bsd-kvm.h". + (ppcnbsd_supply_pcb): New function. + (_initialize_ppcnbsd_nat): New prototype and function. + * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. + (LOADLIBES): New variable. + * Makefile.in (ppcnbsd-nat.o): Update dependencies. + +2004-08-08 Andrew Cagney + + * gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single) + (builtin_type_ieee_double, builtin_type_ia64_quad) + (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of + BE/LE floating-point types. + * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single) + (builtin_type_ieee_double, builtin_type_ia64_quad) + (builtin_type_ia64_spill): Declare. + * doublest.c (_initialize_doublest, floatformat_ieee_single) + (floatformat_ieee_double, floatformat_arm_ext) + (floatformat_ia64_spill, floatformat_ia64_quad): Add tables + of LE/BE floatformats. + * doublest.h: (struct floatformat, floatformat_ieee_single) + (floatformat_ieee_double, floatformat_arm_ext) + (floatformat_ia64_spill, floatformat_ia64_quad): Declare. + +2004-08-08 Mark Kettenis + + * i386gnu-nat.c (gnu_store_registers): Fix typo. + + * i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collect + instead of regcache_raw_supply when storing the registers. + + * i386gnu-nat.c: Update copyright year. + (gnu_store_registers): Don't use deprecated_registers and + deprecated_registers_valid. Use regcache_valid_p and + regcache_raw_supply instead. + + * vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead of + frame_pc_unwind. + + * procfs.c (procfs_pid_to_str): Remove redundant and unused + variables. Incapitalized "process". + + * configure.in: Add cursesX to the list of possible curses libs. + Add cursesX.h to the list of possible curses headers. + * configure, config.in: Regenerate. + +2004-08-07 Nathan J. Williams + + * configure.in: Test for struct lwp in . + * bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use + the offset of l_addr in struct lwp. + +2004-08-07 Nathan J. Williams + + * bsd-kvm.c: Include "gdbcore.h" + (bsd_kvm_open): Use get_exec_file() to set 'execfile'. + 2004-08-07 Andrew Cagney + * gdbtypes.c (build_flt, build_complex): New functions. + (gdbtypes_post_init): Use. + * doublest.c (floatformat_from_length): Fix tipo, "*" not "&". * gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8