aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-04-07 * configure.in (case host): Add i386sco5 host.Fred Fish6-0/+74
* configure: Regenerate. From: Robert Lipe <robertl@dgii.com> Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This target is an SVR3.2 with COFF, ELF, and shared libes, but no /proc. * config/i386/i386sco5.mh: New file. * config/i386/nm-i386sco5.h: New file.
1996-04-07 From: Robert Lipe <robertl@dgii.com>Fred Fish2-10/+29
* configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like SCO 3.2v4 than 3.2v2.
1996-04-06 * bcache.c (bcache): When size of chunk to cache is exactly equal toFred Fish2-1/+6
BCACHE_MAXLENGTH, stash chunk as unique copy.
1996-04-06 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.Fred Fish6-125/+152
(add_psymbol_to_list): Add an arg for passing CORE_ADDR values and use it, rather than calling add_psymbol_addr_to_list. (add_psymbol_addr_to_list): Delete. (add_psymbol_to_list): Make psymbol static to avoid random data in gaps due to alignment of structure members. * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST, ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no performance improvements by inlining via complicated macros and they just make gdb larger and harder to maintain. * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to add_psymbol_to_list with appropriate long or CORE_ADDR args. (add_partial_symbol): Ditto. * partial-stab.h: Ditto. * os9kread.c (read_os9k_psymtab): Ditto * mdebugread.c (parse_partial_symbols): Ditto. (handle_psymbol_enumerators): Ditto. (demangle.h): Include. * hpread.c (hpread_build_psymtabs): Ditto. (hpread_build_psymtabs): Ditto. (demangle.h): Include
1996-04-06 * compile.c (decode): Use "bit" to hold L_3 immediates insteadJeff Law2-4/+32
of holding them in "abs". Handle ABS8MEM memory references aka 8-bit area. Replace ABSMOV references with ABS8MEM. So we've got a chance of simulating something like btst #0,@40:8 correctly. hmse.
1996-04-06 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,Jeff Law1-0/+7
not "abs", which may be needed for the absolute in something like btst #0,@10:8. Print L_3 immediates separately from other immediates. Change ABSMOV reference to ABS8MEM. One day we'll actually disassemble btst #0,@10:8 correctly... But not yet. hmse.
1996-04-06 * config/tc-h8300.c (get_specific): Remove some #if 0 code.Jeff Law2-78/+31
(build_bytes): Remove all ABSMOV related code; it's unnecessary. ABSMOV is gone... Cleaning up. hmse.
1996-04-05 * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOVJeff Law1-0/+9
from all insns. (ABS8SRC,ABS8DST): Add ABS8MEM. (add.l): Fix reg+reg variant. (eepmov.w): Renamed from eepmovw. (ldc,stc): Fix many cases. We'll use ABS8MEM for access to the 8-bit area. Fixes from running the h8300 testsuite. hmse.
1996-04-05 * gas/h8300/{addsubh.s,bitops1h.s,bitops2h.s}: New h8300h tests.Jeff Law22-1/+1099
* gas/h8300/{bitops3h.s,bitops4h.s,branchesh.s}: New h8300h tests. * gas/h8300/{cbranchh.s,compareh.s,decimalh.s}: New h8300h tests. * gas/h8300/{divmulh.s,incdech.s,logicalh.s}: New h8300h tests. * gas/h8300/{misch.s,movbh.s,movwh.s}: New h8300h tests. * gas/h8300/{pushpoph.s,rotshifth.s}: New h8300h tests. * gas/h8300/h8300.exp: Run them. More tests.
1996-04-05 * gdbtk.c (running_now): New global variable.Stan Shebs3-20/+47
(gdb_cmd): Test it before executing any command. (gdbtk_call_command): Set it when inferior is running. * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and disable interaction with command window's text appropriately.
1996-04-05 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): NewIan Lance Taylor2-1/+105
static function, if ${host} = ${target}. (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a needed shared library if ${host} = $[target}.
1996-04-05Fri Apr 5 15:13:10 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+7
<schwab@issan.informatik.uni-dortmund.de> * config/atof-ieee.c: Fix handling of denormalized extended precision numbers and overflow/underflow detection. (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to not include the 16 bit gap in the m68k extended precision format.
1996-04-05 * configure.tgt: Add i[345]86-*-freebsdelf* target; from JohnIan Lance Taylor1-0/+5
Polstra <jdp@polstra.com>.
1996-04-05 * configure.in: Add i386-*-freebsdelf* target; from John PolstraIan Lance Taylor3-2/+8
<jdp@polstra.com>. * configure: Rebuild.
1996-04-05 * config.bfd: Add i[345]86-*-freebsdelf* target; from John PolstraIan Lance Taylor1-0/+3
<jdp@polstra.com>.
1996-04-05Add sanitize-gdbtk markersMichael Meissner1-0/+2
1996-04-05Undef SIOCSPGRP if on LinuxMichael Meissner2-0/+11
1996-04-05 * gas/h8300/{movb.s,movw.s}: Correct predecrement syntax.Jeff Law2-1/+5
* gas/h8300/h8300.exp: Fix typos in bitops4 and movb tests. Fixes remaining unexpected failures.
1996-04-05 * linker.c (link_action): For WARN_ROW/warn, use MWARN, not CYCLE,Ian Lance Taylor2-1/+4
to avoid crashing in bfd_hash_replace.
1996-04-05Fri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-0/+6
* config/tc-mips.c: Allow non-zero offsets from .sdata symbols to be accessed using the $gp register. * config/tc-mips.h (MAX_GPREL_OFFSET): Added. This ensures that the $gp addressing will continued to be used if the "combine_statics" optimisation is enabled within GCC.
1996-04-05Fix typo in last change.Jeff Law1-1/+1
1996-04-05 * sysdep.h: Use #ifdef, not #if.Ian Lance Taylor1-1/+1
1996-04-05 * sysdep.h: Use #ifdef,not #if.Ian Lance Taylor1-0/+4
1996-04-05Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-0/+10
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit architecture number. * scripttempl/elf.sc: Use $MACHINE definition if present. * configure.tgt (targ_extra_emuls): Force 4100 build to use same template as 4300.
1996-04-05 * gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests.Jeff Law20-1/+819
* gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests. * gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests. * gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests. * gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests. * gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests. * gas/h8300/h8300.exp: Run them. To keep me from screwing up the assembler...
1996-04-05 * configure.in (host==solaris): Pass only the first word of $CCJason Molenda2-1/+7
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc. /usr/ucb/which on Solaris barfs out an error if $CC is set to seomthing like "cc -xcg92" or "gcc -mv8". It is harmless, but it looks bad.
1996-04-05 * Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE).Jason Molenda2-0/+5
w/o this, if you use GNU make on a Solaris platform (eg), but you don't have GNU make at the front of your path, when the make/ subdir cds down into make/glob and does a make there, you will end up picking up the first make that is in your path no matter what you do. No PR, I just noticed this while I was working on something else.
1996-04-05 * config.in: Rebuild.Ian Lance Taylor1-0/+4
1996-04-05 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.Stan Shebs1-0/+2
* arm-tdep.c (arm_apcs_32): New global. (arm_addr_bits_remove, arm_saved_pc_after_call, arm_push_dummy_frame, arm_pop_frame): New functions. (arm_skip_prologue): Updated version from Richard Earnshaw. (_initialize_arm_tdep): Add set/show "apcs32". * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call arm_addr_bits_remove. (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. (frame_find_saved_regs): Declare properly. (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of explicit mask. * config/arm/nm-arm.h: New file. * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): Move definitions to nm-arm.h. * config/arm/arm.mh (NAT_FILE): Define.
1996-04-05Always keep nm-arm.hStan Shebs1-2/+5
1996-04-05 * configure.in: Check for setpgid function.Fred Fish12-53/+147
* config.in: Regenerate with autoheader. * configure: Regenerate with autoconf. * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL if it is actually defined. (gdb_setpgid): Use HAVE_SETPGID. * ch-exp.c: Change include of <string.h> to "gdb_string.h". * c-exp.y: Ditto. * f-exp.y: Ditto. * m2-exp.y: Ditto. * c-exp.y: Include <ctype.h>. * serial.c: Ditto. * config/m68k/nm-news.h: Add typedef for pid_t which is apparently missing from <sys/types.h>. Enclose entire file in NM_NEWS_H ifndef and define when included. * config/mips/nm-news-mips.h: Ditto. * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
1996-04-05 * configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE.Fred Fish4-18/+177
(AC_CHECK_HEADERS): Check for sys/time.h (AC_HEADER_TIME): Add macro. * configure: Rebuild. * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H to control what combination of <time> and <sys/time.h> get included.
1996-04-05 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.Stan Shebs5-368/+793
* arm-tdep.c (arm_apcs_32): New global. (arm_addr_bits_remove, arm_saved_pc_after_call, arm_push_dummy_frame, arm_pop_frame): New functions. (arm_skip_prologue): Updated version from Richard Earnshaw. (_initialize_arm_tdep): Add set/show "apcs32". * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call arm_addr_bits_remove. (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call. (frame_find_saved_regs): Declare properly. (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame. (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of explicit mask. * config/arm/nm-arm.h: New file. * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS): Move definitions to nm-arm.h. * config/arm/arm.mh (NAT_FILE): Define. PR 8941
1996-04-05 * symfile.c (generic_load): Initialize data_count properly.Stan Shebs2-1/+5
1996-04-05 * symmisc.c (print_objfile_statistics): Print memory used byFred Fish1-0/+5
psymbol cache obstack.
1996-04-04 * symfile.c (report_transfer_performance): New function.Stan Shebs3-23/+59
(generic_load): Call it to report transfer rate. * remote-e7000.c (e7000_load): Ditto. PR 9353
1996-04-04fix long linesMichael Meissner1-3/+8
1996-04-04Doc fixes from AndrewMichael Meissner2-0/+820
1996-04-04Add dependencyMichael Meissner2-1/+6
1996-04-03 * config/tc-sparc.c (sparc_md_end): Set bfd machine number toDavid Edelsohn1-0/+5
bfd_mach_sparc_sparclet if current_architecture is sparclet.
1996-04-03 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.David Edelsohn3-72/+161
(current_arch_mask): New static global. (compute_arch_mask): New static function. (print_insn_sparc): Delete sparc_v9_p. New static local current_mach. Resort opcode table if current_mach changes. Generalize "insn not supported" test. (compare_opcodes): Prefer supported opcodes to nonsupported ones. Delete test for v9/!v9. * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK. (v6notlet): Define. (brfc): Split into CBR and FBR for coprocessor/fp branches. (brfcx): Renamed to FBRX. (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard coprocessor mnemonics are not supported on the sparclet). (condf): Renamed to CONDF. (SLCBCC2): Delete F_ALIAS flag.
1996-04-02 * aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET.David Edelsohn5-11/+55
(aout_32_sunos4_write_object_contents): Likewise. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_sparc_{sparclet,sparclite}. * archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define. (bfd_mach_sparc_v9_p): Update. * cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite. * libaout.h (enum machine_type): Add M_SPARCLET. * sunos.c (MACHTYPE_OK): Define. * bfd-in2.h: Regenerated.
1996-04-02 * elf-bfd.h (struct elf_link_hash_table): Add hgot field.Ian Lance Taylor4-83/+258
* elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field. * elflink.c (_bfd_elf_create_got_section): Store the _GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field. * elf32-sparc.c (elf32_sparc_check_relocs): If the size of the global offset table goes over 0x1000, set the value of _GLOBAL_OFFSET_TABLE_ to 0x1000 into the section. (elf32_sparc_relocate_section): Subtract the offset of _GLOBAL_OFFSET_TABLE_ when handling GOT relocations. PR 9323.
1996-04-02 * elfcode.h: Don't include <string.h>.Ian Lance Taylor1-0/+4
1996-04-02 * mpw-make.sed: Change references to config.h to be in objdir,Stan Shebs2-0/+9
edit out rules to rebuild config.h.
1996-04-01 * ldlang.c (lang_size_sections): Change region check to handleIan Lance Taylor2-4/+8
regions which end at the highest possible address correctly. From Roland Weber <roweber@ira.uka.de>.
1996-04-01 * aoutx.h (aout_link_input_section_std): When reporting anIan Lance Taylor2-5/+14
overflow error, use the name of the symbol in the hash table if available. (aout_link_input_section_ext): Likewise.
1996-04-01 * read.c (get_line_sb): Bump line counters based onIan Lance Taylor1-0/+9
input_line_pointer[-1], not *input_line_pointer. Don't bother to call LISTING_NEWLINE. (s_macro): Don't call demand_empty_rest_of_line. * app.c (do_scrub_chars): When handling C style comments, unget ch2 rather than ch.
1996-04-01 * linker.c (_bfd_generic_link_hash_newfunc): Renamed fromJeff Law4-12/+11
generic_link_hash_newfunc. All references changed. * genlink.h (_bfd_generic_link_hash_newfunc): Declaration moved here from libbfd-in.h. * libbfd-in.h: Corresponding changes. * libbfd.h: Regenerated. Minor changes suggested by Ian.
1996-04-01 * elflink.h (elf_adjust_dynamic_symbol): If a common symbol gotIan Lance Taylor2-0/+17
defined in a regular file, set ELF_LINK_HASH_DEF_REGULAR.