binutils-gdb/gdb/ChangeLog

253 lines
8.7 KiB
Plaintext
Raw Normal View History

2002-01-07 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (tracepoint_save_command): From Klee Dienes --
use tilde_expand and strerror for opening save-tracepoints file.
* thread-db.c (thread_db_new_objfile): Indendation fix.
* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.
2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
From Nick Clifton <nickc@redhat.com>
* d10v-tdep.c: Set STACK_START to 0x200bffe.
2002-01-07 Michael Snyder <msnyder@redhat.com>
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
Don't use exec_bfd if it's NULL.
2002-01-06 Mark Kettenis <kettenis@gnu.org>
* valops.c (value_arg_coerce): Fix formatting.
2002-01-07 03:18:28 +08:00
2002-01-06 Andrew Cagney <ac131313@redhat.com>
* hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
* gnu-nat.c: Ditto.
2002-01-07 03:10:24 +08:00
2002-01-06 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
z8k-coff have not been multi-arched. Update z8k-coff build
status.
2002-01-06 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Mark a29k target as obsolete.
* Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
(remote-mm.o, remote-udi.o): Obsolete. Remove references in
comments.
* NEWS: Note that a29k targets are obsolete.
* a29k-tdep.c: Mark as obsolete.
* configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
a29k-*-vxworks* targets as obsolete.
* remote-adapt.c: Obsolete.
* remote-eb.c: Obsolete.
* remote-mm.c: Obsolete.
* remote-udi.c: Obsolete.
* config/a29k/a29k-udi.mt: Obsolete.
* config/a29k/a29k.mt: Obsolete.
* config/a29k/tm-a29k.h: Obsolete.
* config/a29k/tm-vx29k.h: Obsolete.
* config/a29k/vx29k.mt: Obsolete.
2002-01-06 12:50:56 +08:00
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
with BFD_ENDIAN_BIG.
2002-01-06 06:06:38 +08:00
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
* configure, config.in: Re-generate.
* config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
* defs.h: Do not include <endian.h>.
2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
* acconfig.h (HAVE_PT_GETXMMREGS): New.
* config.in: Regenerate.
* configure.in: Update copyright years.
Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
* configure: Regenerate.
* i386bsd-nat.c: Update copyright years.
(fill_gregset): Use regcache_collect.
(fetch_inferior_registers): Only fetch integer registers
if requested to do so. Add support for XMM registers
using PT_GETXMMREGS.
(store_inferior_registers): Only store integer registers
if requested to do so. Add support for XMM registers
using PT_SETXMMREGS.
* i386nbsd-nat.c (fetch_inferior_registers): Remove.
(store_inferior_registers): Remove.
(fetch_core_registers): Use supply_gregset and i387_supply_fsave.
(fetch_elfcore_registers): New function.
(i386nbsd_elfcore_fns): New.
(_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
* config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
i386bsd-nat.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.
* config/i386/tm-nbsd.h: Update copyright years.
(HAVE_SSE_REGS): Define.
(IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
(SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
(SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
(SIGCONTEXT_PC_OFFSET): Remove.
(FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2002-01-05 13:54:31 +08:00
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* configure.tgt: Remove powerpc-*-macos* target.
* config/m68k/xm-mpw.h: Delete file.
* config/xm-mpw.h: Delete file.
* ser-mac.c: Delete file.
* mpw-make.sed: Delete file.
* mpw-config.in: Delete file.
* mac-xdep.c: Delete file.
* mac-gdb.r: Delete file.
* mac-defs.h: Delete file.
* mac-nat.c: Delete file.
* config/powerpc/macos.mh: Delete file.
* config/powerpc/macos.mt: Delete file.
* config/powerpc/nm-macos.h: Delete file.
* config/powerpc/tm-macos.h: Delete file.
* source.c (openp, open_source_file): Remove obsolete code.
* top.c (gdb_readline): Ditto.
* utils.c (query): Ditto.
* event-top.c (display_gdb_prompt): Ditto.
* Makefile.in (ser-mac.o): Delete obsolete target.
* NEWS: Update.
2002-01-05 12:30:46 +08:00
2002-01-04 Andrew Cagney <ac131313@redhat.com>
* defs.h (BIG_ENDIAN): Delete macro definition.
* a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
* gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
* gdbarch.c: Re-generate.
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* thread-db.c (thread_db_new_objfile): Do not enable thread_db
for core files.
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2002-01-04 Andrew Cagney <ac131313@redhat.com>
* value.h (value_ptr): Delete typedef.
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
* i386nbsd-nat.c: Update copyright years.
Include i386-tdep.h.
2002-01-04 Elena Zannoni <ezannoni@redhat.com>
* stabsread.c: Update copyright years.
From Debashis Mahata <debashis.mahata@wipro.com>:
(read_struct_fields): Deal with Sun C compiler erroneous stab
output for structs and unions.
2002-01-05 03:55:08 +08:00
Fix PR gdb/269.
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* p-valprint.c: Include "cp-abi.h" for baseclass_offset
prototype.
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* cp-abi.c: Fix whitespace.
(baseclass_offset): New wrapper function.
* cp-abi.h (baseclass_offset): Add prototype.
(struct cp_abi_ops): Add baseclass_offset pointer.
* valops.c (vb_match): Move to...
* gnu-v2-abi.c (vb_match): here.
* valops.c (baseclass_offset): Move to...
* gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
* gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
* gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
* gnu-v3-abi.c (init_gnuv3_ops): Likewise.
* hpacc-abi.c (init_hpacc_ops): Likewise.
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* valops.c (find_overload_match): Accept obj as a
reference parameter. Update it before returning.
* value.h (find_overload_match): Update prototype.
* eval.c (evaluate_subexp_standard): Pass object to
find_overload_match by reference.
2002-01-04 13:20:09 +08:00
2002-01-03 Andrew Cagney <ac131313@redhat.com>
* valarith.c: Replace value_ptr with struct value pointer. Remove
register attribute from value declarations.
* valops.c: Ditto.
* value.h: Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
2002-01-06 12:37:53 +08:00
2002-01-03 Michael Snyder <msnyder@redhat.com>
Abstract the functionality of iterating over mapped memory
regions into a general purpose iterator function.
* procfs.c (iterate_over_mappings): New function, general purpose
iterator for memory sections.
(proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
(solib_mappings_callback): New function, callback for above.
(info_proc_mappings): Reimpliment using iterate_over_mappings.
(info_mappings_callback): New function, callback for above.
* procfs.c (proc_set_watchpoint): Add cast to suppress warning.
2002-01-01 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
* i386-tdep.c: Include "elf-bfd.h".
(process_note_abi_tag_sections): New function.
(i386_gdbarch_init): Add code to recognize various OS/ABI
combinations.
* maint.c (_initialize_maint_cmds): Add missing \ in
string-literal.
2002-01-03 14:02:43 +08:00
For older changes see ChangeLog-2001
Local Variables:
mode: change-log
left-margin: 8
fill-column: 74
version-control: never
End: