aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-07-07 * config/tc-h8300.c (h8300sxnmode): Add prototype.Richard Sandiford5-177/+154
(DSYMMODE): Remove. (parse_exp): Replace expressionS argument with a h8_op. Parse the operand size as well. (skip_colonthing): Remove unused expression argument. Tighten checks for 2-digit sizes. (colonmod24): Remove. (get_mova_operands): Combine calls to parse_exp and skip_colonthing. (get_operand): Likewise. Use the standard code to read the size of pc-relative operands. (fix_operand_size): Include the size-guessing logic that used to be in colonmod24 and get_operand. Don't apply dd:2 optimizations to offsets with a symbolic component. testsuite/ * gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements.
2003-07-07 * ppc-opc.c: Remove NULL pointer checks. Formatting. RemoveAlan Modra3-93/+79
extraneous ATTRIBUTE_UNUSED. * ppc-dis.c (print_insn_powerpc): Always pass a valid address to operand->extract.
2003-07-07*** empty log message ***gdbadmin1-1/+1
2003-07-07daily updateAlan Modra1-1/+1
2003-07-06 * gdb.objc/basicclass.exp ("Call an Objective-C method with noAndreas Schwab3-1/+10
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-062003-07-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+12
* demangle.h: Support C++.
2003-07-062003-07-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-2158/+2168
* config-ml.in: Replace PWD with PWD_COMMAND. * Makefile.tpl: Likewise. * Makefile.in: Regenerated.
2003-07-06* win32-nat.c (solib_symbols_add): Use one variable for all section addressChristopher Faylor3-36/+30
stuff. Pass variable rather than address of variable to safe_symbol_file_add.
2003-07-06 * m68klinux-nat.c (fill_fpregset): Fix use of loop index.Andreas Schwab2-2/+6
2003-07-06daily updateAlan Modra1-1/+1
2003-07-06*** empty log message ***gdbadmin1-1/+1
2003-07-05Clean up white spaceZack Weinberg1-10/+10
2003-07-05* dlltool.c (prefix_encode): Use a fixed length for alpha.Christopher Faylor2-1/+5
2003-07-05* dlltool.c (prefix_encode): New function. Encode temp file prefix from pid.Christopher Faylor2-14/+45
(dlltmp): Pass address of pointer being alloced or suffer neverending mallocs. (make_one_lib_file): Allocate enough space for new longer stub names. (gen_lib_file): Ditto. (main): Generate the temp file prefix from the pid if prefix was not specified on the command line.
2003-07-05merge from gccDJ Delorie2-6/+14
2003-07-05daily updateAlan Modra1-1/+1
2003-07-05*** empty log message ***gdbadmin1-1/+1
2003-07-04 * rs6000-nat.c (vmap_symtab): Fix compilation error.Joel Brobecker2-1/+7
2003-07-04Allow to override sh64 initial stack value with --defsym:Joern Rennecke3-4/+28
* emulparams/shelf32.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Include .stack. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-0/+13
* config/i386/nto.mh: Set XM_FILE to xm-i386.h
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin4-0/+1400
* nto-procfs.c: New file. Native procfs support for QNX Neutrino. * config/i386/nto.mh: New file. * config/i386/nm-nto.h: New file. * configure.host: Add i[3456]86-*-nto*.
2003-07-04 * ppc-opc.c: Convert to C90, removing unnecessary prototypes andAlan Modra2-267/+221
casts. Formatting.
2003-07-04(MKDOC rule): Add $(CFLAGS) in case it contains CC_FOR_BUILD specific switches.Nick Clifton4-4/+10
2003-07-04 * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): ReturnJakub Jelinek2-2/+7
true even if -pie.
2003-07-04bfd/Jakub Jelinek14-38/+162
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec. (elfNN_ia64_dynamic_symbol_p): Change info->shared into !info->executable. (get_fptr): For -pie create .opd as writable section and create .rela.opd as well. (elfNN_ia64_check_relocs): Change info->shared into !info->executable. (allocate_fptr): Likewise. (allocate_dynrel_entries): Account for a relative reloc for -pie @fptr(). Don't account for a relative reloc if -pie want_ltoff_fptr for undefweak symbol. Account for an IPLT reloc in .rela.opd section if -pie. (set_got_entry): Don't create a relative reloc if -pie want_ltoff_fptr for undefweak symbol. (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie. (elfNN_ia64_relocate_section): Emit a relative reloc for -pie @fptr(). * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol even if -pie. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. ld/ * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include .opd if -pie. (OTHER_READWRITE_SECTIONS): Include .opd if -pie. * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR if -pie.
2003-07-04 * gas/ppc/test2elf64.s: Rename to..Alan Modra4-32/+61
* gas/ppc/power4.s: ..this. Add mtcr and mfcr testcases. * gas/ppc/test2elf64.d: Rename to.. * gas/ppc/power4.d: ..this. Update. * gas/ppc/ppc.exp: Update.
2003-07-04 * ppc-opc.c: Remove PARAMS from prototypes.Alan Modra2-115/+136
(FXM4): Define. (insert_fxm): New function, used by both FXM and FXM4. (extract_fxm): Likewise. (XFXFXM_MASK): Remove 1 << 20 term. (powerpc_opcodes): Add Power4 version of "mfcr". Simplify "mtcr" mask.
2003-07-04* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZENick Clifton2-2/+7
macro to compute size of selected register name array.
2003-07-04* readelf.c (get_data): Print (unsigned) hex values for size and offset inNick Clifton2-3/+13
error messages. (process_section_headers): If the string table could not be allocated, do not continue.
2003-07-04* elf32-h8300.c (R_H8_DIR32A16): Fix name field.Nick Clifton7-11/+46
(elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation. <R_H8_DIR32A16>: Fix type of relocation. * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d unconditionally. Run relax-2.d for *-elf targets. * ld-h8300/relax.d: Fix typo. * ld-h8300/relax.s: Add 0x prefixes. * ld-h8300/relad-2.[sd]: New test.
2003-07-04 * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamicKaz Kojima2-30/+27
sections were created already. Remove unnecessary tests of the previous change.
2003-07-04 * elf32-sh.c (sh_elf_create_dynamic_sections): Don't callKaz Kojima2-19/+37
bfd_make_section for existing sections.
2003-07-04 * elf32-sparc.c (elf32_sparc_check_relocs): Don't callAlan Modra3-31/+40
create_got_section if we already have done so. * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. (sh_elf_check_relocs): Likewise. (sh_elf_adjust_dynamic_symbol): Delete "dynobj" var. Use htab->root.dynobj instead. (sh_elf_check_relocs): Likewise. (sh_elf_finish_dynamic_sections): Likewise.
2003-07-04 * section.c (bfd_make_section): Return NULL for existing section.Alan Modra2-1/+5
2003-07-04 * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't callAlan Modra1-1/+4
ppc_elf_create_got if we've already done so.
2003-07-04 * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare.Alan Modra7-564/+397
(_bfd_elf_find_pointer_linker_section): Likewise. (bfd_elf32_create_pointer_linker_section): Likewise. (bfd_elf32_finish_pointer_linker_section): Likewise. (bfd_elf64_create_pointer_linker_section): Likewise. (bfd_elf64_finish_pointer_linker_section): Likewise. (_bfd_elf_make_linker_section_rela): Likewise. * elfcode.h (elf_create_pointer_linker_section): Don't define. (elf_finish_pointer_linker_section): Likewise. * elflink.c (_bfd_elf_make_linker_section_rela): Delete. (_bfd_elf_create_linker_section): Move this function.. (_bfd_elf_find_pointer_linker_section): ..and this.. * elflink.h (elf_create_pointer_linker_section): ..and this.. (elf_finish_pointer_linker_section): ..and this.. * elf32-ppc.c: ..to here, renaming to the following, and adjusting calls. (elf_create_linker_section): Convert to C90, tidy. (elf_find_pointer_linker_section): Likewise. (elf_create_pointer_linker_section): Likewise. (elf_finish_pointer_linker_section): Likewise. * elf32-i370.c: Delete #if 0 code.
2003-07-04 * remote-vx.c (vx_add_symbols): Fix compilation error.Joel Brobecker2-2/+9
2003-07-042003-07-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* gencode.c (movs): Fix a couple of text transpositions.
2003-07-04daily updateAlan Modra1-1/+1
2003-07-04*** empty log message ***gdbadmin1-1/+1
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-63/+125
* gdbarch.sh (REGISTER_NAME): Do not supply a default. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (REGISTER_NAME): Define. (legacy_register_name): Declare. * config/sparc/tm-sp64.h (legacy_register_name): Declare. (REGISTER_NAME): Define. * sparc-tdep.c (legacy_register_name): New function. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. (REGISTER_NAME): Define. (hppa64_register_name): Declare. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. (hppa64_register_name): New function. (hppa_register_name): New function. * arch-utils.c (legacy_register_name): Delete. * arch-utils.h (legacy_register_name): Delete.
2003-07-03 * cli/cli-interp.c (cli_interpreter_resume): Update theDaniel Jacobowitz2-0/+22
cli_uiout's stream to gdb_stdout.
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-13/+96
* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add predicate. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c (init_regcache_descr): Use legacy code when either REGISTER_BYTE or REGISTER_RAW_SIZE is set.
2003-07-03merge from gccDJ Delorie2-1/+13
2003-07-03 * gdb.base/store.c (charest): New typedef.Daniel Jacobowitz3-19/+32
(add_char): Rename to add_charest, update. (wack_char): Rename to wack_charest, update types. Return l + r to keep r live across the call. (wack_short, wack_int, wack_long, wack_longest, wack_float) (wack_double, wack_doublest): Return l + r to keep r live across the call. * gdb.base/store.exp: Accomodate store.c changes.
2003-07-03daily updateAlan Modra1-1/+1
2003-07-03*** empty log message ***gdbadmin1-1/+1
2003-07-02 * NEWS: Move "set logging" entry into GDB 6.0 section.Daniel Jacobowitz2-2/+6
2003-07-02* s390-tdep.c (struct frame_extra_info): new member:Jim Blandy2-1/+12
'stack_bought_valid'. (s390_get_frame_info): Set fextra_info->stack_bought_valid if we initialize fextra_info->stack_bought. (s390_frameless_function_invocation): Don't trust the value of fextra_info_ptr->stack_bought unless fextra_info->stack_bought_valid is set.
2003-07-02New S390 prologue analyzer.Jim Blandy2-455/+1284
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types. (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, pv_constant_last, pv_add, pv_add_constant, pv_subtract, pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, compute_x_addr, s390_on_stack, s390_store, s390_get_signal_frame_info): New functions. (S390_NUM_SPILL_SLOTS): New macro. (s390_get_frame_info): Rewritten. (is_arg_reg): Deleted. Break out the decoding of S/390 instructions into separate functions, to make it more legible, and easier to check against the spec. * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, is_rx, is_rxe): New functions. (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New enums for opcode values. (Is this an improvement?)