aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2003-01-31 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...Richard Henderson1-2/+5
(register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. * alpha-tdep.c (alpha_register_name): Add "unique". * alpha-tdep.h (ALPHA_NUM_REGS): Increment. (ALPHA_UNIQUE_REGNUM): New. * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
2003-01-312003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-10/+0
* README: Remove reference to Ericsson 1800 monitor. * Makefile.in (remote-es.o): Delete rule. (ALLDEPFILES): Delete remote-es.c. * remote-es.c: Delete file. * config/m68k/es1800.mt: Delete file. * config/djgpp/fnchange.lst: Update. * configure.tgt: Delete m68*-ericsson-* target.
2003-01-30 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undefJoel Brobecker1-1/+0
causing some regressions due to a change in the default value for this macro.
2003-01-202003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-3/+3
* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename DEPRECATED_REGISTERS_INFO.
2003-01-192003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-10/+9
* cris-tdep.c: Fix function declaration indentation. * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto. * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto. * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto. * symfile.h, symtab.h, target.c, target.h, value.h: Ditto. * xcoffread.c, config/pa/tm-hppa.h: Ditto. * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2003-01-172003-01-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+16
* config/djgpp/fnchange.lst: Rename mi1-var-block.exp, mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp. Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename i386-interix-nat.c and i386-interix-tdep.c. Rename m68klinux-nat.c and m68klinux-tdep.c. Rename config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename gdb/objc-exp.tab.c and gdb/ada-exp.tab.c * main.c (captured_main): Use xfree, not free.
2003-01-142003-01-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. * elfread.c, eval.c, expprint.c, expression.h: Update copyright. * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. * language.c, language.h, m32r-tdep.c: Update copyright. * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. Index: mi/ChangeLog 2003-01-13 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Update copyright.
2003-01-122003-01-12 Michael Chastain <mec@shout.net>Michael Chastain1-0/+1
* config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
2003-01-102003-01-09 Michael Chastain <mec@shout.net>Michael Chastain1-0/+9
* config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
2003-01-082003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-7/+7
* alpha-tdep.c: Use get_frame_base. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. * config/sparc/tm-sparc.h: Ditto.
2003-01-05 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.Daniel Jacobowitz8-40/+8
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. * blockframe.c: Include "gdbcmd.h" and "command.h". (backtrace_below_main): New variable. (file_frame_chain_valid, func_frame_chain_valid) (nonnull_frame_chain_valid, generic_file_frame_chain_valid) (generic_func_frame_chain_valid): Remove functions. (frame_chain_valid, do_flush_frames_sfunc): New functions. (_initialize_blockframe): New function. * Makefile.in (blockframe.o): Update dependencies. * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME comment. Call frame_chain_valid (). * frame.h: Remove old prototypes. Add prototype for frame_chain_valid and update comments to match. * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. Remove old comment. * gdbarch.h: Regenerated. * gdbarch.c: Regenerated. Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
2003-01-04gdb/Daniel Jacobowitz3-25/+4
* buildsym.h (processing_hp_compilation): Remove obsolete variable. * gdbarch.sh Remove include of "value.h" in gdbarch.h. (COERCE_FLOAT_TO_DOUBLE): Remove. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * Makefile.in: Remove value_h from gdbarch_h. * valops.c (coerce_float_to_double): New variable. (default_coerce_float_to_double): Remove. (standard_coerce_float_to_double): Remove. (value_arg_coerce): Use coerce_float_to_double. (_initialize_valops): Add "set coerce-float-to-double". * value.h (default_coerce_float_to_double): Remove prototype. (standard_coerce_float_to_double): Remove prototype. * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as prototyped. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Mark all functions as prototyped. * hppa-tdep.c (hppa_coerce_float_to_double): Remove. * alpha-tdep.c (alpha_gdbarch_init): Remove call to set_gdbarch_coerce_float_to_double. * arm-tdep.c (arm_gdbarch_init): Likewise. * frv-tdep.c (frv_gdbarch_init): Likewise. * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. (mips_coerce_float_to_double): Remove. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. (rs6000_coerce_float_to_double): Remove. * s390-tdep.c (s390_gdbarch_init): Likewise. * sh-tdep.c (sh_gdbarch_init): Likewise. (sh_coerce_float_to_double): Remove. * sparc-tdep.c (sparc_gdbarch_init): Likewise. (sparc_coerce_float_to_double): Remove. * v850-tdep.c (v850_gdbarch_init): Likewise. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. (hppa_coerce_float_to_double): Remove prototype. * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. doc/ * gdb.texinfo (Controlling GDB): Add ABI section. Document "set coerce-float-to-double". * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation. testsuite/ * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for stabs. * gdb.base/completion.exp: Allow marker1(void) as well as marker1(). * gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-02* configure.in: Move code that provides the --enable-tui optionMark Kettenis1-1/+0
before the "Checks for libraries" section. Polish the code somewhat and set need_curses to yes if we build the TUI. Rewrite code that looks for a library providing termcap functionality to match more closely what's done in the Readline library, and move it into to the "Checks for libraries" section. * configure: Regenerated. * Makefile.in (TERMCAP): Remove variable. * config/i386/go32.mh (TERMCAP): Remove variable.
2002-12-26 Continuing work to convert the hppa targets to multiarch partil.Joel Brobecker1-42/+141
* hppa-tdep.c: Add some missing forward declarations. (frameless_function_invocation): Prefix the function name by "hppa_" to avoid polluting the namespace. Update all calls to use the new function name. (saved_pc_after_call): Ditto. (init_extra_frame_info): Ditto. (frame_chain): Ditto. (push_dummy_frame): Ditto. (target_read_pc): Ditto. (target_write_pc): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (skip_trampoline_code): Ditto. (hppa_read_fp): New function, renamed from target_read_fp. (hppa_target_read_fp): New function, using hppa_read_fp. This function conforms to the function profile for the READ_FP gdbarch method. (hppa_extract_struct_value_address): New function, extracted from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS macro. (hppa_frame_num_args): New function. (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target. * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation for the switch to multiarch partial. Update some of the macros definitions to match some changes described above in the name of the function they are calling. (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will not be straightforward to convert. Do now wrap it inside "#if !... #endif" to remember that this macro has still not been taken care of. (FIX_CALL_DUMMY): Likewise.
2002-12-26 Continuing work to convert the hppa targets to multiarch partial.Joel Brobecker2-39/+14
* hppa-tdep.c: (hppa_register_raw_size): New function replacing the body of macro REGISTER_RAW_SIZE. * hppa-hpux-tdep.c: Add new functions replacing macro bodies from config/pa/tm-hppah.h. These functions will be used to initialize the gdbarch structure. (hppa_hpux_pc_in_sigtramp): New function. (hppa_hpux_frame_saved_pc_in_sigtramp): New function. (hppa_hpux_frame_base_before_sigtramp): New function. (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function. Add gdbcore.h #include. * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition of this gdbarch-eligible macro to a call to the new associated function. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise. (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro into a call to the new associated function. (FRAME_BASE_BEFORE_SIGTRAMP): Likewise. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise. * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
2002-12-242002-12-24 David Carlton <carlton@math.stanford.edu>David Carlton1-1/+0
* config/sparc/tm-sparc.h: Delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY.
2002-12-24Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.Kevin Buettner2-0/+35
2002-12-23 * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.Daniel Jacobowitz3-45/+3
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl. * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-21* x86-64-tdep.h (x86_64_init_abi): New prototype.Mark Kettenis1-0/+1
* x86-64-tdep.c (i386_fp_regnum_p): Remove function. (x86_64_init_abi): Make non-static. Set number of pseudo registers to 0. (x86_64_gdbarch_init): Remove function. (_initialize_x86_64_tdep): Renove register_gdbarch_init call. Remove code dealing with dissambly. * x86-64-linux-tdep.c (x86_64_linux_init_abi): New function. (_initialize_x86_64_linux_tdep): New function. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and i386-tdep.o.
2002-12-21Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.Kevin Buettner1-19/+0
2002-12-162002-12-16 Andrew Cagney <ac131313@redhat.com>Andrew Cagney49-2746/+0
* config/arc/arc.mt, config/arc/tm-arc.h: Delete. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete. * config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete. * config/i386/i386aix.mh, config/i386/i386aix.mt: Delete. * config/i386/i386m3.mh, config/i386/i386m3.mt: Delete. * config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete. * config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete. * config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete. * config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete. * config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete. * config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete. * config/i960/mon960.mt, config/i960/nindy960.mt: Delete. * config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete. * config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete. * config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete. * config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete. * config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete. * config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete. * config/m88k/delta88.mh, config/m88k/delta88.mt: Delete. * config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete. * config/m88k/m88k.mh, config/m88k/m88k.mt: Delete. * config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete. * config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete. * config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete. * config/m88k/xm-dgux.h: Delete. * fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete. * i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete. * os9kread.c, remote-bug.c, remote-nindy.c: Delete. * remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete. * d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete. * ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete. * ch-valprint.c: Delete.
2002-12-16 * hppa-hpux-tdep.c: New file.Joel Brobecker2-2/+2
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi- specific initialization routines. * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c. (hppa-hpux-tdep.o): Add rule. * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o. * config/pa/hppa64.mt (TDEPFILES): Likewise.
2002-12-13Multiarch NUM_REGS for MIPS.Kevin Buettner3-16/+0
2002-12-12 * corelow.c (init_core_ops): Delete references to to_require_attachDaniel Jacobowitz1-3/+0
and to_require_detach. * exec.c (init_exec_ops): Likewise. * hppah-nat.c (child_follow_fork): Call hppa_require_attach and hppa_require_detach directly. * inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete. * inftarg.c (child_detach): Remove. (child_detach_from_process): Rename to child_detach, remove after_fork argument. (child_attach): Remove. (child_attach_to_process): Rename to child_attach, remove after_fork argument. (init_child_ops): Delete references to to_require_attach and to_require_detach. * infttrace.c (hppa_require_attach): Update comment. * target.c (cleanup_target, update_current_target) (init_dummy_target, setup_target_debug): Delete references to to_require_attach and to_require_detach. (find_default_require_detach, find_default_require_attach) (debug_to_require_attach, debug_to_require_detach): Remove functions. * target.h (struct target_ops): Remove to_require_attach and to_require_detach. (target_require_attach, target_require_detach): Delete macros. (find_default_require_detach, find_default_require_attach): Delete prototypes. * config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
2002-12-112002-12-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-6/+7
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC. Change to a function with predicate. * gdbarch.h, gdbarch.c: Re-generate. * frame.c (get_prev_frame): Update. Test DEPRECATED_INIT_FRAME_PC_P. * config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC): Update. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC): Update. * config/mn10200/tm-mn10200.h (DEPRECATED_INIT_FRAME_PC): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * i386-interix-tdep.c (i386_interix_init_abi): Update. * arm-tdep.c: Update comments. * h8300-tdep.c (h8300_gdbarch_init): Explicitly set init_frame_pc. * config/m32r/tm-m32r.h (DEPRECATED_INIT_FRAME_PC): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * x86-64-tdep.c (x86_64_init_abi): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * config/z8k/tm-z8k.h (INIT_FRAME_PC_FIRST): Delete macro. (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
2002-12-11 * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change toDaniel Jacobowitz1-1/+1
CHILD_FOLLOW_FORK. * hppah-nat.c (saved_vfork_pid): Add. (child_post_follow_vfork): Remove. (child_follow_fork): New function. (child_wait): Call detach_breakpoints after receiving the child vfork. Call child_resume directly instead of going through resume (). Make sure we have the exec before reporting the vfork. * inferior.h (follow_inferior_reset_breakpoints): Add prototype. * infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove. (follow_fork): New function. Call target_follow_fork. (follow_inferior_reset_breakpoints): New function broken out from old follow_inferior_fork. (resume): Remove hack to follow exec after vfork. * inftarg.c (child_post_follow_vfork): Remove. (child_follow_fork): New function. (init_child_ops): Replace to_post_follow_vfork with to_follow_fork. * target.c (cleanup_target): Replace to_post_follow_vfork with to_follow_fork. (update_current_target): Likewise. (setup_target_debug): Likewise. (debug_to_post_follow_vfork): Remove. (debug_to_follow_fork): New function. * target.h (struct target_ops): Replace to_post_folow_vfork with to_follow_fork. (child_post_follow_vfork): Remove prototype. (child_follow_fork): Add prototype. (target_post_follow_vfork): Remove macro. (target_follow_fork): Add macro. testsuite/ * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2002-12-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+5
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration. * dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
2002-12-092002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-10/+10
* gdbarch.sh (INIT_FRAME_PC_FIRST, INIT_FRAME_PC_DEFAULT): Convert to pure functions. * gdbarch.h, gdbarch.c: Re-generate. * frame.c (get_prev_frame): Explictly assign prev's pc with value returned by INIT_FRAME_PC_FIRST and INIT_EXTRA_FRAME_INFO. * arch-utils.h (init_frame_pc_default, init_frame_pc_noop): Change declaration to a function returning a CORE_ADDR. * x86-64-tdep.h (x86_64_init_frame_pc): Ditto. * arch-utils.c (init_frame_pc_noop): Return the PC value. (init_frame_pc_default): Ditto. * x86-64-linux-tdep.c (x86_64_init_frame_pc): Ditto. * s390-tdep.c (s390_init_frame_pc_first): Ditto. * mips-tdep.c (mips_init_frame_pc_first): Ditto. * dwarf2cfi.h (cfi_init_frame_pc): Ditto. * dwarf2cfi.c (cfi_init_frame_pc): Ditto. * alpha-tdep.c (alpha_init_frame_pc_first): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Set init_frame_pc to init_frame_pc_noop. (i386_interix_init_frame_pc): Delete function. * z8k-tdep.c (init_frame_pc): Delete function. * config/z8k/tm-z8k.h (INIT_FRAME_PC): Define as init_frame_pc_noop. (INIT_FRAME_PC_FIRST): Ditto. * config/mn10200/tm-mn10200.h (INIT_FRAME_PC): Ditto. (INIT_FRAME_PC_FIRST): Ditto. * config/sparc/tm-sparc.h (INIT_FRAME_PC): Ditto. * config/rs6000/tm-rs6000.h (INIT_FRAME_PC): Redefine as init_frame_pc_noop. (INIT_FRAME_PC_FIRST): Convert to an expression. * config/sparc/tm-sparc.h (INIT_FRAME_PC_FIRST): Ditto.
2002-12-082002-12-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+0
* config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY): Delete redundant definition.
2002-12-062002-12-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+2
* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename INIT_FRAME_PC_FIRST. Change to a function with predicate. Do not provide a default value. * gdbarch.h, gdbarch.c: Regenerate. * frame.c (get_prev_frame): Update. Check DEPRECATED_INIT_FRAME_PC_FIRST_P. * s390-tdep.c (s390_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
2002-12-04 * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,Joel Brobecker1-1/+1
which is an obsolete macro name.
2002-12-04 * doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.Daniel Jacobowitz1-0/+4
* config/alpha/alpha-linux.mh (MH_CFLAGS): Add -mieee.
2002-12-03 * config/pa/tm-hppah.h (SNAP1): Remove unused macro.Joel Brobecker1-3/+0
(SNAP2): Likewise.
2002-12-02 * config/powerpc/aix432.mh (NATDEPFILES): Add a comment explainingJoel Brobecker1-0/+2
why aix-thread.o is not listed.
2002-12-012002-12-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-13/+13
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename PC_IN_CALL_DUMMY. Change to predicate. Always allow call. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update. * config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update. * config/pa/tm-hppa.h, frame.h: Update. * x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update. * s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update. * m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update. * cris-tdep.c, alpha-tdep.c: Update. * frame.c (set_unwind_by_pc, create_new_frame): Use either DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame. (get_prev_frame): Ditto. Index: doc/ChangeLog 2002-12-01 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete PC_IN_CALL_DUMMY.
2002-11-29 * configure.in: Check that the pthdebug library is recent enoughJoel Brobecker1-3/+1
before enabling thread support on native AiX. * configure: Regenerate. * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o from the list of object files as it is now appended by configure if thread support is enabled. (NAT_CLIBS): Removed as -lpthdebug is also appended by configure if thread support is enabled.
2002-11-282002-11-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-5/+5
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename USE_GENERIC_DUMMY_FRAMES. * gdbarch.h, gdbarch.c: Regenerate. * valops.c, frame.c: Update. * config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update. * config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update. * config/pa/tm-hppa.h, blockframe.c: Update. * vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto. * m68k-tdep.c, alpha-tdep.c: Ditto. * arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1. * mips-tdep.c: Ditto. Index: doc/ChangeLog 2002-11-28 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Host Definition): Delete documentation on USE_GENERIC_DUMMY_FRAMES.
2002-11-272002-11-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-7/+7
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use deprecated pc_in_call_dummy function. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto. * config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto. * config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
2002-11-272002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-0/+21
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_at_entry_point. * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack. * config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack. * config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK. (USE_GENERIC_DUMMY_FRAMES): Define as zero. (PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
2002-11-262002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-1/+1
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename pc_in_call_dummy_before_text_end (deprecated_pc_in_call_dummy_after_text_end): Rename pc_in_call_dummy_after_text_end. (deprecated_pc_in_call_dummy_on_stack): Rename pc_in_call_dummy_on_stack. (deprecated_pc_in_call_dummy_at_entry_point): Rename pc_in_call_dummy_at_entry_point. * m68k-tdep.c (m68k_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end) (deprecated_pc_in_call_dummy_on_stack) (deprecated_pc_in_call_dummy_at_entry_point): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
2002-11-26 * acconfig.h (HAVE_PREAD64): Add.Daniel Jacobowitz1-1/+4
* configure.in: Check for pread64. * config.in: Regenerated. * configure: Regenerated. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory. * linux-proc.c (linux_proc_xfer_memory): New function. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
2002-11-23 * Makefile.in (m68k_tdep_h): Define.Andreas Schwab2-16/+8
(abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o) (remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h). * m68k-tdep.c: Move register number enum ... * m68k-tdep.h: ... to this new file and rename the constants from E_* to M68K_*. All uses changed. * config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions. * abug-rom.c: Include "m68k-tdep.h". Use M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM. * cpu32bug-rom.c: Likewise. * dbug-rom.c: Likewise. * m68k-tdep.c: Likewise. * m68klinux-nat.c: Likewise. * remote-est.c: Likewise. * rom68k-rom.c: Likewise. * config/m68k/tm-linux.h: Likewise.
2002-11-22* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.Christopher Faylor1-1/+5
(struct so_stuff): Add end_addr field. (register_loaded_dll): Calculate and store end address of loaded dll. (solib_address): New function. (child_solib_loaded_library_pathname): Pass carefully constructed section info to safe_symbol_file_add rather than ignoring it. (get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is loaded. (do_initial_child_stuff): Call disable_breakpoints_in_shlibs. (child_create_inferior): Fix a compiler warning. * config/i386/tm-cygwin.h (PC_SOLIB): Define new macro. (solib_address): Declare new function.
2002-11-212002-11-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-8/+0
* mips-tdep.c (mips_dump_tdep): Delete references to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. * config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro. (GDB_TARGET_UNMASK_DISAS_PC): Delete macro. * printcmd.c (build_address_symbolic): Delete calls to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. (address_info): Ditto. Fix PR gdb/773.
2002-11-19 * m68klinux-nat.c (IS_SIGTRAMP, IS_RT_SIGTRAMP)Andreas Schwab1-1/+1
(m68k_linux_in_sigtramp, SIGCONTEXT_PC_OFFSET) (UCONTEXT_PC_OFFSET, m68k_linux_sigtramp_saved_pc) (m68k_linux_frame_saved_pc): Move to ... * m68klinux-tdep.c: ... here. New file. * Makefile.in (m68klinux-tdep.o): Add dependencies. * config/m68k/linux.mt (TDEPFILES): Add m68klinux-tdep.o.
2002-11-16 * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don'tDaniel Jacobowitz1-1/+1
define. (struct target_waitstatus): Add opaque definition. * corelow.c (init_core_ops): Don't set to_clone_and_follow_inferior. * exec.c (init_exec_ops): Likewise. * fork-child.c (clone_and_follow_inferior): Remove. * hppah-nat.c (child_post_follow_inferior_by_clone): Remove. * inferior.h (clone_and_follow_inferior): Remove prototype. * infrun.c (follow_fork_mode_both): Remove. (follow_fork_mode_kind_names): Remove commented out "both". (follow_inferior_fork): Remove follow_fork_mode_both support. * inftarg.c (child_clone_and_follow_inferior): Remove. (child_post_follow_inferior_by_clone): Remove. (init_child_ops): Don't set to_clone_and_follow_inferior or to_post_follow_inferior_by_clone. * target.c (default_clone_and_follow_inferior): Remove. (cleanup_target): Don't set to_clone_and_follow_inferior or to_post_follow_inferior_by_clone. (find_default_clone_and_follow_inferior): Remove. (init_dummy_target): Don't set to_clone_and_follow_inferior. (debug_to_clone_and_follow_inferior): Remove. (debug_to_post_follow_inferior_by_clone): Remove. (setup_target_debug): Don't set to_clone_and_follow_inferior or to_post_follow_inferior_by_clone. * target.h (struct target_ops): Remove to_clone_and_follow_inferior and to_post_follow_inferior_by_clone. (child_clone_and_follow_inferior): Remove prototype. (child_post_follow_inferior_by_clone): Remove prototype. (target_clone_and_follow_inferior): Remove macro. (target_post_follow_inferior_by_clone): Remove macro. (find_default_clone_and_follow_inferior): Remove prototype.
2002-11-16 * breakpoint.c (bpstat_stop_status): Call inferior_has_forked,Daniel Jacobowitz1-4/+2
inferior_has_vforked, and inferior_has_execd instead of target_has_forked, target_has_vforked, and target_has_execd. * config/pa/nm-hppah.h (CHILD_HAS_FORKED, CHILD_HAS_VFORKED) (CHILD_HAS_EXECD, CHILD_HAS_SYSCALL_EVENT): Don't define. (CHILD_WAIT): Define. (child_wait): Add prototype. * hppah-nat.c (hpux_has_forked): Rename from child_has_forked. Add prototype. (hpux_has_vforked): Likewise, from child_has_vforked. (hpux_has_execd): Likewise, from child_has_execd. (hpux_has_syscall_event): Likewise, from child_has_syscall_event. (not_same_real_pid, child_wait): New, copied from inftarg.c. Call hpux_has_forked, hpux_has_vforked, hpux_has_execd, and hpux_has_syscall_event instead of the target hooks. * infrun.c (inferior_has_forked, inferior_has_vforked) (inferior_has_execd): New functions. * inftarg.c (not_same_real_pid): Remove. (child_wait): Remove references to not_same_real_pid, target_has_forked, target_has_vforked, target_has_execd, and target_has_syscall_event. (child_has_forked, child_has_vforked, child_has_execd) (child_has_syscall_event): Remove. (init_child_ops): Remove references to child_has_forked, child_has_vforked, child_has_execd, and child_has_syscall_event. * infttrace.c (hpux_has_forked): Rename from child_has_forked. (hpux_has_vforked): Likewise, from child_has_vforked. (hpux_has_execd): Likewise, from child_has_execd. (hpux_has_syscall_event): Likewise, from child_has_syscall_event. * target.c (cleanup_target): Remove references to to_has_forked, to_has_vforked, to_has_execd, and to_has_syscall_event. (update_current_target): Likewise. (setup_target_debug): Likewise. (debug_to_has_forked): Remove. (debug_to_has_vforked): Remove. (debug_to_has_execd): Remove. (debug_to_has_syscall_event): Remove. * target.h (struct target_ops): Remove to_has_forked. to_has_vforked, to_has_execd, and to_has_syscall_event. (child_has_forked, child_has_vforked, child_has_execd) (child_has_syscall_event): Remove prototypes. (inferior_has_forked, inferior_has_vforked, inferior_has_execd): Add prototypes. (target_has_forked, target_has_vforked, target_has_execd) (target_has_syscall_event): Remove macros.
2002-11-16 * hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.Daniel Jacobowitz1-1/+0
* inftarg.c (child_can_follow_vfork_prior_to_exec): Remove. (init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec. * infttrace.c (child_can_follow_vfork_prior_to_exec): Remove. * target.c (cleanup_target): Remove reference to to_can_follow_vfork_prior_to_exec. (update_current_target): Likewise. (debug_to_can_follow_vfork_prior_to_exec): Remove. (setup_target_debug): Remove reference to to_can_follow_vfork_prior_to_exec. * target.h (struct target_ops): Remove to_can_follow_vfork_prior_to_exec. (child_can_follow_vfork_prior_to_exec): Remove prototype. (target_can_follow_vfork_prior_to_exec): Remove definition. * config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't define. * infrun.c (follow_vfork_when_exec): Remove. (follow_inferior_fork): Remove references to follow_vfork_when_exec. (follow_exec): Likewise. (handle_inferior_event): Likewise. (keep_going): Likewise.
2002-11-162002-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-5/+0
* frame.c (generic_unwind_get_saved_register): Make static. * frame.h (generic_unwind_get_saved_register): Delete declaration. * avr-tdep.c (avr_gdbarch_init): Do not set get_saved_register, defaults to generic_unwind_get_saved_register. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Delete macro.
2002-11-142002-11-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-25/+25
* regcache.h (deprecated_read_register_bytes): Rename read_register_bytes. (deprecated_write_register_bytes): Rename write_register_bytes. * alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update. * dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update. * ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update. * sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update. * xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update. * config/nm-m3.h, config/h8500/tm-h8500.h: Update. * config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update. * config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update. * config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update. * config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update. * config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update. * config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update. 2002-11-13 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Use deprecated_write_register_bytes instead of write_register_bytes.