aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-01-21 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>:Hans-Peter Nilsson2-0/+19
Check for and emit error if sgot is NULL at this point.
2002-01-21Approved by fnasser@redhat.com:Fred Fish2-25/+11
2002-01-21 Fred Fish <fnf@redhat.com> * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to optionally accept the "shlib events" variation.
2002-01-21Approved by fnasser@redhat.com:Fred Fish2-0/+9
2002-01-21 Fred Fish <fnf@redhat.com> * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue when we have found all instructions we are looking for.
2002-01-21 * ldlex.l: Use fread instead of read.Andreas Jaeger2-3/+7
2002-01-21* gdb.texinfo (Remote): Move the sub-section ``The GDB remoteAndrew Cagney2-209/+212
serial protocol'' from here. (Remote Debugging): To here. New chapter.
2002-01-21* gdb.base/ending-run.c (main): Avoid messing with setvbuf; justJim Blandy3-5/+14
call `fflush' after every `printf', so that the output is produced at predictable points, regardless of whatever buffering does (or doesn't) take place. * gdb.base/ending-run.exp: Adjust tests to expect output to appear at different points.
2002-01-21bfd:Jason Thorpe7-187/+190
* config.bfd (ia64*-*-netbsd*): New target. gas: * configure.in (ia64-*-netbsd*): New target. * configure: Regenerate. ld: * configure.tgt (ia64-*-netbsd*): New target.
2002-01-21* arm-tdep.c (arm_register_name): New function.Richard Earnshaw3-5/+18
(arm_registers_names): Make static. * config/arm/tm-arm.h (arm_register_names): Delete declaration. (arm_register_name): Declare. (REGISTER_NAME): Use it.
2002-01-212002-01-21 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+8
* emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to 0. * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2002-01-21Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw3-93/+144
and Kevin Buettner <kevinb@redhat.com> Convert arm targets to new FRAME interface. * arm-tdep.c (struct frame_extra_info): Remove fsr. (arm_frame_find_save_regs): Delete. (arm_frame_init_saved_regs): New. (arm_init_extra_frame_info): Alloacte saved_regs as required. Allocate extra_info as required. Convert all uses of fsr.regs to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields to use extra_info. (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. (check_prologue_cache, save_prologue_cache): Likewise. (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. (FRAME_FIND_SAVED_REGS): Delete. (arm_frame_find_saved_regs): Delete prototype. (arm_frame_init_saved_regs): New prototype. (FRAME_INIT_SAVED_REGS): Define.
2002-01-21comment typo fixesAlan Modra9-10/+27
2002-01-21 * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func andAlan Modra2-118/+329
is_func_descriptor fields. (link_hash_newfunc): Init them. (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a dot are candidates for plt entries. When processing .opd relocs, set function descriptor strings to point inside function code string, and set new ppc_link_hash_entry fields. (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with function descriptors. It's now done in.. (func_desc_adjust): New. (ppc64_elf_func_desc_adjust): New. (define elf_backend_always_size_sections): Define. (ppc64_elf_hide_symbol): New. (define elf_backend_hide_symbol): Define. (allocate_dynrelocs): Remove code looking up function descriptors as that has been done earlier. (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash table. (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking up function descriptor. (build_one_stub): Look up the function code sym. Check for invalid plt offsets. (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs.
2002-01-21 * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): AddAlan Modra8-65/+82
boolean param. (_bfd_elf_link_hash_hide_symbol): Likewise. * elflink.h (elf_link_add_object_symbols): Adjust call to elf_backend_hide_symbol. (elf_fix_symbol_flags): Likewise. (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather than bfd_alloc. * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. (clobber_millicode_symbols): Adjust to suit new hide_symbol. * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param and adjust to suit. * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call _bfd_elf_link_hash_hide_symbol rather than duplicating code. * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
2002-01-21Zap an IEEE_FLOAT.Andrew Cagney2-4/+4
2002-01-21* infttrace.c: Include <sys/pstat.h>.Andrew Cagney2-56/+35
(child_pid_to_exec_file): Revamp. Use pstat call to get the exec file if the ttrace equivalent fails.
2002-01-21 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}Hans-Peter Nilsson3-6/+13
to @dots call. <Detailed description, ARM options>: Ditto. * doc/c-arm.texi (ARM Options): Ditto.
2002-01-21*** empty log message ***gdbadmin1-1/+1
2002-01-20daily updateAlan Modra1-1/+1
2002-01-20* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.Andrew Cagney2-2/+5
(closeLogFile): Ditto.
2002-01-202002-01-20 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* top.c (print_gdb_version): Bump copyright year to 2002.
2002-01-20* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, ElenaAndrew Cagney2-0/+8
Zannoni and Eli Zaretskii.
2002-01-20Copyright year updates.Daniel Jacobowitz3-2/+7
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz11-10/+25
* buildsym.c: Update copyright years. * c-typeprint.c: Likewise. * dwarf2read.c: Likewise. * f-typeprint.c: Likewise. * gdbtypes.c: Likewise. * gdbtypes.h: Likewise. * hp-symtab-read.c: Likewise. * hpread.c: Likewise. * mdebugread.c: Likewise. * p-typeprint.c: Likewise.
2002-01-20Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney19-138/+46
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-32/+66
* gdb.c++/classes.exp: Update for improved v3 support and skipping artificial methods/arguments. * gdb.c++/derivation.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.c++/method.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-6/+37
* gdbtypes.h (struct cplus_struct_type): Add is_artificial to member function fields. Add accessor macro TYPE_FN_FIELD_ARTIFICIAL. * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. * c-typeprint.c (c_type_print_base): Skip artificial member functions.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-85/+5
* f-typeprint.c: Delete unused function f_type_print_args. * p-typeprint.c: Delete unused function pascal_type_print_args.
2002-01-202002-01-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz8-16/+29
* gdbtypes.h (struct type): Fix whitespace. Remove obsolete comment. Add ``artificial'' to ``union field_location''. * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * hp-symtab-read.c (hpread_function_type): Likewise, instead of initializing TYPE_FIELD_BITPOS to n (obsolete). (hpread_doc_function_type): Likewise. * hpread.c (hpread_function_type): Likewise.
2002-01-20Remove assumption that there is a host.Andrew Cagney5-30/+76
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney29-117/+69
2002-01-20 (DJGPP Native): Fix overfull hboxes in examples. From Brian YoumansEli Zaretskii2-11/+14
<3diff@gnu.org>
2002-01-20Fix a typo.Eli Zaretskii1-1/+1
2002-01-20 * rluser.texinfo (Sample Init File): Prevent overfull hboxes.Eli Zaretskii2-3/+9
From Brian Youmans <3diff@gnu.org>.
2002-01-20Fix last change.Eli Zaretskii1-9/+8
2002-01-20 * gdb.texinfo: Beautify copyright years; fix a typo.Eli Zaretskii1-0/+4
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger4-13/+37
* config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. * x86-64-linux-nat.c (x86_64_register_u_addr): New function. * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, x86-64-linux-nat.o): Fix dependencies.
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger4-23/+38
* configure.host, configure.tgt: Support x86-64. * NEWS: Note new target x86-64.
2002-01-20Eliminate MALLOC_INCOMPATIBLE.Andrew Cagney7-40/+17
2002-01-202002-01-20 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+6
* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in the comment for this enumerator.
2002-01-20Zap empty host lynx header files.Andrew Cagney11-122/+13
2002-01-20* alpha-tdep.c (alpha_register_byte): New function.Jason Thorpe3-15/+64
(alpha_register_raw_size): Ditto. (alpha_register_virtual_size): Ditto. (alpha_skip_prologue_internal): Renamed from alpha_skip_prologue. (alpha_skip_prologue): New version that calls alpha_skip_prologue_internal. (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove second argument from alpha_skip_prologue. (REGISTER_BYTE): Use alpha_register_byte. (REGISTER_RAW_SIZE): Use alpha_register_raw_size. (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (FRAME_NUM_ARGS): Use frame_num_args_unknown. (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2002-01-20Zap empty or unused xm-*.h files.Andrew Cagney15-53/+21
2002-01-20Use MAXPATHLEN when no PATH_MAX.Andrew Cagney2-0/+13
2002-01-20* alpha-tdep.c (alpha_call_dummy_words): New.Jason Thorpe3-2/+20
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove. (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define.
2002-01-20 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_namePer Bothner2-1/+7
isn't NULL, which can happen with some gcj-3.x-produced code.
2002-01-20*** empty log message ***gdbadmin1-1/+1
2002-01-19daily updateAlan Modra1-1/+1
2002-01-19* alpha-tdep.c (alpha_register_virtual_type): New function.Jason Thorpe3-17/+71
(alpha_init_frame_pc_first): Ditto. (alpha_fix_call_dummy): Ditto. (alpha_store_struct_return): Ditto. (alpha_extract_struct_value_address): Ditto. * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use alpha_register_virtual_type. (STORE_STRUCT_RETURN): Use alpha_store_struct_return. (EXTRACT_STRUCT_VALUE_ADDRESS): Use alpha_extract_struct_value_address. (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. (INIT_FRAME_PC): Use init_frame_pc_noop. (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2002-01-19* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed fromRichard Earnshaw2-260/+268
do_mia, do_mar and do_mra respectively. (do_mav_*): Renamed from do_c_*. (mav_reg_required_here, mav_parse_offset): Renamed from cirrus_reg_required_here and cirrus_parse_offset respectively. (MAV_MODE?): Renamed from CIRRUS_MODE?.
2002-01-192002-01-18 Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw6-6/+79
Keith Walker <keith.walker@arm.com> * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. (insns): Add pattern for bxj instruction. (do_bxj): New function. (arm_cpus): Add arm926ej. (arm_archs): Add armv5tej. Testsuite: 2002-01-18 Richard Earnshaw <rearnsha@arm.com> Keith Walker <keith.walker@arm.com> * gas/arm/arch5tej.s gas/arm/arch5tej.d: New files. * gas/arm/arm.exp (arch5tej): New dump test.