summaryrefslogtreecommitdiff
path: root/gdb/config
Commit message (Collapse)AuthorAgeFilesLines
* 2003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename FRAME_INIT_SAVED_REGS. * gdbarch.h, gdbarch.c: Regenerate. * stack.c (frame_info): Update. * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update. (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update. (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update. * ns32k-tdep.c (ns32k_pop_frame): Update. * mips-tdep.c (mips_pop_frame): Update. * m68hc11-tdep.c (m68hc11_pop_frame): Update. * ia64-tdep.c (ia64_frame_chain): Update. (ia64_frame_saved_pc, ia64_get_saved_register): Update. (ia64_frameless_function_invocation): Update. (ia64_init_extra_frame_info): Update. (ia64_pop_frame_regular): Update. * frame.h (struct frame_info): Update comment. (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. * frame.c (frame_saved_regs_register_unwind): Update. (frame_saved_regs_register_unwind): Update. (deprecated_generic_get_saved_register): Update. * cris-tdep.c: Update comment. * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ppc-linux-tdep.c (ppc_linux_init_abi): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. 2003-03-01 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS.
* 2003-03-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-03-022-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename INIT_EXTRA_FRAME_INFO. * gdbarch.h, gdbarch.c: Regenerate. * arm-tdep.c: Update comments. * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto. * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto. * frame.h, avr-tdep.c: Ditto. * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO. (create_new_frame, legacy_get_prev_frame): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename. * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize deprecated_init_extra_frame_info instead of init_extra_frame_info. * x86-64-tdep.c (x86_64_init_abi): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. Index: doc/ChangeLog 2003-02-26 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to DEPRECATED_INIT_EXTRA_FRAME_INFO.
* 2003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-02-272-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with predicate. Replaces PUSH_DUMMY_FRAME. * gdbarch.h, gdbarch.c: Regnerate. * valops.c (hand_function_call): Update. Call generic_push_dummy_frame directly. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * hppa-tdep.c (hppa_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update. * inferior.h (PUSH_DUMMY_FRAME): Delete definition. * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set push_dummy_frame to generic_push_dummy_frame. * v850-tdep.c (v850_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_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.
* add HAVE_CONTINUABLE_WATCHPOINT to target_opsKris Warkentin2003-02-245-5/+5
|
* Make Sparc/Solaris work again.Kevin Buettner2003-02-181-0/+4
|
* * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,Mark Kettenis2003-02-053-9/+0
| | | | | | | i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all handled fine by i[3456]86-*sco* and i[3456]86-sysv*. * config/i386/i386sco5.mt, config/i386/i386v4.mt, config/i386/i386v42mp.mt: Removed.
* 2003-02-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-0517-468/+0
| | | | | | | | | | | | | | | | | Remove orphaned hosts, targets and files. * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. * config/sparc/tm-sp64sim.h: Delete. * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* hosts. * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and mips*-dec-mach3* targets.
* 2003-02-03 Michael Chastain <mec@shout.net>Michael Chastain2003-02-051-0/+2
| | | | | * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc, gdb/testsuite/gdb.c++/pr-1023.exp.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-042-236/+236
| | | | | | | | | | | | * NEWS: Note that the m32r-*-elf* is obsolete. * monitor.c (monitor_expect): Obsolete reference to m32r. * configure.tgt: Mark m32r-*-elf* as obsolete. * MAINTAINERS: Mark m32k as obsolete. * m32r-rom.c: Obsolete file. * config/m32r/m32r.mt: Obsolete file. * config/m32r/tm-m32r.h: Obsolete file. * m32r-stub.c: Obsolete file. * m32r-tdep.c: Obsolete file.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-042-299/+298
| | | | | | | | | * NEWS: Mention that the z8k-zilog-none is obsolete. * MAINTAINERS: Mark z8k as obsolete. * configure.tgt: Obsolete the z8k-*-coff* target. * config/z8k/z8k.mt: Obsolete file. * config/z8k/tm-z8k.h: Obsolete file. * z8k-tdep.c: Obsolete file.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-042-220/+220
| | | | | | | | | | | | | | | | | | | | * NEWS: Mention that the mn10200-elf is obsolete. * configure.tgt: Obsolete mn10200-*-* target. * breakpoint.c (update_breakpoints_after_exec): Update comment to mention that the mn10200 is obsolete. * breakpoint.h: Ditto. * MAINTAINERS: Mark the mn10200-elf as obsolete. * config/mn10200/mn10200.mt: Obsolete file. * config/mn10200/tm-mn10200.h: Obsolete file. * mn10200-tdep.c: Obsolete file. Index: testsuite/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdb.disasm/mn10200.exp: Obsolete file. * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
* 2003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-042-301/+301
| | | | | | | | | | * MAINTAINERS: Mark h8500 as obsolete. * configure.tgt (h8500-*-*): Mark h8500 code as obsolete. * findvar.c (value_from_register): Ditto. * h8500-tdep.c: Mark file as obsolete. * config/h8500/h8500.mt: Ditto. * config/h8500/tm-h8500.h: Ditto. * NEWS: Mention that h8500 is obsolete.
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-021-1/+1
| | | | | | | | | * gdbarch.sh: Explictly specify all method levels. When a variable with an empty level, provide a non-multi-arch default. (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty. * gdbarch.h: Re-generate. * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined. * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-015-32/+11
| | | | | | | | | | | | | | | | * infcmd.c (print_float_info): Delete code conditional on FLOAT_INFO. * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright. * config/m68k/nm-apollo68b.h: Ditto. * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright. * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto. * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto. Index: doc/ChangeLog 2003-02-01 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete FLOAT_INFO.
* * config/i386/tm-i386os9k.h: Removed.Mark Kettenis2003-02-011-65/+0
|
* * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.Mark Kettenis2003-02-013-37/+0
| | | | | | | | Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since they're identical to i[3456]86-*-sysv* now. * config/i386/i386v32.mh: Removed. * config/i386/xm-i386v32.h: Removed. * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
* * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.Mark Kettenis2003-02-012-10/+0
|
* * config/i386/i386dgux.mh: Removed.Mark Kettenis2003-02-011-10/+0
| | | | * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
* 2003-01-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | * config/djgpp/fnchange.lst: Delete nindy files. * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files. * nindy-share/nindy.c, nindy-share/env.h: Delete files. * nindy-share/coff.h, nindy-share/block_io.h: Delete files. * nindy-share/b.out.h, nindy-share/VERSION: Delete files. * nindy-share/README, nindy-share/Onindy.c: Delete files. * nindy-tdep.c, nindy-share/Makefile: Delete files. * Makefile.in (init.c): Remove nindy references. (saber_gdb): Delete rule. (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c, nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c, and a68v-nat.c. (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules. (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules. (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h, nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and nindy-share/stop.h. * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files. * saber.suppress: Delete file.
* * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...Richard Henderson2003-01-311-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-31 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-312-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.
* * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undefJoel Brobecker2003-01-301-1/+0
| | | | | causing some regressions due to a change in the default value for this macro.
* 2003-01-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-201-3/+3
| | | | | * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename DEPRECATED_REGISTERS_INFO.
* 2003-01-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-193-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-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-171-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-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-141-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-12 Michael Chastain <mec@shout.net>Michael Chastain2003-01-121-0/+1
| | | | * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
* 2003-01-09 Michael Chastain <mec@shout.net>Michael Chastain2003-01-101-0/+9
| | | | * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-083-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.
* * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.Daniel Jacobowitz2003-01-058-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.
* gdb/Daniel Jacobowitz2003-01-043-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.
* * configure.in: Move code that provides the --enable-tui optionMark Kettenis2003-01-021-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.
* Continuing work to convert the hppa targets to multiarch partil.Joel Brobecker2002-12-261-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.
* Continuing work to convert the hppa targets to multiarch partial.Joel Brobecker2002-12-262-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-24 David Carlton <carlton@math.stanford.edu>David Carlton2002-12-241-1/+0
| | | | | * config/sparc/tm-sparc.h: Delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY.
* Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.Kevin Buettner2002-12-242-0/+35
|
* * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.carlton_dictionary-20021223-mergeDaniel Jacobowitz2002-12-233-45/+3
| | | | | | * config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl. * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
* * x86-64-tdep.h (x86_64_init_abi): New prototype.Mark Kettenis2002-12-211-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.
* Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.Kevin Buettner2002-12-211-19/+0
|
* 2002-12-16 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-1649-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.
* * hppa-hpux-tdep.c: New file.Joel Brobecker2002-12-162-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.
* Multiarch NUM_REGS for MIPS.Kevin Buettner2002-12-133-16/+0
|
* * corelow.c (init_core_ops): Delete references to to_require_attachDaniel Jacobowitz2002-12-121-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-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-12-116-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.
* * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change toDaniel Jacobowitz2002-12-111-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-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-091-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-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-094-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-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-081-1/+0
| | | | | * config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY): Delete redundant definition.
* 2002-12-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-062-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.
* * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,Joel Brobecker2002-12-041-1/+1
| | | | which is an obsolete macro name.