aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-07-28 * configure.in: Add test for "long long" support.Fred Fish28-141/+476
* configure: Regenerate with autoconf. * acconfig.h: Add CC_HAS_LONG_LONG * config.in: Regenerate with autoheader. * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. (FORCE_LONG_LONG): Remove. * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. (PRINTF_HAS_LONG_LONG): Remove. * config/pa/tm-hppa.h (GET_FIELD): Put parens around subtraction inside shift. Put parens around subtraction in operand of bitwise and. (struct frame_info): Forward declare if __STDC__ defined. (frame_saved_regs): Ditto. (struct value): Ditto. (struct type): Ditto. (struct inferior_status): Ditto. (init_extra_frame_info): Add prototype. (skip_prologue): Ditto. (frameless_function_invocation): Ditto. (frame_chain): Ditto. (frame_chain_valid): Ditto. (saved_pc_after_call): Ditto. (hppa_fix_call_dummy): Ditto. (hppa_push_arguments): Ditto. (pa_do_registers_info): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (push_dummy_frame): Ditto. * convex-tdep.c (decout): Use print_longest rather than fprintf_filtered. * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set CC_HAS_LONG_LONG. (INT_MIN): Fix so it works correctly when assigned to a long long. * valprint.c (longest_to_int): Rewrite to remove dependence on INT_MIN and INT_MAX. (print_longest): Rewrite the code that falls back to synthesized hex output when LONGEST value is not representable as in a long and printf doesn't support printing long longs. * ch-valprint.c (chill_val_print): Cast 2nd arg of chill_print_type_scalar to LONGEST. chill_print_type_scalar): Make static and add prototype. * hppa-tdep.c (get_field): Ifdef out unused function. (set_field): Ditto. (extract_3): Ditto. (extract_5_store): Ditto. (extract_11): Ditto. (extract_12): Ditto. (deposit_17): Ditto. (extract_14): Convert to static and add prototype. (deposit_14): Ditto. (extract_21): Ditto. (deposit_21): Ditto. (extract_17): Ditto. (extract_5r_store): Ditto. (extract_5R_store): Ditto. (extract_5_load): Ditto. (find_proc_framesize): Ditto. (find_dummy_frame_regs): Ditto. (sign_extend): Ditto. (find_unwind_entry): Add prototype. (find_return_regnum): Ditto. (unwind_command): Ditto. (find_dummy_frame_regs): Add parens around subtraction in operand of bitwise-and. (skip_prologue): Add parens around operands of logical-and inside operand of logical-or. (sign_extend): Add parens around operands of subtraction inside operand of shift. (low_sign_extend): Ditto. * top.c (filename_completer): Convert old style decl of filename_completion_function into prototype. * f-lang.c (patch_common_entries): Ifdef out unused function. * stabsread.c (read_cfront_baseclasses): Remove unused local variable "msg_noterm". (resolve_cfront_continuation): Remove unused local variable "fip". (read_type): Remove unused variable xtypenums. (read_cfront_static_fields): Remove unused variable "i". (read_cfront_static_fields): Remove unused variable "nfields". (read_cfront_member_functions): Add missing comment terminator. (read_cfront_static_fields): Return 1 rather than random value. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. * somsolib.c (som_solib_create_inferior_hook): Remove unused variable "u". (som_solib_create_inferior_hook): Remove unused variable shadow_contents. (language.h): Add for needed prototypes. (som_solib_sharedlibrary_command): Add prototype. * hpread.c: (hpread_read_array_type): Add prototype. * somread.c (hpread_build_pysmtabs): Add prototype. (hpread_symfile_finish): Ditto. (hpread_symfile_init): Ditto. * hppah-nat.c (fetch_register): Convert old style decl to prototype. (gdbcore.h): Include for needed prototypes. (fetch_register): Remove unused variable "mess". * remote-pa.c (get_offsets): Ifdef out unused function. (remote_start_remote): Remove unused variable "timeout". (boot_board): Add prototype. (reaad_frame): Add prototype. (getpkt): Remove unused variable "bp". (remote_kill): Add prototype. (remote_mourn): Add prototype. (remote_insert_breakpoint): Add prototype. (remote_remove_breakpoint): Add prototype. * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. * infcmd.c (do_registers_info): Only need prototype if DO_REGISTERS_INFO is not defined. (breakpoint_auto_delete_contents): Only need if CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1996-07-27 * mpw-config.in: Generate Mac include for elf/dwarf2.h.Stan Shebs1-0/+4
1996-07-27 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.Fred Fish2-11/+17
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1996-07-26 * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefinedIan Lance Taylor2-4/+8
symbol a warning rather than an error. PR 10208.
1996-07-26Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-4/+13
* d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift. (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1996-07-26Fri Jul 26 11:47:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* d10v.h (OPERAND_SHIFT): New operand flag.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-13/+54
* tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* config/tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26 * printcmd.c (_initialize_printcmd): InitializeIan Lance Taylor2-0/+7
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1996-07-26 * objdump.c (disassemble_data): Set disasm_info.flavour fromIan Lance Taylor1-0/+5
abfd.
1996-07-26 * alpha-dis.c (print_insn_alpha_osf): Remove.Ian Lance Taylor1-0/+8
(print_insn_alpha_vms): Remove. (print_insn_alpha): Make globally visible. Chose the register names based on info->flavour. * disassemble.c: Always return print_insn_alpha for the alpha.
1996-07-26 * symbols.c (S_SET_EXTERNAL): Let .weak override.Ian Lance Taylor2-7/+8
(S_CLEAR_EXTERNAL): Likewise. (S_SET_WEAK): Remove error; just let .weak override.
1996-07-26 * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xreallocFred Fish1-0/+10
definitions inside #ifndef so that programs that want to can define PRIVATE_XMALLOC and then define xmalloc and xrealloc anyway they want. (basename): Document in source that we can't declare the parameter type because it is declared inconsistently across different systems.
1996-07-26See the huge ChangeLog entry that has the header:Fred Fish17-72/+110
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
1996-07-26See gdb ChangeLog entry with header:Fred Fish74-366/+1460
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-25 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.David Edelsohn1-0/+4
1996-07-25Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* d10v-dis.c (dis_long): Handle unknown opcodes.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-35/+53
* tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+7
* config/tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-43/+73
* d10v-opc.c: Changes to support signed and unsigned numbers. All instructions with the same name that have long and short forms now end in ".l" or ".s". Divs added. * d10v-dis.c: Changes to support signed and unsigned numbers.
1996-07-25Thu Jul 25 12:06:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-6/+19
* d10v.h: Changes for divs, parallel-only instructions, and signed numbers.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-54/+149
* tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * config/tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-25Add mh-irix6.Mark Alexander1-0/+1
1996-07-24tipoIan Lance Taylor1-1/+1
1996-07-24start-sanitize-d10vMartin Hunt1-1/+1
Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10velf.sh (SCRIPT_NAME): Change to elf. end-sanitize-d10v
1996-07-24start-sanitize-d10vMartin Hunt1-0/+4
Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. end-sanitize-d10v
1996-07-24Allow plain d10v as a targetMichael Meissner1-0/+4
1996-07-24 * elf.c (assign_file_positions_for_segments): Track the virtualIan Lance Taylor2-2/+12
memory position separately from the file position, and use it to compute the alignment adjustment. PR 10039.
1996-07-23start-sanitize-d10vMartin Hunt2-50/+70
Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v-dis.c: Change all functions to use info->print_address_func. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt1-0/+4
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23 * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignmentIan Lance Taylor1-0/+5
of .text section to 2.
1996-07-23start-sanitize-d10vMartin Hunt1-0/+8
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt4-0/+45
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * Makefile.in (ed10velf.c): New target. * configure.tgt (d10v-*-elf*): New target. * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-3/+23
Tue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c (md_apply_fix3): Fix all instruction addresses to be right-shifted by 2. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-7/+14
Tue Jul 23 10:43:31 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" and fixed mask on R_D10V_10_PCREL_L. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-1/+7
Tue Jul 23 10:47:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * configure.in (d10v-*-*): Remove ld from $noconfigdirs. end-sanitize-d10v
1996-07-23New simulator changes from AndrewMichael Meissner50-6007/+10369
1996-07-23Fix mistake from Brendan's last checkin.Jim Wilson1-1/+1
1996-07-23 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.Stu Grossman7-66/+112
* dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't use partial_symtab->textlow==0 as a flag, as 0 is a legitimate text address. Use a seperate flag (textlow_not_set) instead. This makes stabs in ELF .o files work a lot better. * mdebugread.c xcoffread.c: Define textlow_not_set for partial-stab.h. * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1996-07-22 * elf64-mips.c: Include "aout/ar.h".Ian Lance Taylor2-16/+41
(mips_elf64_slurp_armap): New static function. (mips_elf64_write_armap): New static function. (bfd_elf64_archive_*): Define. * elfxx-target.h (bfd_elfNN_archive_p): Define if not defined. Use instead of bfd_generic_archive_p. (bfd_elfNN_write_archive_contents): Define if not defined. Use instead of _bfd_write_archive_contents. (bfd_elfNN_mkdarchive): Define if not defined. Use instead of _bfd_generic_mkarchive. (TARGET_BIG_SYM): If bfd_elfNN_archive_functions is defined, use bfd_elfNN_archive in BFD_JUMP_TABLE_ARCHIVE rather than _bfd_archive_coff. (TARGET_LITTLE_SYM): Likewise. * archive.c (bfd_slurp_armap): Check for and reject an archive map name of /SYM64/. * Makefile.in: Rebuild dependencies.
1996-07-22 * elf32-mips.c (_bfd_mips_elf_final_write_processing): HandleIan Lance Taylor1-7/+91
SHT_MIPS_LIBLIST, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS sections. (_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_IFACE, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS sections. (_bfd_mips_elf_fake_sections): Likewise.
1996-07-22 * configure.in (native_only): Add prms.Brendan Kehoe2-2/+6
1996-07-22Mon Jul 22 15:38:53 1996 Andreas Schwab ↵Ian Lance Taylor2-5/+11
<schwab@issan.informatik.uni-dortmund.de> * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire move ccr/sr insns more strict so that the disassembler only selects them when the addressing mode is data register.
1996-07-22 * libecoff.h (ecoff_data_type): Add rdata_in_text field.Ian Lance Taylor1-0/+9
* ecoff.c (ecoff_compute_section_file_positions): Copy rdata_in_text from backend info to tdata. Clear it if any data section comes before .rdata. (_bfd_ecoff_write_object_contents): Use rdata_in_text field in tdata rather than backend info.
1996-07-22start-sanitize-d10vMartin Hunt3-10/+81
Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v-opc.c (pre_defined_registers): Declare. * d10v-dis.c (print_operand): Now uses pre_defined_registers to pick a better name for the registers. end-sanitize-d10v
1996-07-22start-sanitize-d10vMartin Hunt2-0/+22
Mon Jul 22 11:21:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v.h (pd_reg): Define. Putting the definition here allows the assembler and disassembler to share the same struct. end-sanitize-d10v
1996-07-22start-sanitize-d10vMartin Hunt3-156/+186
Mon Jul 22 11:32:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c: Many changes to get relocs working. (register_name): No longer creates a symbol for register names. (pre_defined_registers): moved to opcodes/d10v-opc.c. (d10v_insert_operand): Now works correctly for either container. * config/tc-d10v.h (d10v_cleanup): Declare. end-sanitize-d10v
1996-07-22fix last patchIan Lance Taylor1-2/+2
1996-07-22 * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S andIan Lance Taylor2-0/+7
BFD_RELOC_PCREL_LO16 are expected to be PC relative.