aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-082003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney24-167/+193
* alpha-tdep.c: Use get_next_frame. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. * xstormy16-tdep.c: Ditto.
2003-01-082003-01-07 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-9/+16
* mips.h: Fix missing space in comment. (INSN_ISA1, INSN_ISA2, INSN_ISA3, INSN_ISA4, INSN_ISA5) (INSN_ISA32, INSN_ISA32R2, INSN_ISA64): Shift values right by four bits.
2003-01-08 * ppc-opc.c (powerpc_macros <extrwi>): Accept a shift of 32.Alan Modra2-2/+6
2003-01-08 * elf32-hppa.c (final_link_relocate): For all DP relative relocations,Dave Anglin2-7/+11
adjust addil instructions if the symbol has no section.
2003-01-082003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney26-299/+407
* 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-08* configure: Regenerate with proper autoconf 2.13.Christopher Faylor2-16/+1218
2003-01-08*** empty log message ***gdbadmin1-1/+1
2003-01-07daily updateAlan Modra1-1/+1
2003-01-072003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-2/+36
* frame.c (deprecated_get_frame_context): New function. (deprecated_set_frame_context): New function. * frame.h (deprecated_get_frame_context): Declare. (deprecated_set_frame_context): Declare. * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
2003-01-07* configure.in: Add AC_PREREQ for consistency.Christopher Faylor3-1217/+26
* configure: Regenerate.
2003-01-07* config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value basedDJ Delorie2-2/+17
on operand type. (xstormy16_md_apply_fix3): Use adjustment.
2003-01-07* gas/xstormy16/reloc-2.d: Adjust for fixed REL12 relocs.DJ Delorie2-4/+8
2003-01-07* elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 notDJ Delorie2-1/+6
partial_inplace.
2003-01-072003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-4/+36
* frame.c (deprecated_set_frame_next_hack): New function. (deprecated_set_frame_prev_hack): New function. * frame.h (deprecated_set_frame_next_hack): Declare. (deprecated_set_frame_prev_hack): Declare. * mcore-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2003-01-072003-01-07 David Carlton <carlton@math.stanford.edu>David Carlton2-63/+87
* linespec.c (decode_line_1): Move code into decode_dollar. (decode_dollar): New function.
2003-01-07zap #define FRAME_C.Andrew Cagney1-1/+0
2003-01-072003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-17/+24
* arm-tdep.c (arm_init_extra_frame_info): Use deprecated_update_frame_base_hack. * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Ditto. (fix_frame_pointer): Ditto. (mn10300_analyze_prologue): Ditto.
2003-01-072003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney17-36/+47
* xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate extra_info using frame_extra_info_zalloc. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. * sh-tdep.c (sh_init_extra_frame_info): Ditto. (sh64_init_extra_frame_info): Ditto. * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. * s390-tdep.c (s390_init_extra_frame_info): Ditto. * mips-tdep.c (mips_init_extra_frame_info): Ditto. * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. * frv-tdep.c (frv_init_extra_frame_info): Ditto. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. * cris-tdep.c (cris_init_extra_frame_info): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_extra_info_hack. * mcore-tdep.c (analyze_dummy_frame): Ditto.
2003-01-07 * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL forAndreas Schwab2-6/+34
PC relative relocations. (elf_m68k_discard_copies): Set it here instead.
2003-01-07 * mdebugread.c (parse_symbol): Skip stProc entries which storageJoel Brobecker2-22/+71
class is not scText. These do not define "real" procedures. (parse_partial_symbols): Likewise.
2003-01-072003-01-06 Michael Chastain <mec@shout.net>Michael Chastain3-2/+14
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): When selecting a thread, 'line' and 'file' are optional. * gdb.mi/mi1-pthreads.exp: Likewise.
2003-01-07*** empty log message ***gdbadmin1-1/+1
2003-01-06chael Snyder <msnyder@redhat.com>Michael Snyder2-31/+191
* lin-lwp.c: Added or elaborated on "debug lin-lwp" info. qCVS: Committing in .
2003-01-06daily updateAlan Modra1-1/+1
2003-01-062003-01-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-47/+81
* frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. * arm-tdep.c (arm_frame_chain): Allocate caller_fi using deprecated_frame_xmalloc_with_cleanup. * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using deprecated_frame_xmalloc. * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
2003-01-062003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+7
* x86-64-linux-tdep.c: Include "osabi.h". * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
2003-01-062003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
2003-01-062003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-29/+57
* MAINTAINERS (Target Instruction Set Architectures): Update arm-elf. Can be built with -Werror, has been multiarched. * value.h (unpack_long): Make buffer parameter constant. (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. * scm-lang.h (scm_parse): Ditto. * defs.h (extract_typed_address, extract_address): Ditto. (extract_long_unsigned_integer): Ditto. * inferior.h (unsigned_pointer_to_address): Ditto. (signed_pointer_to_address): Ditto. * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. * gdbarch.h, gdbarch.c: Regenerate. * findvar.c (extract_long_unsigned_integer): Update. (extract_address): Update. (extract_typed_address): Update. (unsigned_pointer_to_address): Update. * values.c (unpack_long): Update. (unpack_double): Update. (unpack_pointer): Update. (unpack_field_as_long): Update. * d10v-tdep.c (d10v_pointer_to_address): Update. * avr-tdep.c (avr_pointer_to_address): Update. * scm-lang.c (scm_unpack): Update. * findvar.c (signed_pointer_to_address): Update.
2003-01-062003-01-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-34/+64
* configure.in (GDB_TK): Add tcl directories conditional on gdb/gdbtk directory being present. * configure: Regenerate.
2003-01-06 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuiteAndreas Schwab2-0/+8
failures.
2003-01-06 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.Daniel Jacobowitz22-412/+648
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. (GENSCRIPTS): Add @use_sysroot@. * Makefile.in: Regenerated. * configure.host: Move setting of NATIVE_LIB_DIRS to... * configure.tgt: ... here. Use ${target} instead of ${host} for NATIVE_LIB_DIRS. * configure.in: Add --with-sysroot. * configure: Regenerated. * genscripts.sh: Accept use_sysroot option. Set new variables NATIVE and USE_LIBPATH. Prepend "=" to directory names if $use_sysroot. Don't search $tool_lib if $use_sysroot. * ldfile.c (ldfile_add_library_path): Handle leading '='. * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. (ld_sysroot): New variable. (main): Initialize ld_sysroot. * ldmain.h (ld_sysroot): New extern. * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of searching $EMULATION_LIBPATH. (gld${EMULATION_NAME}_add_sysroot): New function. (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. (gld${EMULATION_NAME}_after_open): Likewise. Only search environment variables if $NATIVE. * ld.texinfo (Options): Mention "=" prefix in the description of -L. * NEWS: Mention --with-sysroot. * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX instead of setting LIB_PATH. * emulparams/elf32ppc.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf64_sparc.sh: Likewise. * emulparams/elf64ppc.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-062003-01-06 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-11/+5
* x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore since it is in i386-tdep.c.
2003-01-06 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilationJoel Brobecker2-1/+6
failure introduced in the previous change.
2003-01-062003-01-05 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2-1/+5
* Makefile.in (tmp-run-multi): Fix mips16 filter.
2003-01-06*** empty log message ***gdbadmin1-1/+1
2003-01-05daily updateAlan Modra1-1/+1
2003-01-052003-01-05 Michael Chastain <mec@shout.net>Michael Chastain2-15/+6
* README: Remove references to deleted remote-*.c files: remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, remote-nrom.c, remote-os9k.c, remote-udi.c.
2003-01-05* i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.Mark Kettenis3-10/+13
* x86-64-tdep.c (x86_64_init_abi): Remove FIXME about i386_get_longjmp_target.
2003-01-052003-01-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-18/+25
* arm-tdep.c (prologue_cache): Change to a pointer. (_initialize_arm_tdep): Allocate prologue_cache. (check_prologue_cache): Update. (save_prologue_cache): Update. (arm_gdbarch_init): Update.
2003-01-052003-01-04 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou7-54/+896
Andrew Cagney <ac131313@redhat.com> Gavin Romig-Koch <gavin@redhat.com> Graydon Hoare <graydon@redhat.com> Aldy Hernandez <aldyh@redhat.com> Dave Brolley <brolley@redhat.com> Chris Demetriou <cgd@broadcom.com> * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1. (sim_mach_default): New variable. (mips64vr-*-*, mips64vrel-*-*): New configurations. Add a new simulator generator, MULTI. * configure: Regenerate. * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables. (multi-run.o): New dependency. (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables. (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules. (tmp-multi): Combine them. (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi. (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI. (distclean-extra): New rule. * sim-main.h: Include bfd.h. (MIPS_MACH): New macro. * mips.igen (vr4120, vr5400, vr5500): New models. (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500. * vr.igen: Replace with new version.
2003-01-052003-01-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-161/+186
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1). * configure: Regenerate.
2003-01-05 * stabsread.c (update_method_name_from_physname): Call complaint()Daniel Jacobowitz2-1/+10
instead of error.
2003-01-05 * gdb.texinfo (Controlling GDB): Add @kindex forDaniel Jacobowitz2-0/+10
"show osabi". (Backtraces): Add @kindex's for backtrace-below-main.
2003-01-05* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.Christopher Faylor2-0/+5
2003-01-05 * gdb.texinfo (Controlling GDB): Document "set osabi".Daniel Jacobowitz2-0/+27
2003-01-05 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.Daniel Jacobowitz40-206/+203
* 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-05 * gdb.texinfo (Backtraces): Document "set backtrace-below-main".Daniel Jacobowitz3-20/+31
* gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation.
2003-01-05*** empty log message ***gdbadmin1-1/+1
2003-01-04 * Makefile.in (acconfig_h): Remove incorrect macro.Daniel Jacobowitz7-24/+178
(config_h): Define. (osabi.o): Update dependencies. * configure.tgt: Set gdb_osabi based on target triplet. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. * configure: Regenerated. * config.in: Regenerated. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". (GDB_OSABI_DEFAULT): Define if not already defined. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) (set_osabi_string): New variables. (gdbarch_register_osabi): Add new OS ABI to gdb_osabi_available_names. (gdbarch_lookup_osabi): Honor specified and default OS ABIs. (set_osabi, show_osabi): New functions. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
2003-01-04 * arch-utils.c (gdbarch_info_init): Set osabi toDaniel Jacobowitz43-371/+390
GDB_OSABI_UNINITIALIZED. * gdbarch.sh: Add osabi to struct gdbarch and to struct gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi in gdbarch_list_lookup_by_info and in gdbarch_update_p. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if there's no BFD. (gdbarch_init_osabi): Remove osabi argument; use info.osabi. * osabi.h (enum gdb_osabi): Move to defs.h. (gdbarch_init_osabi): Update prototype. * defs.h (enum gdb_osabi): Moved here. * Makefile.in: Update dependencies. Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax ports to match.