aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-12-19merge from gccDJ Delorie2-0/+10
2003-12-19 * frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatimKevin Buettner2-39/+189
from mips-tdep.c. (frv_analyze_prologue): Rework to account for intermixed prologue / body instructions.
2003-12-19*** empty log message ***gdbadmin1-1/+1
2003-12-18daily updateAlan Modra1-1/+1
2003-12-182003-12-18 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+40
* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128. Document type sizes for hppa*-*-hpux* compilers available to me.
2003-12-182003-12-18 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-361/+7
* hppam3-nat.c: Delete obsolete file. * hppab-nat.c: Delete obsolete file. * Makefile.in: Remove references.
2003-12-18(input_file_open): Remove call to stat(). Add a check for getc() failing, andNick Clifton2-18/+29
catch the case where the failure is due to an attempt to read a directory.
2003-12-182003-12-18 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-3/+18
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple source files.
2003-12-18When scanning MS import libraries allow for the possible presence of staticNick Clifton2-6/+51
objects.
2003-12-18 * ld-mips-elf/reloc-1[ab].s: New source files.Richard Sandiford16-0/+1807
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. * ld-mips-elf/reloc-2[ab].s: New source files. * ld-mips-elf/reloc-2.{d,ld}: New test. * ld-mips-elf/reloc-3[ab].s: New source files. * ld-mips-elf/reloc-3-{r,srec}.d: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2003-12-18bfd/Richard Sandiford14-922/+516
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (_bfd_mips_elf32_gprel16_reloc): Remove special case. (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change R_MIPS_HI16's rightshift to 16. (mips_elf64_howto_table_rela): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. (mips_elf64_shift6_reloc): Remove special case. Use _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. * elfn32-mips.c (prev_reloc_section): Delete. (prev_reloc_address, prev_reloc_addend): Delete. (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for elf64-mips.c (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. (mips16_jump_reloc, mips16_gprel_reloc): Likewise. (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use _bfd_relocate_contents to install an in-place addend. (mips_hi16): New structure. (mips_hi16_list): Moved from elf32-mips.c. (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. (mips_elf_calculate_relocation): Assume addend is unshifted. (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift on top of the usual high-part shift. Don't shift the addend right before calling mips_elf_calculate_relocation. * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_generic_reloc): Declare. gas/ * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. (md_apply_fix3): Remove bfd_install_relocation workarounds. (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations and treat fx_addnumber as relative to the relocation address. gas/testsuite/ * gas/mips/mips16-jalx.d: Use -mabi=o64. * gas/mips/mips16.d: Likewise. * gas/mips/elf-rel17.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-12-18 * config/tc-mips.c (s_change_section): When parsing the MIPS-specificRichard Sandiford2-0/+21
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
2003-12-182003-12-16 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-4/+16
* gdb.base/environ.exp: Handle compiling test case from multiple source files.
2003-12-18 * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".Mark Mitchell3-2/+7
* doc/c-arm.texi (ARM Options): Likewise.
2003-12-18*** empty log message ***gdbadmin1-1/+1
2003-12-17daily updateAlan Modra1-1/+1
2003-12-172003-12-16 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+5
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-172003-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* symtab.c (decode_line_spec): Change call to decode_line_1.
2003-12-172003-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-27/+73
* linespec.h (decode_line_1): Add new not_found_ptr parameter. * linespec.c (decode_line_1): Add new parameter. Pass on new parameter to decode_variable and symtab_from_filename functions. (decode_variable): Add new not_found_ptr parameter. Throw exception rather than failing if the not_found_ptr is non-null and the function is not found. (symtab_from_filename): Add new not_found_ptr parametr. Throw exception rather than failing if the not_found_ptr is non-null and the source file is not found. * breakpoint.c: Change all callers of decode_line_1 to add default extra parameter for decode_line_1 calls. * tracepoint.c: Ditto. * cli/cli-cmds.c: Ditto.
2003-12-17* gdb.base/freebpcmd.c: Add copyright notice.Jim Blandy2-0/+22
2003-12-17* gdb.base/freebpcmd.exp: Mark the interesting failure as known.Jim Blandy2-2/+6
2003-12-172003-12-11 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-13/+20
* rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE. Revert requirement of HAVE_MBRTOWC. Delete macro definitions that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined and HAVE_MBSTATE_T is not defined.
2003-12-17Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.Nick Clifton6-65/+97
Add test of parallel constraint checking.
2003-12-17 * irix5-nat.c: Include mips-tdep.h.Joel Brobecker2-0/+5
2003-12-172003-12-16 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+7
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2003-12-17*** empty log message ***gdbadmin1-1/+1
2003-12-16daily updateAlan Modra1-1/+1
2003-12-16Fix typo.Michael Snyder1-1/+1
2003-12-16* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)Mark Kettenis2-94/+5
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME) (SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT) (SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
2003-12-16* blockframe.c (inside_main_func): Don't treat a zero PC specially.Mark Kettenis2-6/+6
Needed to fix PR backtrace/1476.
2003-12-162003-12-16 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com> * sim-main.h (H8300H_MSIZE): Increase from 18 bits to 24 bits.
2003-12-162003-12-16 David Carlton <carlton@kealia.com>David Carlton2-2/+7
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS. (method_name_from_physname): Ditto.
2003-12-16Remove -8 bias on PC-relative load instructions for arm-wince-pe targetNick Clifton8-6/+386
2003-12-16Only skip one instance of each prefix character, if they are present.Nick Clifton2-4/+40
2003-12-16merge from gccDJ Delorie3-32/+57
2003-12-16*** empty log message ***gdbadmin1-1/+1
2003-12-15daily updateAlan Modra1-1/+1
2003-12-15 * gas/z8k/eidi.s: Add uppercase forms. Add forms with commaChristian Groessler2-0/+25
separated parameters.
2003-12-15 * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.Christian Groessler2-26/+80
(ctrl_table): Add "flags" keyword and some comments. (flag_table): Convert to uppercase. (get_flags_operand): Be case insensitive. (get_interrupt_operand): Be case insensitive. Support notation where the inperrupt arguments are separated by commas. (get_operands): Check whether get_flags_operand consumed all arguments. Return failure if get_ctrl_operand didn't recognize a valid control register. (get_specific): Add case CLASS_CTRL: Test for valid control register for ldctlb opcode. (build_bytes): Check for valid control registers.
2003-12-15 * z8k-dis.c (intr_names): Removed.Christian Groessler2-14/+61
(print_intr, print_flags): New functions. (unparse_instr): Use new functions.
2003-12-15* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.Mark Kettenis4-4/+43
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs, TDEP->sizeof_gregset and TDEP->sizeof_fpregset. * config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h. (XM_CLIBS): Remove. (NATDEPFILES): Remove core-regset.o and corelow.o. * config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
2003-12-15merge from gccDJ Delorie2-1/+7
2003-12-15merge from gccDJ Delorie3-44/+136
2003-12-15Add PIPE_O attribute to "pop" instruction.Nick Clifton2-1/+5
2003-12-15(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.Nick Clifton2-2/+11
2003-12-15Ensure that correct flags are set on known PE section types.Nick Clifton2-14/+56
2003-12-15 * arm-opc.h (arm_opcodes): Put V6 instructions before XScaleMark Mitchell2-64/+69
instructions.
2003-12-15 * gas/arm/thumbv6.s: Add nops.Mark Mitchell3-1/+17
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops.
2003-12-15*** empty log message ***gdbadmin1-1/+1
2003-12-14daily updateAlan Modra1-1/+1